Searched refs:prevStack (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 3243 final ActivityStack prevStack = task.getStack(); in getReparentTargetStack() local 3248 if (prevStack != null && prevStack.mStackId == stackId) { in getReparentTargetStack() 3251 return prevStack; in getReparentTargetStack() 3280 if (prevStack != null) { in getReparentTargetStack() 3281 return prevStack; in getReparentTargetStack() 4575 void scheduleUpdatePictureInPictureModeIfNeeded(TaskRecord task, ActivityStack prevStack) { in scheduleUpdatePictureInPictureModeIfNeeded() argument 4577 if (prevStack == null || prevStack == stack in scheduleUpdatePictureInPictureModeIfNeeded() 4578 || (!prevStack.inPinnedWindowingMode() && !stack.inPinnedWindowingMode())) { in scheduleUpdatePictureInPictureModeIfNeeded()
|
D | ActivityStack.java | 5214 final ActivityStack prevStack = preAddTask(task, reason, toTop); in addTask() local 5221 postAddTask(task, prevStack, schedulePictureInPictureModeChange); in addTask() 5255 final ActivityStack prevStack = task.getStack(); in preAddTask() local 5256 if (prevStack != null && prevStack != this) { in preAddTask() 5257 prevStack.removeTask(task, reason, in preAddTask() 5260 return prevStack; in preAddTask() 5268 private void postAddTask(TaskRecord task, ActivityStack prevStack, in postAddTask() argument 5270 if (schedulePictureInPictureModeChange && prevStack != null) { in postAddTask() 5271 mStackSupervisor.scheduleUpdatePictureInPictureModeIfNeeded(task, prevStack); in postAddTask()
|
D | ActivityRecord.java | 1069 final ActivityStack prevStack = prevTask.getStack(); in reparent() local 1071 if (prevStack != newTask.getStack()) { in reparent() 1072 prevStack.onActivityRemovedFromStack(this); in reparent()
|