Lines Matching defs:stack
105 // Debounce any task stack changes
190 // Register the task stack listener
335 TaskStack stack = plan.getTaskStack();
338 if (stack.getTaskCount() == 0) return;
343 // Return early if the running task is in the home stack (optimization)
347 ArrayList<Task> tasks = stack.getTasks();
369 toTask = stack.findTaskWithId(toTaskKey.id);
422 // Don't reuse task stack views if the configuration changes
438 // Reload the widget id before we get the task stack bounds
450 TaskStack stack = new TaskStack();
451 mDummyStackView = new TaskStackView(mContext, stack);
511 // Check if the top task is in the home stack, and start the recents activity
551 TaskStack stack, TaskStackView stackView) {
554 TaskViewTransform toTransform = getThumbnailTransitionTransform(stack, stackView,
583 TaskViewTransform getThumbnailTransitionTransform(TaskStack stack, TaskStackView stackView,
587 ArrayList<Task> tasks = stack.getTasks();
622 TaskStack stack = sInstanceLoadPlan.getTaskStack();
624 // Prepare the dummy stack for the transition
625 mDummyStackView.updateMinMaxScrollForStack(stack, mTriggeredFromAltTab, isTopTaskHome);
628 boolean hasRecentTasks = stack.getTaskCount() > 0;
640 ActivityOptions opts = getThumbnailTransitionActivityOptions(topTask, stack,