/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 77 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testActivityFinish() 91 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested() 110 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested_cannotEnterPip() 124 final ActivityRecord activity = stack.getBottomMostTask().getTopNonFinishingActivity(); in testOnPictureInPictureRequested_alreadyInPIPMode()
|
D | TaskDisplayAreaTests.java | 230 ActivityRecord primarySplitActivity = primarySplitTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange() 235 ActivityRecord homeActivity = rootHomeTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
|
D | ActivityDisplayTests.java | 178 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testTopRunningActivity() 234 assertTrue(alwaysOnTopStack.getTopNonFinishingActivity().isAlwaysOnTop()); in testAlwaysOnTopStackLocation()
|
D | RecentsAnimationTest.java | 155 ActivityRecord recentsActivity = recentsStack.getTopNonFinishingActivity(); in testPreloadRecentsActivity() 211 ActivityRecord targetActivity = homeStack.getTopNonFinishingActivity(); in testSetLaunchTaskBehindOfTargetActivity()
|
D | ActivityStackSupervisorTests.java | 118 final ActivityRecord unresizableActivity = stack.getTopNonFinishingActivity(); in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | DisplayContentTests.java | 809 freeformStack.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testAllowsTopmostFullscreenOrientation() 810 stack.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testAllowsTopmostFullscreenOrientation() 813 stack.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testAllowsTopmostFullscreenOrientation() 814 freeformStack.getTopNonFinishingActivity().setOrientation(SCREEN_ORIENTATION_PORTRAIT); in testAllowsTopmostFullscreenOrientation() 828 final ActivityRecord activity = stack.getTopMostTask().getTopNonFinishingActivity(); in testOnDescendantOrientationRequestChanged() 848 final ActivityRecord activity = stack.getTopMostTask().getTopNonFinishingActivity(); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
|
D | TaskRecordTests.java | 257 ActivityRecord root = task.getTopNonFinishingActivity(); in testFullscreenBoundsForcedOrientation() 270 assertEquals(top, task.getTopNonFinishingActivity()); in testFullscreenBoundsForcedOrientation() 318 ActivityRecord root = task.getTopNonFinishingActivity(); in testIgnoresForcedOrientationWhenParentHandles()
|
D | ActivityStackTests.java | 319 assertEquals(r, task.getTopNonFinishingActivity(false /* includeOverlays */)); in testFindTaskWithOverlay() 320 assertEquals(taskOverlay, task.getTopNonFinishingActivity(true /* includeOverlays */)); in testFindTaskWithOverlay() 1184 stack2.getTopNonFinishingActivity().mVisibleRequested = true; in testFinishCurrentActivity()
|
D | RecentTasksTest.java | 477 assertNotNull(task1.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish() 479 assertNull(task3.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish() 481 assertNotNull(task2.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish()
|
D | ActivityStarterTests.java | 829 task.getTopNonFinishingActivity(), START_DELIVERED_TO_TOP, task.getStack()); in testWasVisibleInRestartAttempt() 838 task2.getTopNonFinishingActivity(), START_TASK_TO_FRONT, task.getStack()); in testWasVisibleInRestartAttempt()
|
D | SizeCompatTests.java | 75 mActivity = mTask.getTopNonFinishingActivity(); in setUpApp()
|
D | ActivityRecordTests.java | 128 mActivity = mTask.getTopNonFinishingActivity(); in setUp() 969 final ActivityRecord nextTop = nextStack.getTopNonFinishingActivity(); in testCompleteFinishing_keepStateOfNextInvisible()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RunningTasks.java | 92 if (task.getTopNonFinishingActivity() == null) { in processTask()
|
D | RecentsAnimation.java | 431 || controller.isTargetApp(stack.getTopNonFinishingActivity())) in onStackOrderChanged() 493 return task != null ? task.getTopNonFinishingActivity() : null; in getTargetActivity()
|
D | ActivityStarter.java | 1486 targetTask.getTopNonFinishingActivity().isVisible()); in postStartActivityProcessing() 1624 ? null : targetTask.getTopNonFinishingActivity(); in startActivityInner() 1700 mTargetStack.startActivityLocked(mStartActivity, topStack.getTopNonFinishingActivity(), in startActivityInner() 1757 final ActivityRecord top = stack.getTopNonFinishingActivity(); in computeTargetTask() 1910 reusedTask != null ? reusedTask.getTopNonFinishingActivity() : null, intentGrants); in recycleTask() 1944 targetTaskTop.finishing ? targetTask.getTopNonFinishingActivity() : targetTaskTop; in recycleTask() 1996 ActivityRecord targetTaskTop = targetTask.getTopNonFinishingActivity(); in complyActivityFlags() 2231 ? task.getTopNonFinishingActivity() : null; in setInitialState() 2498 if (mSourceRecord == null || (mSourceStack.getTopNonFinishingActivity() != null && in setTargetStackIfNeeded() 2499 mSourceStack.getTopNonFinishingActivity().getTask() in setTargetStackIfNeeded()
|
D | Task.java | 803 final ActivityRecord topActivity = getTopNonFinishingActivity(); in reparent() 1141 final ActivityRecord top = newParentTask.getTopNonFinishingActivity( in onParentChanged() 1298 ActivityRecord getTopNonFinishingActivity() { in getTopNonFinishingActivity() method in Task 1299 return getTopNonFinishingActivity(true /* includeOverlays */); in getTopNonFinishingActivity() 1302 ActivityRecord getTopNonFinishingActivity(boolean includeOverlays) { in getTopNonFinishingActivity() method in Task 2479 refActivity = getTopNonFinishingActivity(false /* includeOverlays */); in computeFullscreenBounds() 3105 final ActivityRecord r = getTopNonFinishingActivity(); in showForAllUsers() 3571 info.isRunning = getTopNonFinishingActivity() != null; 4522 ActivityRecord topActivity = getTopNonFinishingActivity();
|
D | ActivityStackSupervisor.java | 1378 final ActivityRecord r = task.getTopNonFinishingActivity(); in findTaskToMoveToFront() 1794 final ActivityRecord top = stack.getTopNonFinishingActivity(); in handleLaunchTaskBehindCompleteLocked() 2201 final ActivityRecord topActivity = task.getTopNonFinishingActivity(); in handleForcedResizableTaskIfNeeded() 2500 final ActivityRecord targetActivity = task.getTopNonFinishingActivity(); in startActivityFromRecents() 2518 task.getTopNonFinishingActivity(), ActivityManager.START_TASK_TO_FRONT, in startActivityFromRecents()
|
D | RootWindowContainer.java | 358 final ActivityRecord r = task.getTopNonFinishingActivity(false /* includeOverlays */); in apply() 1839 final ActivityRecord top = stack.getTopNonFinishingActivity(); in getTopVisibleActivities() 2475 : task.getTopNonFinishingActivity() != null in processTaskForStackInfo() 2476 ? task.getTopNonFinishingActivity().packageName : "unknown"; in processTaskForStackInfo() 3390 final ActivityRecord activityRecord = task.getTopNonFinishingActivity(); in taskTopActivityIsUser()
|
D | ActivityStack.java | 707 final ActivityRecord topActivity = getTopNonFinishingActivity(); in setWindowingModeInSurfaceTransaction() 2177 final ActivityRecord newTop = task.getTopNonFinishingActivity(); in resetTaskIfNeeded() 2470 ? topStack.getTopNonFinishingActivity() : null; in moveTaskToFront() 2510 final ActivityRecord top = tr.getTopNonFinishingActivity(); in moveTaskToFront()
|
D | LockTaskController.java | 243 && activity == task.getTopNonFinishingActivity() in activityBlockedFromFinish()
|
D | RecentTasks.java | 729 if (task.autoRemoveRecents && task.getTopNonFinishingActivity() == null) { in cleanupLocked() 942 if (task.autoRemoveRecents && task.getTopNonFinishingActivity() == null) { in getRecentTasksImpl()
|
D | AppTransitionController.java | 273 return wc.asTask() != null ? wc.asTask().getTopNonFinishingActivity() in getAppFromContainer()
|
D | ActivityTaskManagerService.java | 2553 final ActivityRecord topActivity = task.getTopNonFinishingActivity(); in moveTaskToFrontLocked() 3157 return r != null && r.getTask().getTopNonFinishingActivity() == r; in isTopOfTask() 3688 ActivityRecord activity = stack != null ? stack.getTopNonFinishingActivity() : null; in enqueueAssistContext() 3821 final ActivityRecord activity = focusedStack.getTopNonFinishingActivity(); in isAssistDataAllowedOnCurrentActivity() 3836 ActivityRecord top = getTopDisplayFocusedStack().getTopNonFinishingActivity(); in showAssistFromActivity() 4354 ActivityRecord activity = getTopDisplayFocusedStack().getTopNonFinishingActivity(); in startLocalVoiceInteraction() 6642 final ActivityRecord activity = task.getTopNonFinishingActivity(); in getTopActivityForTask()
|
D | WindowProcessController.java | 638 ActivityRecord topActivity = task.getTopNonFinishingActivity(); in hasActivityInVisibleTask()
|
D | TaskDisplayArea.java | 577 final ActivityRecord topHomeActivity = topHomeTask.getTopNonFinishingActivity(); in getOrientation()
|