Home
last modified time | relevance | path

Searched refs:topTask (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java219 final Task topTask = stack != null ? stack.getTopMostTask() : null;
220 resetFreezeTaskListReordering(topTask);
296 void resetFreezeTaskListReordering(Task topTask) { in resetFreezeTaskListReordering() argument
306 if (topTask != null) { in resetFreezeTaskListReordering()
307 mTasks.remove(topTask); in resetFreezeTaskListReordering()
308 mTasks.add(0, topTask); in resetFreezeTaskListReordering()
327 final Task topTask = focusedStack != null ? focusedStack.getTopMostTask() : null; in resetFreezeTaskListReorderingOnTimeout() local
328 resetFreezeTaskListReordering(topTask); in resetFreezeTaskListReorderingOnTimeout()
DTask.java1280 final Task topTask = getTopMostTask(); in getBaseIntent()
1281 return (topTask != this && topTask != null) ? topTask.getBaseIntent() : null; in getBaseIntent()
1640 final Task topTask = getTopMostTask(); in supportsSplitScreenWindowingMode() local
1642 && (topTask == null || topTask.supportsSplitScreenWindowingModeInner()); in supportsSplitScreenWindowingMode()
DActivityStarter.java2488 final Task topTask = curTop != null ? curTop.getTask() : null; in setTargetStackIfNeeded() local
2489 differentTopTask = topTask != intentTask in setTargetStackIfNeeded()
2490 || (focusStack != null && topTask != focusStack.getTopMostTask()); in setTargetStackIfNeeded()
DActivityStack.java676 final Task topTask = getTopMostTask(); in setWindowingModeInSurfaceTransaction() local
683 topTask, getActivityType())) { in setWindowingModeInSurfaceTransaction()
733 topTask.mTaskId, FORCED_RESIZEABLE_REASON_SPLIT_SCREEN, packageName); in setWindowingModeInSurfaceTransaction()
DWindowState.java1607 final WindowContainer topTask = rootSecondary.getTopChild(); in getVisibleBounds() local
1608 if (topTask.isVisible()) { in getVisibleBounds()
1609 cutRect(mTmpRect, topTask.getBounds()); in getVisibleBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java792 final Task topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay() local
793 new ActivityBuilder(mService).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()