Lines Matching defs:stack

146                 TaskStack stack = plan.getTaskStack();
154 updateDummyStackViewLayout(mBackgroundLayoutAlgorithm, stack, windowRect);
162 stack.getStackTasks());
271 // Register the task stack listener
351 // Check if the top task is in the home stack, and start the recents activity
486 TaskStack stack = sInstanceLoadPlan.getTaskStack();
487 if (stack.getTaskCount() > 0) {
492 // At this point, we don't know anything about the stack state. So only
496 updateHeaderBarLayout(stack, null /* window rect override*/);
519 * Transitions to the next recent task in the stack.
528 // Return early if there are no tasks in the focused stack
582 // Return early if there are no tasks in the focused stack
588 // Return early if the running task is in the home/recents stack (optimization)
733 TaskStack stack, Rect windowRect) {
751 if (stack != null) {
756 TaskStackLayoutAlgorithm.StackState.getStackStateForStack(stack));
770 * @param stack the stack to initialize the stack layout with
771 * @param windowRectOverride the rectangle to use when calculating the stack state which can
775 private void updateHeaderBarLayout(TaskStack stack, Rect windowRectOverride) {
779 updateDummyStackViewLayout(mDummyStackView.getStackAlgorithm(), stack, windowRect);
780 if (stack != null) {
783 mDummyStackView.setTasks(stack, false /* allowNotifyStackChanges */);
789 stack.getTaskCount(), new TaskViewTransform(),
799 if (stack != null && taskViewWidth > 0) {
936 TaskStack stack = stackView.getStack();
937 Task launchTask = stack.getLaunchTarget();
942 launchTask = stack.getStackFrontMostTask(true /* includeFreeform */);
1015 TaskStack stack = sInstanceLoadPlan.getTaskStack();
1016 boolean hasRecentTasks = stack.getTaskCount() > 0;
1026 stack.isNextLaunchTargetPip(RecentsImpl.getLastPipTime());
1042 updateHeaderBarLayout(stack, windowOverrideRect);
1044 // Prepare the dummy stack for the transition