Searched refs:prevStack (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 5141 final ActivityStack prevStack = preAddTask(task, reason, toTop); in addTask() local 5150 postAddTask(task, prevStack); in addTask() 5156 final ActivityStack prevStack = preAddTask(task, "positionTask", !ON_TOP); in positionTask() local 5159 postAddTask(task, prevStack); in positionTask() 5171 final ActivityStack prevStack = task.stack; in preAddTask() local 5172 if (prevStack != null && prevStack != this) { in preAddTask() 5173 prevStack.removeTask(task, reason, in preAddTask() 5176 return prevStack; in preAddTask() 5179 private void postAddTask(TaskRecord task, ActivityStack prevStack) { in postAddTask() argument 5180 if (prevStack != null) { in postAddTask() [all …]
|
D | ActivityStackSupervisor.java | 2388 final ActivityStack prevStack = task.stack; in moveTaskToStackUncheckedLocked() local 2389 final boolean wasFocused = isFocusedStack(prevStack) && (topRunningActivityLocked() == r); in moveTaskToStackUncheckedLocked() 2390 final boolean wasResumed = prevStack.mResumedActivity == r; in moveTaskToStackUncheckedLocked() 2394 final boolean wasFront = isFrontStack(prevStack) in moveTaskToStackUncheckedLocked() 2395 && (prevStack.topRunningActivityLocked() == r); in moveTaskToStackUncheckedLocked() 2402 stackId = (prevStack != null) ? prevStack.mStackId : FULLSCREEN_WORKSPACE_STACK_ID; in moveTaskToStackUncheckedLocked() 3707 … void scheduleReportPictureInPictureModeChangedIfNeeded(TaskRecord task, ActivityStack prevStack) { in scheduleReportPictureInPictureModeChangedIfNeeded() argument 3709 if (prevStack == null || prevStack == stack in scheduleReportPictureInPictureModeChangedIfNeeded() 3710 || (prevStack.mStackId != PINNED_STACK_ID && stack.mStackId != PINNED_STACK_ID)) { in scheduleReportPictureInPictureModeChangedIfNeeded()
|