Home
last modified time | relevance | path

Searched refs:topRootTask (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimation.java350 final Task topRootTask = getTopNonAlwaysOnTopRootTask(); in finishAnimation() local
351 if (topRootTask != targetRootTask) { in finishAnimation()
355 targetRootTask, topRootTask); in finishAnimation()
DActivityClientController.java1354 final Task topRootTask = mService.getTopDisplayFocusedRootTask(); in showAssistFromActivity() local
1355 final ActivityRecord top = topRootTask != null in showAssistFromActivity()
1356 ? topRootTask.getTopNonFinishingActivity() : null; in showAssistFromActivity()
1389 final Task topRootTask = mService.getTopDisplayFocusedRootTask(); in startLocalVoiceInteraction() local
1390 final ActivityRecord activity = topRootTask != null in startLocalVoiceInteraction()
1391 ? topRootTask.getTopNonFinishingActivity() : null; in startLocalVoiceInteraction()
DTaskFragment.java1965 final Task topRootTask = mRootWindowContainer.getTopDisplayFocusedRootTask(); in completePause() local
1966 if (topRootTask != null && !topRootTask.shouldSleepOrShutDownActivities()) { in completePause()
1967 mRootWindowContainer.resumeFocusedTasksTopActivities(topRootTask, prev, in completePause()
1972 topRootTask != null ? topRootTask.topRunningActivity() : null; in completePause()
DActivityStarter.java1814 final Task topRootTask = mPreferredTaskDisplayArea.getFocusedRootTask(); in startActivityInner() local
1815 if (topRootTask != null) { in startActivityInner()
1816 startResult = deliverToCurrentTopIfNeeded(topRootTask, intentGrants); in startActivityInner()
1885 mTargetRootTask.startActivityLocked(mStartActivity, topRootTask, newTask, isTaskSwitch, in startActivityInner()
2223 private int deliverToCurrentTopIfNeeded(Task topRootTask, NeededUriGrants intentGrants) { in deliverToCurrentTopIfNeeded() argument
2224 final ActivityRecord top = topRootTask.topRunningNonDelayedActivityLocked(mNotTop); in deliverToCurrentTopIfNeeded()
2263 mLaunchParams.mWindowingMode, mPreferredTaskDisplayArea, topRootTask); in deliverToCurrentTopIfNeeded() local
DActivityTaskSupervisor.java2290 final Task topRootTask = mRootWindowContainer.getTopDisplayFocusedRootTask(); in updateTopResumedActivityIfNeeded() local
2291 if (topRootTask == null || topRootTask.getTopResumedActivity() == prevTopActivity) { in updateTopResumedActivityIfNeeded()
2292 if (topRootTask == null) { in updateTopResumedActivityIfNeeded()
2308 mTopResumedActivity = topRootTask.getTopResumedActivity(); in updateTopResumedActivityIfNeeded()
DTask.java5922 Task topRootTask = topActivity == null ? null : topActivity.getRootTask();
5923 if (topRootTask != null && topRootTask != this && topActivity.isState(RESUMED)) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java451 final Task topRootTask = topActivity.getRootTask(); in testUpdateSleep() local
453 doReturn(true).when(topRootTask).goToSleepIfPossible(anyBoolean()); in testUpdateSleep()
460 topRootTask.moveToBack("test", null /* self */); in testUpdateSleep()