/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | TaskContainerTest.java | 169 assertNull(taskContainer.getTopNonFinishingActivity(true /* includeOverlay */)); in testGetTopNonFinishingActivity() 174 doReturn(activity0).when(tf0).getTopNonFinishingActivity(); in testGetTopNonFinishingActivity() 175 assertEquals(activity0, taskContainer.getTopNonFinishingActivity( in testGetTopNonFinishingActivity() 180 assertEquals(activity0, taskContainer.getTopNonFinishingActivity( in testGetTopNonFinishingActivity() 184 doReturn(activity1).when(tf1).getTopNonFinishingActivity(); in testGetTopNonFinishingActivity() 185 assertEquals(activity1, taskContainer.getTopNonFinishingActivity( in testGetTopNonFinishingActivity()
|
D | DividerPresenterTest.java | 632 when(container.getTopNonFinishingActivity()).thenReturn(null); in testGetContainerBackgroundColor() 637 when(container.getTopNonFinishingActivity()).thenReturn(activity); in testGetContainerBackgroundColor()
|
D | OverlayPresentationTest.java | 501 assertThat(task.getTopNonFinishingActivity(true /* includeOverlay */)) in testGetTopNonFinishingActivityWithOverlay() 502 .isEqualTo(overlayContainer.getTopNonFinishingActivity()); in testGetTopNonFinishingActivityWithOverlay() 503 assertThat(task.getTopNonFinishingActivity(false /* includeOverlay */)).isEqualTo(activity); in testGetTopNonFinishingActivityWithOverlay()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | SplitPinContainer.java | 34 super(primaryContainer, primaryContainer.getTopNonFinishingActivity(), secondaryContainer, in SplitPinContainer()
|
D | SplitController.java | 315 getActivitiesMinDimensionsPair(primaryContainer.getTopNonFinishingActivity(), in pinTopActivityStack() 316 topContainer.getTopNonFinishingActivity())); in pinTopActivityStack() 1258 final Activity otherTopActivity = otherTopContainer.getTopNonFinishingActivity(); in resolveActivityToContainerByRule() 1366 final Activity secondaryActivity = secondaryContainer.getTopNonFinishingActivity(); in isNewActivityInSplitWithRuleMatched() 1385 .getTopNonFinishingActivity(); in isNewActivityInSplitWithRuleMatched() 1588 || taskContainer.getTopNonFinishingActivity(false /* includeOverlay */) == null) { in resolveStartActivityIntentFromNonActivityContext() 1683 final Activity topActivity = topContainer.getTopNonFinishingActivity(); in resolveStartActivityIntentByRule() 1702 final Activity otherTopActivity = otherTopContainer.getTopNonFinishingActivity(); in resolveStartActivityIntentByRule() 1745 ? taskContainer.getTopNonFinishingActivity(true /* includeOverlay */) in createEmptyContainer() 1883 if (container.getTopNonFinishingActivity() != null) { in cleanupForEnterPip() [all …]
|
D | TaskContainer.java | 310 Activity getTopNonFinishingActivity(boolean includeOverlay) { in getTopNonFinishingActivity() method in TaskContainer 316 final Activity activity = container.getTopNonFinishingActivity(); in getTopNonFinishingActivity()
|
D | TaskFragmentContainer.java | 584 Activity getTopNonFinishingActivity() { in getTopNonFinishingActivity() method in TaskFragmentContainer 1072 + " topNonFinishingActivity=" + getTopNonFinishingActivity() in toString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BackNavigationController.java | 293 final ActivityRecord ar = t.getTopNonFinishingActivity(); in startBackNavigation() 299 ? prevTask.getTopNonFinishingActivity() : null; in startBackNavigation() 310 final ActivityRecord ar = prevTask.getTopNonFinishingActivity(); in startBackNavigation() 455 final ActivityRecord lowerActivity = lowerTF.getTopNonFinishingActivity(); in getAnimatablePrevActivities() 509 prevTFAdjacent.getTopNonFinishingActivity(); in addPreviousAdjacentActivityIfExist() 522 final ActivityRecord topActivity = adjacentTF.getTopNonFinishingActivity(); in findAdjacentActivityIfExist() 1333 : openTask.getTopNonFinishingActivity(); in createStartingSurface() 1484 r = mTarget.asTaskFragment().getTopNonFinishingActivity(); in createRemoteAnimationTarget() 1487 r = t != null ? t.getTopNonFinishingActivity() in createRemoteAnimationTarget() 1708 final ActivityRecord tmpPreActivity = task.getTopNonFinishingActivity();
|
D | RunningTasks.java | 137 if (task.getTopNonFinishingActivity() == null) {
|
D | EnsureActivitiesVisibleHelper.java | 96 && childTaskFragment.getTopNonFinishingActivity() != null) { in process()
|
D | RecentsAnimation.java | 470 || controller.isTargetApp(rootTask.getTopNonFinishingActivity())) in onRootTaskOrderChanged() 527 return task != null ? task.getTopNonFinishingActivity() : null; in getTargetActivity()
|
D | ActivityStarter.java | 1477 final ActivityRecord top = targetTask.getTopNonFinishingActivity(); in postStartActivityProcessing() 1789 ? null : targetTask.getTopNonFinishingActivity(); in startActivityInner() 1960 + mTargetRootTask.getTopNonFinishingActivity() in logPIOnlyCreatorAllowsBAL() 1991 final ActivityRecord top = rootTask.getTopNonFinishingActivity(); in computeTargetTask() 2182 reusedTask != null ? reusedTask.getTopNonFinishingActivity() : null, intentGrants); in recycleTask() 2195 ? targetTask.getTopNonFinishingActivity() in recycleTask() 2274 ActivityRecord targetTaskTop = targetTask.getTopNonFinishingActivity(); in complyActivityFlags() 2545 ? task.getTopNonFinishingActivity() : null; in setInitialState()
|
D | RootWindowContainer.java | 371 final ActivityRecord r = task.getTopNonFinishingActivity( in test() 1797 final ActivityRecord top = rootTask.getTopNonFinishingActivity(); in getTopVisibleActivities() 1805 adjacentTask.getTopNonFinishingActivity(); in getTopVisibleActivities() 2126 if (tf.getTopNonFinishingActivity() != null) { in moveActivityToPinnedRootTask() 2188 && organizedTf.getTopNonFinishingActivity() == r) { in moveActivityToPinnedRootTask() 2716 : t.getTopNonFinishingActivity() != null in getRootTaskInfo() 2717 ? t.getTopNonFinishingActivity().packageName : "unknown"; in getRootTaskInfo()
|
D | ActivityTaskSupervisor.java | 1560 final ActivityRecord r = task.getTopNonFinishingActivity(); in findTaskToMoveToFront() 2093 final ActivityRecord top = rootTask.getTopNonFinishingActivity(); in handleLaunchTaskBehindCompleteLocked() 2481 final ActivityRecord topActivity = task.getTopNonFinishingActivity(); in handleForcedResizableTaskIfNeeded() 2801 final ActivityRecord targetActivity = task.getTopNonFinishingActivity(); in startActivityFromRecents() 2831 task.getTopNonFinishingActivity(), ActivityManager.START_TASK_TO_FRONT, in startActivityFromRecents()
|
D | ActivityClientController.java | 609 return r != null && r.getTask().getTopNonFinishingActivity() == r; in isTopOfTask() 1356 ? topRootTask.getTopNonFinishingActivity() : null; in showAssistFromActivity() 1391 ? topRootTask.getTopNonFinishingActivity() : null; in startLocalVoiceInteraction()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 111 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testActivityFinish() 125 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested() 145 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested_cannotEnterPip() 158 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested_alreadyInPIPMode() 322 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testEnterPipModeWhenResumed_autoEnterEnabled_returnTrue() 338 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testEnterPipModeWhenResumed_autoEnterDisabled_returnTrue() 354 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testEnterPipModeWhenPausing_autoEnterEnabled_returnFalse() 370 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testEnterPipModeWhenPausing_autoEnterDisabled_returnTrue()
|
D | DisplayAreaGroupTest.java | 89 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testGetRequestedOrientationForDisplay()
|
D | DisplayAreaTest.java | 475 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testSetIgnoreOrientationRequest_notCallSuperOnDescendantOrientationChanged() 496 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testSetIgnoreOrientationRequest_callSuperOnDescendantOrientationChangedNoSensor() 517 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testSetIgnoreOrientationRequest_callSuperOnDescendantOrientationChangedLocked() 538 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testGetOrientationRequestingTaskDisplayArea_updateOrientationTaskDisplayArea()
|
D | RecentsAnimationTest.java | 165 ActivityRecord recentsActivity = recentsStack.getTopNonFinishingActivity(); in testPreloadRecentsActivity() 216 ActivityRecord targetActivity = homeStack.getTopNonFinishingActivity(); in testSetLaunchTaskBehindOfTargetActivity()
|
D | RunningTasksTest.java | 137 display.mFocusedApp = focusedTask.getTopNonFinishingActivity(); in testGetTasksSortByFocusAndVisibility()
|
D | DisplayContentTests.java | 1051 freeformRootTask.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testAllowsTopmostFullscreenOrientation() 1052 rootTask.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testAllowsTopmostFullscreenOrientation() 1055 rootTask.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testAllowsTopmostFullscreenOrientation() 1056 freeformRootTask.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testAllowsTopmostFullscreenOrientation() 1115 final ActivityRecord activity = task.getTopMostTask().getTopNonFinishingActivity(); in testOnDescendantOrientationRequestChanged() 1135 final ActivityRecord activity = task.getTopMostTask().getTopNonFinishingActivity(); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() 1177 final ActivityRecord activity = task.getTopMostTask().getTopNonFinishingActivity(); in testFixedToUserRotationChanged() 2652 final ActivityRecord activity = rootTask.getTopNonFinishingActivity(); in testTopRunningActivity()
|
D | TaskTests.java | 613 final ActivityRecord root = task.getTopNonFinishingActivity(); in testTopActivityEligibleForUserAspectRatioButton() 655 final ActivityRecord root = task.getTopNonFinishingActivity(); in testIsTopActivityTranslucent() 686 final ActivityRecord root = task.getTopNonFinishingActivity(); in testFullscreenBoundsForcedOrientation() 701 assertEquals(top, task.getTopNonFinishingActivity()); in testFullscreenBoundsForcedOrientation() 757 ActivityRecord root = task.getTopNonFinishingActivity(); in testReportsOrientationRequestInLetterboxForOrientation() 782 ActivityRecord root = task.getTopNonFinishingActivity(); in testIgnoresForcedOrientationWhenParentHandles()
|
D | DualDisplayAreaGroupPolicyTest.java | 123 mFirstActivity = mFirstTask.getTopNonFinishingActivity(); in setupDisplay() 124 mSecondActivity = mSecondTask.getTopNonFinishingActivity(); in setupDisplay()
|
D | ActivityRecordTests.java | 1365 final ActivityRecord nextTop = nextStack.getTopNonFinishingActivity(); in testCompleteFinishing_keepStateOfNextInvisible() 2442 return task.getTopNonFinishingActivity(); in createActivityWith2LevelTask() 2512 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testLandscapeSeascapeRotationByApp() 2545 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testLandscapeSeascapeRotationByPolicy() 2706 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testReportOrientationChange() 3015 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testTransitionAnimationBounds() 3052 final ActivityRecord activity = taskFragment.getTopNonFinishingActivity(); in testTransitionAnimationBounds_returnTaskFragment() 3348 final ActivityRecord activity1 = task.getTopNonFinishingActivity(); in testImeInsetsFrozenFlag_multiWindowActivities() 3737 final ActivityRecord activity = task.getTopNonFinishingActivity(); in testPauseConfigDispatch()
|
D | TaskDisplayAreaTests.java | 394 ActivityRecord primarySplitActivity = primarySplitTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 399 ActivityRecord homeActivity = rootHomeTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
|