Searched refs:prevStack (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStackSupervisor.java | 1933 final ActivityStack prevStack = task.getStack(); in getReparentTargetStack() local 1938 if (prevStack != null && prevStack.mStackId == stackId) { in getReparentTargetStack() 1941 return prevStack; in getReparentTargetStack() 1970 if (prevStack != null) { in getReparentTargetStack() 1971 return prevStack; in getReparentTargetStack() 2521 void scheduleUpdatePictureInPictureModeIfNeeded(TaskRecord task, ActivityStack prevStack) { in scheduleUpdatePictureInPictureModeIfNeeded() argument 2523 if (prevStack == null || prevStack == stack in scheduleUpdatePictureInPictureModeIfNeeded() 2524 || (!prevStack.inPinnedWindowingMode() && !stack.inPinnedWindowingMode())) { in scheduleUpdatePictureInPictureModeIfNeeded()
|
D | ActivityStack.java | 5565 final ActivityStack prevStack = preAddTask(task, reason, toTop); in addTask() local 5572 postAddTask(task, prevStack, schedulePictureInPictureModeChange); in addTask() 5606 final ActivityStack prevStack = task.getStack(); in preAddTask() local 5607 if (prevStack != null && prevStack != this) { in preAddTask() 5608 prevStack.removeTask(task, reason, in preAddTask() 5611 return prevStack; in preAddTask() 5619 private void postAddTask(TaskRecord task, ActivityStack prevStack, in postAddTask() argument 5621 if (schedulePictureInPictureModeChange && prevStack != null) { in postAddTask() 5622 mStackSupervisor.scheduleUpdatePictureInPictureModeIfNeeded(task, prevStack); in postAddTask()
|
D | ActivityRecord.java | 1227 final ActivityStack prevStack = prevTask.getStack(); in reparent() local 1229 if (prevStack != newTask.getStack()) { in reparent() 1230 prevStack.onActivityRemovedFromStack(this); in reparent()
|