Home
last modified time | relevance | path

Searched refs:getTopNonFinishingActivity (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java77 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()
DTaskDisplayAreaTests.java230 ActivityRecord primarySplitActivity = primarySplitTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
235 ActivityRecord homeActivity = rootHomeTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
DActivityDisplayTests.java178 final ActivityRecord activity = stack.getTopNonFinishingActivity(); in testTopRunningActivity()
234 assertTrue(alwaysOnTopStack.getTopNonFinishingActivity().isAlwaysOnTop()); in testAlwaysOnTopStackLocation()
DRecentsAnimationTest.java155 ActivityRecord recentsActivity = recentsStack.getTopNonFinishingActivity(); in testPreloadRecentsActivity()
211 ActivityRecord targetActivity = homeStack.getTopNonFinishingActivity(); in testSetLaunchTaskBehindOfTargetActivity()
DActivityStackSupervisorTests.java118 final ActivityRecord unresizableActivity = stack.getTopNonFinishingActivity(); in testHandleNonResizableTaskOnSecondaryDisplay()
DDisplayContentTests.java809 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()
DTaskRecordTests.java257 ActivityRecord root = task.getTopNonFinishingActivity(); in testFullscreenBoundsForcedOrientation()
270 assertEquals(top, task.getTopNonFinishingActivity()); in testFullscreenBoundsForcedOrientation()
318 ActivityRecord root = task.getTopNonFinishingActivity(); in testIgnoresForcedOrientationWhenParentHandles()
DActivityStackTests.java319 assertEquals(r, task.getTopNonFinishingActivity(false /* includeOverlays */)); in testFindTaskWithOverlay()
320 assertEquals(taskOverlay, task.getTopNonFinishingActivity(true /* includeOverlays */)); in testFindTaskWithOverlay()
1184 stack2.getTopNonFinishingActivity().mVisibleRequested = true; in testFinishCurrentActivity()
DRecentTasksTest.java477 assertNotNull(task1.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish()
479 assertNull(task3.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish()
481 assertNotNull(task2.getTopNonFinishingActivity()); in testAddTasksHomeClearUntrackedTasks_expectFinish()
DActivityStarterTests.java829 task.getTopNonFinishingActivity(), START_DELIVERED_TO_TOP, task.getStack()); in testWasVisibleInRestartAttempt()
838 task2.getTopNonFinishingActivity(), START_TASK_TO_FRONT, task.getStack()); in testWasVisibleInRestartAttempt()
DSizeCompatTests.java75 mActivity = mTask.getTopNonFinishingActivity(); in setUpApp()
DActivityRecordTests.java128 mActivity = mTask.getTopNonFinishingActivity(); in setUp()
969 final ActivityRecord nextTop = nextStack.getTopNonFinishingActivity(); in testCompleteFinishing_keepStateOfNextInvisible()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java92 if (task.getTopNonFinishingActivity() == null) { in processTask()
DRecentsAnimation.java431 || controller.isTargetApp(stack.getTopNonFinishingActivity())) in onStackOrderChanged()
493 return task != null ? task.getTopNonFinishingActivity() : null; in getTargetActivity()
DActivityStarter.java1486 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()
DTask.java803 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();
DActivityStackSupervisor.java1378 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()
DRootWindowContainer.java358 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()
DActivityStack.java707 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()
DLockTaskController.java243 && activity == task.getTopNonFinishingActivity() in activityBlockedFromFinish()
DRecentTasks.java729 if (task.autoRemoveRecents && task.getTopNonFinishingActivity() == null) { in cleanupLocked()
942 if (task.autoRemoveRecents && task.getTopNonFinishingActivity() == null) { in getRecentTasksImpl()
DAppTransitionController.java273 return wc.asTask() != null ? wc.asTask().getTopNonFinishingActivity() in getAppFromContainer()
DActivityTaskManagerService.java2553 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()
DWindowProcessController.java638 ActivityRecord topActivity = task.getTopNonFinishingActivity(); in hasActivityInVisibleTask()
DTaskDisplayArea.java577 final ActivityRecord topHomeActivity = topHomeTask.getTopNonFinishingActivity(); in getOrientation()

12