Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActivityStarter.java1581 final TaskRecord topTask = curTop != null ? curTop.getTask() : null; in setTargetStackAndMoveToFrontIfNeeded() local
1582 if (topTask != null in setTargetStackAndMoveToFrontIfNeeded()
1583 && (topTask != intentActivity.getTask() || topTask != focusStack.topTask()) in setTargetStackAndMoveToFrontIfNeeded()
1844 final boolean moveStackAllowed = sourceStack.topTask() != sourceTask; in setTaskFromSourceRecord()
1857 final TaskRecord topTask = mTargetStack.topTask(); in setTaskFromSourceRecord() local
1858 if (topTask != sourceTask && !mAvoidMoveToFront) { in setTaskFromSourceRecord()
2210 if (mSupervisor.mFocusedStack != null && task == mSupervisor.mFocusedStack.topTask()) { in getLaunchStack()
DActivityStack.java740 final TaskRecord topTask() { in topTask() method in ActivityStack
864 task = topTask(); in moveToFront()
2295 } else if (prevTask != topTask()) { in resumeTopActivityInnerLocked()
2795 final TaskRecord topTask = lastStack.topTask(); in updateTaskReturnToForTopInsertion() local
2796 if (!isHomeOrRecentsStack() && (fromHomeOrRecents || topTask() != task)) { in updateTaskReturnToForTopInsertion()
2802 returnToType = topTask == null ? HOME_ACTIVITY_TYPE : topTask.taskType; in updateTaskReturnToForTopInsertion()
4040 if (mStackSupervisor.isFocusedStack(this) && task == topTask() && in removeActivityFromHistoryLocked()
4612 if (mStackId == HOME_STACK_ID && topTask().isHomeTask()) { in moveTaskToBackLocked()
4929 boolean topTask = true; in getTasksLocked()
4974 if (focusedStack && topTask) { in getTasksLocked()
[all …]
DActivityManagerService.java9823 if (stack != null && stack.isDockedStack() && stack.topTask() == tr) {
10489 final TaskRecord topTask = fullscreenStack != null ? fullscreenStack.topTask()
10494 if (topTask == null || tasks == null || tasks.size() == 0) {
10504 topTask.reparent(DOCKED_STACK_ID, ON_TOP, REPARENT_KEEP_STACK_AT_FRONT, ANIMATE,
10509 if (id == topTask.taskId) {
10802 if (stack == null || task != stack.topTask()) {
DActivityStackSupervisor.java3532 TaskRecord task = stack.topTask(); in switchUserLocked()