Lines Matching defs:stack

45     /** Unique identifier of this stack. */
84 * is stored in display order with the current bottom stack at 0. */
91 /** Detect user tapping outside of current focused stack bounds .*/
94 /** Detect user tapping outside of current focused stack bounds .*/
152 * Retrieve the tasks on this display in stack order from the bottommost TaskStack up.
193 void attachStack(TaskStack stack) {
194 if (stack.mStackId == HOME_STACK_ID) {
198 mHomeStack = stack;
200 mStacks.add(stack);
204 void moveStack(TaskStack stack, boolean toTop) {
205 mStacks.remove(stack);
206 mStacks.add(toTop ? mStacks.size() : 0, stack);
209 void detachStack(TaskStack stack) {
210 mStacks.remove(stack);
223 final TaskStack stack = mStacks.get(stackNdx);
224 stack.getBounds(mTmpRect);
226 return stack.mStackId;
237 final TaskStack stack = win.getStack();
238 if (win.isVisibleLw() && stack != null && stack != focusedStack) {
306 final TaskStack stack = mStacks.get(stackNdx);
307 if (stack.isAnimating()) {
317 final TaskStack stack = mStacks.get(stackNdx);
318 if (stack.isAnimating()) {
321 if (stack.mDeferDetach) {
322 mService.detachStackLocked(this, stack);
324 final ArrayList<Task> tasks = stack.getTasks();
331 stack.mExitingAppTokens.remove(wtoken);
374 final TaskStack stack = mStacks.get(stackNdx);
375 pw.print(prefix); pw.print("mStacks[" + stackNdx + "]"); pw.println(stack.mStackId);
376 stack.dump(prefix + " ", pw);
382 final TaskStack stack = mStacks.get(stackNdx);
383 pw.print(" mStackId="); pw.println(stack.mStackId);
384 ArrayList<Task> tasks = stack.getTasks();