Searched refs:targetStack (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimation.java | 108 ActivityStack targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity() local 110 ActivityRecord targetActivity = getTargetActivity(targetStack, intent.getComponent(), in startRecentsActivity() 115 mRestoreTargetBehindStack = display.getStackAbove(targetStack); in startRecentsActivity() 118 if (DEBUG) Slog.d(TAG, "No stack above target stack=" + targetStack); in startRecentsActivity() 138 mDefaultDisplay.moveStackBehindBottomMostVisibleStack(targetStack); in startRecentsActivity() 139 if (DEBUG) Slog.d(TAG, "Moved stack=" + targetStack + " behind stack=" in startRecentsActivity() 140 + mDefaultDisplay.getStackAbove(targetStack)); in startRecentsActivity() 145 if (targetStack.topTask() != targetActivity.getTaskRecord()) { in startRecentsActivity() 146 targetStack.addTask(targetActivity.getTaskRecord(), true /* toTop */, in startRecentsActivity() 165 targetStack = mDefaultDisplay.getStack(WINDOWING_MODE_UNDEFINED, in startRecentsActivity() [all …]
|
D | RecentsAnimationController.java | 333 final TaskStack targetStack = dc.getStack(WINDOWING_MODE_UNDEFINED, targetActivityType); in initialize() local 334 if (targetStack != null) { in initialize() 335 for (int i = targetStack.getChildCount() - 1; i >= 0; i--) { in initialize() 336 final Task t = targetStack.getChildAt(i); in initialize()
|
D | ActivityStartController.java | 163 ActivityStack targetStack) { in postStartActivityProcessingForLastStarter() argument 168 mLastStarter.postStartActivityProcessing(r, result, targetStack); in postStartActivityProcessingForLastStarter()
|
D | RootActivityContainer.java | 1149 ActivityStack targetStack, ActivityRecord target, ActivityOptions targetOptions) { in resumeFocusedStacksTopActivities() argument 1156 if (targetStack != null && (targetStack.isTopStackOnDisplay() in resumeFocusedStacksTopActivities() 1157 || getTopDisplayFocusedStack() == targetStack)) { in resumeFocusedStacksTopActivities() 1158 result = targetStack.resumeTopActivityUncheckedLocked(target, targetOptions); in resumeFocusedStacksTopActivities() 1170 if (stack == targetStack) { in resumeFocusedStacksTopActivities()
|
D | ActivityDisplay.java | 310 final ActivityStack targetStack = mStacks.get(position - 1); in getTopInsertPosition() local 311 if (!targetStack.isAlwaysOnTop()) { in getTopInsertPosition() 315 if (stack.isAlwaysOnTop() && !targetStack.inPinnedWindowingMode()) { in getTopInsertPosition()
|
D | ActivityStack.java | 3290 final ActivityStack targetStack = toFrontTask != null in canEnterPipOnTaskSwitch() local 3292 if (targetStack != null && targetStack.isActivityTypeAssistant()) { in canEnterPipOnTaskSwitch()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootActivityContainerTests.java | 331 final TestActivityStack targetStack = (TestActivityStack) new StackBuilder( in testFindTaskToMoveToFrontWhenRecentsOnTop() local 333 final TaskRecord targetTask = targetStack.getChildAt(0); in testFindTaskToMoveToFrontWhenRecentsOnTop() 354 final ActivityStack targetStack = display.createStack(WINDOWING_MODE_FULLSCREEN, in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() local 356 final TaskRecord targetTask = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() 381 final ActivityStack targetStack = spy(display.createStack(WINDOWING_MODE_FULLSCREEN, in testResumeActivityWhenNonTopmostStackIsTopFocused() local 383 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused() 385 display.positionChildAtBottom(targetStack); in testResumeActivityWhenNonTopmostStackIsTopFocused() 389 assertFalse(targetStack.isTopStackOnDisplay()); in testResumeActivityWhenNonTopmostStackIsTopFocused() 390 doReturn(targetStack).when(mRootActivityContainer).getTopDisplayFocusedStack(); in testResumeActivityWhenNonTopmostStackIsTopFocused() 394 targetStack, activity, null /* targetOptions */); in testResumeActivityWhenNonTopmostStackIsTopFocused() [all …]
|