Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java213 final TaskRecord topTask = stack != null ? stack.topTask() : null;
214 resetFreezeTaskListReordering(topTask);
283 void resetFreezeTaskListReordering(TaskRecord topTask) { in resetFreezeTaskListReordering() argument
293 if (topTask != null) { in resetFreezeTaskListReordering()
294 mTasks.remove(topTask); in resetFreezeTaskListReordering()
295 mTasks.add(0, topTask); in resetFreezeTaskListReordering()
313 final TaskRecord topTask = focusedStack != null in resetFreezeTaskListReorderingOnTimeout() local
314 ? focusedStack.topTask() in resetFreezeTaskListReorderingOnTimeout()
316 resetFreezeTaskListReordering(topTask); in resetFreezeTaskListReorderingOnTimeout()
1300 if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "\ttop=" + task.getStack().topTask()); in isVisibleRecentTask()
[all …]
DActivityStack.java642 TaskRecord topTask = display.getSplitScreenPrimaryStack().topTask(); in onConfigurationChanged() local
643 if (topTask != null) { in onConfigurationChanged()
644 dockedBounds = topTask.getBounds(); in onConfigurationChanged()
715 final TaskRecord topTask = topTask(); in setWindowingModeInSurfaceTransaction() local
729 null /* ActivityRecord */, topTask, getActivityType()); in setWindowingModeInSurfaceTransaction()
789 topTask.taskId, FORCED_RESIZEABLE_REASON_SPLIT_SCREEN, packageName); in setWindowingModeInSurfaceTransaction()
1151 final TaskRecord topTask() { in topTask() method in ActivityStack
2275 final TaskRecord topTask = topTask(); in supportsSplitScreenWindowingMode() local
2277 && (topTask == null || topTask.supportsSplitScreenWindowingMode()); in supportsSplitScreenWindowingMode()
5249 boolean topTask = true; in getRunningTasks()
[all …]
DActivityStarter.java2127 final TaskRecord topTask = curTop != null ? curTop.getTaskRecord() : null; in setTargetStackAndMoveToFrontIfNeeded() local
2128 differentTopTask = topTask != intentActivity.getTaskRecord() in setTargetStackAndMoveToFrontIfNeeded()
2129 || (focusStack != null && topTask != focusStack.topTask()); in setTargetStackAndMoveToFrontIfNeeded()
2391 final boolean moveStackAllowed = sourceStack.topTask() != sourceTask in setTaskFromSourceRecord()
2418 final TaskRecord topTask = mTargetStack.topTask(); in setTaskFromSourceRecord() local
2419 if (topTask != sourceTask && !mAvoidMoveToFront) { in setTaskFromSourceRecord()
2718 if (focusedStack != null && task == focusedStack.topTask()) { in getLaunchStack()
DRecentsAnimation.java210 if (targetStack.topTask() != targetActivity.getTaskRecord()) { in startRecentsActivity()
DRootActivityContainer.java854 TaskRecord task = stack.topTask(); in switchUser()
1768 && candidateTask == stack.topTask()) { in getLaunchStack()
DActivityTaskManagerService.java2888 if (stack == null || task != stack.topTask()) { in startLockTaskModeLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java306 stack2.moveToBack("testMoveStackToBackIncludingParent", stack2.topTask()); in testMoveStackToBackIncludingParent()
312 stack2.moveToBack("testMoveStackToBackIncludingParent", stack2.topTask()); in testMoveStackToBackIncludingParent()
971 final TaskRecord homeTask = homeStask.topTask(); in testAdjustFocusedStackToHomeWhenNoActivity()
DActivityStarterTests.java781 final TaskRecord topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay() local
782 new ActivityBuilder(mService).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()