Searched refs:topTask (Results 1 – 8 of 8) sorted by relevance
213 final TaskRecord topTask = stack != null ? stack.topTask() : null;214 resetFreezeTaskListReordering(topTask);283 void resetFreezeTaskListReordering(TaskRecord topTask) { in resetFreezeTaskListReordering() argument293 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() local314 ? 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 …]
642 TaskRecord topTask = display.getSplitScreenPrimaryStack().topTask(); in onConfigurationChanged() local643 if (topTask != null) { in onConfigurationChanged()644 dockedBounds = topTask.getBounds(); in onConfigurationChanged()715 final TaskRecord topTask = topTask(); in setWindowingModeInSurfaceTransaction() local729 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 ActivityStack2275 final TaskRecord topTask = topTask(); in supportsSplitScreenWindowingMode() local2277 && (topTask == null || topTask.supportsSplitScreenWindowingMode()); in supportsSplitScreenWindowingMode()5249 boolean topTask = true; in getRunningTasks()[all …]
2127 final TaskRecord topTask = curTop != null ? curTop.getTaskRecord() : null; in setTargetStackAndMoveToFrontIfNeeded() local2128 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() local2419 if (topTask != sourceTask && !mAvoidMoveToFront) { in setTaskFromSourceRecord()2718 if (focusedStack != null && task == focusedStack.topTask()) { in getLaunchStack()
210 if (targetStack.topTask() != targetActivity.getTaskRecord()) { in startRecentsActivity()
854 TaskRecord task = stack.topTask(); in switchUser()1768 && candidateTask == stack.topTask()) { in getLaunchStack()
2888 if (stack == null || task != stack.topTask()) { in startLockTaskModeLocked()
306 stack2.moveToBack("testMoveStackToBackIncludingParent", stack2.topTask()); in testMoveStackToBackIncludingParent()312 stack2.moveToBack("testMoveStackToBackIncludingParent", stack2.topTask()); in testMoveStackToBackIncludingParent()971 final TaskRecord homeTask = homeStask.topTask(); in testAdjustFocusedStackToHomeWhenNoActivity()
781 final TaskRecord topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay() local782 new ActivityBuilder(mService).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()