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/am/
DActivityStarter.java1863 final TaskRecord topTask = curTop != null ? curTop.getTask() : null; in setTargetStackAndMoveToFrontIfNeeded() local
1864 if (topTask != null in setTargetStackAndMoveToFrontIfNeeded()
1865 && (topTask != intentActivity.getTask() || topTask != focusStack.topTask()) in setTargetStackAndMoveToFrontIfNeeded()
2108 final boolean moveStackAllowed = sourceStack.topTask() != sourceTask in setTaskFromSourceRecord()
2135 final TaskRecord topTask = mTargetStack.topTask(); in setTaskFromSourceRecord() local
2136 if (topTask != sourceTask && !mAvoidMoveToFront) { in setTaskFromSourceRecord()
2429 if (mSupervisor.mFocusedStack != null && task == mSupervisor.mFocusedStack.topTask()) { in getLaunchStack()
DActivityStack.java524 final TaskRecord topTask = topTask(); in setWindowingMode() local
533 null /* ActivityRecord */, mTmpOptions, topTask, getActivityType()); in setWindowingMode()
577 topTask.taskId, FORCED_RESIZEABLE_REASON_SPLIT_SCREEN, packageName); in setWindowingMode()
613 if (topTask != null) { in setWindowingMode()
615 Rect bounds = topTask().getLaunchBounds(); in setWindowingMode()
915 final TaskRecord topTask() { in topTask() method in ActivityStack
1995 final TaskRecord topTask = topTask(); in supportsSplitScreenWindowingMode() local
1997 && (topTask == null || topTask.supportsSplitScreenWindowingMode()); in supportsSplitScreenWindowingMode()
4938 boolean topTask = true; in getRunningTasks()
4959 if (focusedStack && topTask) { in getRunningTasks()
[all …]
DRecentsAnimation.java152 if (targetStack.topTask() != targetActivity.getTask()) { in startRecentsActivity()
DRecentTasks.java1152 if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "\ttop=" + task.getStack().topTask()); in isVisibleRecentTask()
1154 if (stack != null && stack.topTask() == task) { in isVisibleRecentTask()
DActivityStackSupervisor.java2479 && candidateTask == stack.topTask()) { in getLaunchStack()
3847 TaskRecord task = stack.topTask(); in switchUserLocked()
DActivityManagerService.java11679 if (stack == null || task != stack.topTask()) {