Searched refs:topRootTask (Results 1 – 7 of 7) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | RecentsAnimation.java | 352 final Task topRootTask = getTopNonAlwaysOnTopRootTask(); in finishAnimation() 353 if (topRootTask != targetRootTask) { in finishAnimation() 357 targetRootTask, topRootTask); in finishAnimation()
|
H A D | ActivityClientController.java | 1246 final Task topRootTask = mService.getTopDisplayFocusedRootTask(); in showAssistFromActivity() local 1247 final ActivityRecord top = topRootTask != null in showAssistFromActivity() 1248 ? topRootTask.getTopNonFinishingActivity() : null; in showAssistFromActivity() 1281 final Task topRootTask = mService.getTopDisplayFocusedRootTask(); in startLocalVoiceInteraction() local 1282 final ActivityRecord activity = topRootTask != null in startLocalVoiceInteraction() 1283 ? topRootTask.getTopNonFinishingActivity() : null; in startLocalVoiceInteraction()
|
H A D | TaskFragment.java | 1807 final Task topRootTask = mRootWindowContainer.getTopDisplayFocusedRootTask(); in completePause() local 1808 if (topRootTask != null && !topRootTask.shouldSleepOrShutDownActivities()) { in completePause() 1809 mRootWindowContainer.resumeFocusedTasksTopActivities(topRootTask, prev, in completePause() 1814 topRootTask != null ? topRootTask.topRunningActivity() : null; in completePause()
|
H A D | ActivityStarter.java | 1723 final Task topRootTask = mPreferredTaskDisplayArea.getFocusedRootTask(); in startActivityInner() local 1724 if (topRootTask != null) { in startActivityInner() 1725 startResult = deliverToCurrentTopIfNeeded(topRootTask, intentGrants); in startActivityInner() 1789 mTargetRootTask.startActivityLocked(mStartActivity, topRootTask, newTask, isTaskSwitch, in startActivityInner() 2362 private int deliverToCurrentTopIfNeeded(Task topRootTask, NeededUriGrants intentGrants) { in deliverToCurrentTopIfNeeded() argument 2363 final ActivityRecord top = topRootTask.topRunningNonDelayedActivityLocked(mNotTop); in deliverToCurrentTopIfNeeded() 2402 mLaunchParams.mWindowingMode, mPreferredTaskDisplayArea, topRootTask); in deliverToCurrentTopIfNeeded() local
|
H A D | ActivityTaskSupervisor.java | 2374 final Task topRootTask = mRootWindowContainer.getTopDisplayFocusedRootTask(); in updateTopResumedActivityIfNeeded() local 2375 if (topRootTask == null || topRootTask.getTopResumedActivity() == prevTopActivity) { in updateTopResumedActivityIfNeeded() 2376 if (topRootTask == null) { in updateTopResumedActivityIfNeeded() 2392 mTopResumedActivity = topRootTask.getTopResumedActivity(); in updateTopResumedActivityIfNeeded()
|
H A D | Task.java | 5743 Task topRootTask = topActivity.getRootTask(); 5744 if (topRootTask != null && topRootTask != this && topActivity.isState(RESUMED)) {
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ActivityTaskManagerServiceTests.java | 407 final Task topRootTask = topActivity.getRootTask(); in testUpdateSleep() local 409 doReturn(true).when(topRootTask).goToSleepIfPossible(anyBoolean()); in testUpdateSleep() 416 topRootTask.moveToBack("test", null /* self */); in testUpdateSleep()
|