Home
last modified time | relevance | path

Searched refs:getTopMostActivity (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentTest.java264 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testActivityStillReported_NotYetAssignedToProcess()
326 final ActivityRecord primaryActivity = primaryTf.getTopMostActivity(); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment()
327 final ActivityRecord secondaryActivity = secondaryTf.getTopMostActivity(); in testMoveTaskToFront_supportsEnterPipOnTaskSwitchForAdjacentTaskFragment()
353 final ActivityRecord activity = taskFragment0.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig()
395 final ActivityRecord activity0 = taskFragment0.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer()
396 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer()
436 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testEmbeddedActivityExitPip_notifyOrganizer()
501 final ActivityRecord activity1 = organizedTf.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded()
532 final ActivityRecord activity2 = leafTask1.getTopMostActivity(); in testActivityHasOverlayOverUntrustedModeEmbedded()
546 final ActivityRecord activity1 = taskFragment.getTopMostActivity(); in testIsAllowedToBeEmbeddedInTrustedMode()
[all …]
DBackNavigationControllerTests.java163 final ActivityRecord topActivity = topTask.getTopMostActivity(); in backTypeCrossTaskWhenBackToPreviousTask()
297 ActivityRecord prevAr = tf1.getTopMostActivity(); in backTypeCrossActivityInTaskFragment()
298 ActivityRecord topAr = tf2.getTopMostActivity(); in backTypeCrossActivityInTaskFragment()
363 topAr = tf3.getTopMostActivity(); in backTypeCrossActivityInTaskFragment()
397 topAr = tf4.getTopMostActivity(); in backTypeCrossActivityInTaskFragment()
400 assertTrue(outPrevActivities.contains(tf2.getTopMostActivity())); in backTypeCrossActivityInTaskFragment()
407 topAr = tf4.getTopMostActivity(); in backTypeCrossActivityInTaskFragment()
410 assertTrue(outPrevActivities.contains(tf3.getTopMostActivity())); in backTypeCrossActivityInTaskFragment()
625 final ActivityRecord baseFullscreenActivity = fullscreenTask.getTopMostActivity(); in testTransitionHappensCancelNavigation()
678 final ActivityRecord primaryActivity = primaryTf.getTopMostActivity(); in testAdjacentFocusInActivityEmbedding()
[all …]
DAppTransitionControllerTest.java586 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingClosingTaskFragment()
591 final ActivityRecord activity2 = taskFragment2.getTopMostActivity(); in testGetAnimationTargets_openingClosingTaskFragment()
615 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingTheOnlyTaskFragmentInTask()
644 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_closingTheOnlyTaskFragmentInTask()
852 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithEmbeddedActivity()
877 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_noOverrideWithOnlyTaskFragmentFillingTask()
912 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithTaskFragmentNotFillingTask()
942 final ActivityRecord openingActivity = taskFragment.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideWithNonEmbeddedActivity()
964 final ActivityRecord closingActivity = taskFragment1.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid()
969 final ActivityRecord openingActivity = taskFragment2.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid()
[all …]
DTaskTests.java1518 final ActivityRecord activity = task.getTopMostActivity(); in testNotSpecifyOrientationByFloatingTask()
1574 final ActivityRecord activity = task.getTopMostActivity(); in testTaskOrientationOnDisplayWindowingModeChange()
1638 final ActivityRecord activity = task.getTopMostActivity(); in testReorderActivityToFront()
1641 final ActivityRecord embeddedActivity = fragment.getTopMostActivity(); in testReorderActivityToFront()
1644 assertEquals("Activity must be moved to front", activity, task.getTopMostActivity()); in testReorderActivityToFront()
1649 task.getTopMostActivity()); in testReorderActivityToFront()
1710 final ActivityRecord activity = task.getTopMostActivity(); in testMoveOrCreateDecorSurface()
1743 final ActivityRecord activity = task.getTopMostActivity(); in testMoveOrCreateDecorSurface_whenOwnerTaskFragmentRemoved()
1773 final ActivityRecord unembeddedActivity = task.getTopMostActivity(); in testAssignChildLayers_decorSurfacePlacement()
1889 final ActivityRecord unembeddedActivity = task.getTopMostActivity(); in testAssignChildLayers_boostedDecorSurfacePlacement()
[all …]
DTransitionTests.java399 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_ordering()
401 tasks[i].getTopMostActivity().setVisibleRequested((i % 2) != 0); in testCreateInfo_ordering()
447 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_wallpaper()
449 tasks[i].getTopMostActivity().setVisibleRequested((i % 2) != 0); in testCreateInfo_wallpaper()
893 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testOpenOpaqueTaskFragment()
895 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testOpenOpaqueTaskFragment()
935 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testOpenTranslucentTaskFragment()
937 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testOpenTranslucentTaskFragment()
977 final ActivityRecord opening = openingTaskFragment.getTopMostActivity(); in testCloseOpaqueTaskFragment_withFinishingActivity()
979 final ActivityRecord closing = closingTaskFragment.getTopMostActivity(); in testCloseOpaqueTaskFragment_withFinishingActivity()
[all …]
DActivityRefresherTests.java211 .getTopMostActivity(); in configureActivityAndDisplay()
DRootWindowContainerTests.java251 final ActivityRecord activity = task.getTopMostActivity(); in testForceStopPackage()
361 assertEquals(task.getTopMostActivity(), secondActivity); in testMovingBottomMostRootTaskActivityToPinnedRootTask()
447 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testSingleActivityInTaskFragmentEnterPip()
472 final ActivityRecord firstActivity = taskFragment.getTopMostActivity(); in testMultipleActivitiesInTaskFragmentEnterPip()
505 final ActivityRecord topActivity = taskFragment.getTopMostActivity(); in testMovingEmbeddedActivityToPip()
DAppTransitionTests.java268 final ActivityRecord bottomActivity = bottomTaskFragment.getTopMostActivity(); in createHierarchyForTaskFragmentTest()
273 final ActivityRecord activity = verifiedTaskFragment.getTopMostActivity(); in createHierarchyForTaskFragmentTest()
DTaskFragmentOrganizerControllerTest.java1134 final ActivityRecord activity0 = tf0.getTopMostActivity(); in testApplyTransaction_requestFocusOnTaskFragment()
1135 final ActivityRecord activity1 = tf1.getTopMostActivity(); in testApplyTransaction_requestFocusOnTaskFragment()
1254 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testTaskFragmentInPip_startActivityInTaskFragment()
1342 mTaskFragment.removeChild(mTaskFragment.getTopMostActivity()); in testTaskFragmentInPip_deleteTaskFragment()
1452 final ActivityRecord activity = taskFragment.getTopMostActivity(); in testCanSendPendingTaskFragmentEventsAfterActivityResumed()
1631 final ActivityRecord activity = mTaskFragment.getTopMostActivity(); in testMinDimensionViolation_setRelativeBounds()
DActivityStarterTests.java543 .getTopMostActivity(); in createActivitiesInSplit()
548 .getTopMostActivity(); in createActivitiesInSplit()
625 .getTopMostActivity()); in createActivitiesInDesktopMode()
642 .setCreateActivity(true).build().getTopMostActivity(); in testMoveVisibleTaskToFront()
644 .setCreateActivity(true).build().getTopMostActivity(); in testMoveVisibleTaskToFront()
DActivityTaskSupervisorTests.java331 .setCreateActivity(true).build().getTopMostActivity(); in testUpdatePendingTopForTopResumed()
DWindowContainerTests.java1040 .setDisplay(displayContent).build().getTopMostActivity(); in testHandleCompleteDeferredRemoval()
1049 assertEquals(r, displayContent.getTopMostActivity()); in testHandleCompleteDeferredRemoval()
1144 assertEquals(act, wc.getTopMostActivity()); in verifyWindowContainerApplyAnimation()
DActivityRecordTests.java1298 final ActivityRecord resultToActivity = taskFragment1.getTopMostActivity(); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed()
1299 final ActivityRecord targetActivity = taskFragment2.getTopMostActivity(); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed()
1539 final ActivityRecord focusedActivity = stack.getTopMostActivity(); in testCompleteFinishing_noWaitForNextVisible_nonFocusedStack()
3353 .setCreateActivity(true).build().getTopMostActivity(); in testImeInsetsFrozenFlag_multiWindowActivities()
DWindowStateTests.java871 final ActivityRecord embeddedActivity = embeddedTf.getTopMostActivity(); in testEmbeddedActivityResizing_clearAllDrawn()
DWindowTestsBase.java1956 .getTopMostActivity()); in createFreeformTasksWithActivities()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java44 final ActivityRecord top = task.getTopMostActivity(); in putSnapshot()
DActivitySnapshotController.java418 final ActivityRecord ar = tf.getTopMostActivity(); in handleTransitionFinish()
452 final ActivityRecord topActivity = task.getTopMostActivity(); in handleTaskTransition()
537 final ActivityRecord prevAdjacentActivity = prevAdjacentTF.getTopMostActivity(); in getActivityBelow()
DSnapshotController.java101 final ActivityRecord ar = tf != null ? tf.getTopMostActivity() in onTransactionReady()
DTaskSnapshotController.java260 return source.getTopMostActivity(); in getTopActivity()
DBackgroundActivityStartController.java1081 bas.optedIn(task.getTopMostActivity()); in checkActivityAllowedToStart()
1208 ActivityRecord targetTaskTop = targetTask.getTopMostActivity(); in clearTopIfNeeded()
1368 ActivityRecord topActivity = task.getTopMostActivity(); in checkTopActivityForAsm()
1742 && finishActivity != finishActivity.getTask().getTopMostActivity()) { in onActivityRequestedFinishing()
DTaskDisplayArea.java450 final ActivityRecord topMost = getTopMostActivity();
769 final ActivityRecord activity = getTopMostActivity();
DTaskFragment.java2117 boolean taskHadActivity = task != null && task.getTopMostActivity() != null; in addChild()
2154 : getTopMostActivity(); in createRemoteAnimationTarget()
2558 final ActivityRecord activity = getTopMostActivity(); in getActivityType()
DTask.java1471 final ActivityRecord top = getTopMostActivity(); in addChild()
3575 return getPictureInPictureParams(topTask.getTopMostActivity());
5947 final ActivityRecord topActivity = getTopMostActivity();
5989 final ActivityRecord topActivity = getTopMostActivity();
DActivityClientController.java1201 if (requesterActivity != topFocusedRootTask.getTopMostActivity()) { in validateMultiwindowFullscreenRequestLocked()
DRootWindowContainer.java2225 final ActivityRecord oldTopActivity = task.getTopMostActivity(); in moveActivityToPinnedRootTask()
2336 final ActivityRecord top = rootTask.getTopMostActivity(); in scheduleTimeoutAbortPipEnter()

12