Searched refs:topTask (Results 1 – 6 of 6) sorted by relevance
219 final Task topTask = stack != null ? stack.getTopMostTask() : null;220 resetFreezeTaskListReordering(topTask);296 void resetFreezeTaskListReordering(Task topTask) { in resetFreezeTaskListReordering() argument306 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() local328 resetFreezeTaskListReordering(topTask); in resetFreezeTaskListReorderingOnTimeout()
1280 final Task topTask = getTopMostTask(); in getBaseIntent()1281 return (topTask != this && topTask != null) ? topTask.getBaseIntent() : null; in getBaseIntent()1640 final Task topTask = getTopMostTask(); in supportsSplitScreenWindowingMode() local1642 && (topTask == null || topTask.supportsSplitScreenWindowingModeInner()); in supportsSplitScreenWindowingMode()
2488 final Task topTask = curTop != null ? curTop.getTask() : null; in setTargetStackIfNeeded() local2489 differentTopTask = topTask != intentTask in setTargetStackIfNeeded()2490 || (focusStack != null && topTask != focusStack.getTopMostTask()); in setTargetStackIfNeeded()
676 final Task topTask = getTopMostTask(); in setWindowingModeInSurfaceTransaction() local683 topTask, getActivityType())) { in setWindowingModeInSurfaceTransaction()733 topTask.mTaskId, FORCED_RESIZEABLE_REASON_SPLIT_SCREEN, packageName); in setWindowingModeInSurfaceTransaction()
1607 final WindowContainer topTask = rootSecondary.getTopChild(); in getVisibleBounds() local1608 if (topTask.isVisible()) { in getVisibleBounds()1609 cutRect(mTmpRect, topTask.getBounds()); in getVisibleBounds()
792 final Task topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay() local793 new ActivityBuilder(mService).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()