Lines Matching defs:stack

176      * The modes to control how the stack is moved to the front when calling
186 // Moves the stack to the front if it was not at the front
188 // Only moves the stack to the front if it was focused or front most already
190 // Do not move the stack as a part of reparenting
257 /** Current stack. Setter must always be used to update the value. */
274 * task stack. */
281 // do not want to delete the stack when the task goes empty.
313 // The information is persisted and used to determine the appropriate stack to launch the
530 // re-restore the task so it can have the proper stack association.
542 // Do not move the task to another stack here.
543 // This method assumes that the task is already placed in the right stack.
580 * Convenience method to reparent a task to the top or bottom position of the stack.
589 * Convenience method to reparent a task to the top or bottom position of the stack, with
600 * Convenience method to reparent a task to a specific position of the stack.
609 * Reparents the task into a preferred stack, creating it if necessary.
611 * @param preferredStackId the stack id of the target stack to move this task
612 * @param position the position to place this task in the new stack
615 * @param moveStackMode whether or not to move the stack to the front always, only if it was
664 // In some cases the focused stack isn't the front stack. E.g. pinned stack.
665 // Whenever we are moving the top activity from the front stack we want to make sure to
666 // move the stack to the front.
670 // Adjust the position for the new parent stack as needed.
700 // new stack by moving the stack to the front.
713 // Make sure the task has the appropriate bounds/size for the stack it is in.
727 // Move recents to front so it is not behind home stack when going into docked
747 // with the visibility of the stack / windows.
757 // If task moved to docked stack - show recents if needed.
941 * Must be used for setting parent stack because it performs configuration updates.
942 * Must be called after adding task as a child to the stack.
944 void setStack(ActivityStack stack) {
945 if (stack != null && !stack.isInStackLocked(this)) {
948 mStack = stack;
953 * @return Id of current stack, {@link INVALID_STACK_ID} if no stack is set.
1045 Slog.e(TAG, "setLastThumbnailLocked() called on Task without stack");
1218 * Reorder the history stack so that the passed activity is brought to the front.
1223 + " to stack at top callers=" + Debug.getCallers(4));
1330 // We normally notify listeners of task stack changes on pause, however pinned stack
1344 * @return whether or not there are ONLY task overlay activities in the stack.
1414 * stack to the given task, then look for
1415 * an instance of that activity in the stack and, if found, finish all
1443 r, Activity.RESULT_CANCELED, null, "clear-task-stack", false)) {
1628 * Find the activity in the history stack within the given task. Returns
2031 // to do this for the pinned stack as the bounds are controlled by the system.
2160 throw new IllegalArgumentException("Expected stack when calculating override config");
2199 * input stack. */
2208 + this + " in stack=" + inStack);
2224 * Returns the correct stack to use based on task type and currently set bounds,
2225 * regardless of the focused stack and current stack association of the task.
2226 * The task will be moved (and stack focus changed) later if necessary.