/frameworks/base/core/java/android/util/ |
H A D | JsonReader.java | 205 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonReader 536 stack.clear(); 537 stack.add(JsonScope.CLOSED); 567 return stack.get(stack.size() - 1); 571 return stack.remove(stack.size() - 1); 575 stack.add(newTop); 579 * Replace the value on the top of the stack with the given value. 582 stack [all...] |
H A D | JsonWriter.java | 125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonWriter 127 stack.add(JsonScope.EMPTY_DOCUMENT); 240 stack.add(empty); 253 throw new IllegalStateException("Nesting problem: " + stack); 256 stack.remove(stack.size() - 1); 265 * Returns the value on the top of the stack. 268 return stack.get(stack.size() - 1); 272 * Replace the value on the top of the stack wit [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsImpl.java | 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 732 updateDummyStackViewLayout(TaskStackLayoutAlgorithm stackLayout, TaskStack stack, Rect windowRect) argument 775 updateHeaderBarLayout(TaskStack stack, Rect windowRectOverride) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/ |
H A D | MultiWindowStateChangedEvent.java | 30 public final TaskStack stack; field in class:MultiWindowStateChangedEvent 33 TaskStack stack) { 36 this.stack = stack; 32 MultiWindowStateChangedEvent(boolean inMultiWindow, boolean showDeferredAnimation, TaskStack stack) argument
|
H A D | TaskStackUpdatedEvent.java | 28 * A new TaskStack instance representing the latest stack state. 30 public final TaskStack stack; field in class:TaskStackUpdatedEvent 33 public TaskStackUpdatedEvent(TaskStack stack, boolean inMultiWindow) { argument 34 this.stack = stack;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/ |
H A D | DragEndCancelledEvent.java | 30 public final TaskStack stack; field in class:DragEndCancelledEvent 34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) { argument 35 this.stack = stack;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 74 * An interface for a task filter to query whether a particular task should show in a stack. 128 // Update the stack id now, after we've moved the task, and before we update the 215 * The task stack contains a list of multiple tasks. 221 /** Task stack callbacks */ 224 * Notifies when a new task has been added to the stack. 226 void onStackTaskAdded(TaskStack stack, Task newTask); argument 229 * Notifies when a task has been removed from the stack. 231 void onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask, argument 236 * Notifies when all tasks have been removed from the stack. 238 void onStackTasksRemoved(TaskStack stack); argument 243 onStackTasksUpdated(TaskStack stack) argument 676 setTasks(Context context, TaskStack stack, boolean notifyStackChanges) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsTransitionHelper.java | 108 public void launchTaskFromRecents(final TaskStack stack, @Nullable final Task task, argument 183 startTaskActivity(stack, task, taskView, opts, transitionFuture, destinationStack); 191 startTaskActivity(stack, task, taskView, opts, transitionFuture, 198 startTaskActivity(stack, task, taskView, opts, transitionFuture, destinationStack); 227 * @param destinationStack id of the stack to put the task into. 229 private void startTaskActivity(TaskStack stack, Task task, @Nullable TaskView taskView, argument 238 int taskIndex = stack.indexOfStackTask(task); 240 taskIndexFromFront = stack.getTaskCount() - taskIndex - 1; 310 * Composes the animation specs for all the tasks in the target stack. 314 // Ensure we have a valid target stack i [all...] |
H A D | RecentsView.java | 221 public void onReload(TaskStack stack, boolean isResumingFromVisible) { argument 224 final boolean isTaskStackEmpty = stack.getTaskCount() == 0; 237 // Update the stack 239 updateStack(stack, true /* setStackViewTasks */); 260 * Called from RecentsActivity when the task stack is updated. 262 public void updateStack(TaskStack stack, boolean setStackViewTasks) { argument 264 mTaskStackView.setTasks(stack, true /* allowNotifyStackChanges */); 268 if (stack.getTaskCount() > 0) { 323 * Returns whether the last task launched was in the freeform stack or not. 329 /** Launches the focused task from the first stack i [all...] |
H A D | TaskStackLayoutAlgorithm.java | 109 * The layout logic for a TaskStackView. This layout needs to be able to calculate the stack layout 112 * more prominently in the stack. 150 * The various stack/freeform states. 162 * @param freeformHeightPct the percentage of the stack height (not including paddings) to 172 * Resolves the stack state for the layout given a task stack. 174 public static StackState getStackStateForStack(TaskStack stack) { argument 177 int freeformCount = stack.getFreeformTaskCount(); 178 int stackCount = stack.getStackTaskCount(); 189 * Computes the freeform and stack rec 521 update(TaskStack stack, ArraySet<Task.TaskKey> ignoreTasksSet, RecentsActivityLaunchState launchState) argument 628 setTaskOverridesForInitialState(TaskStack stack, boolean ignoreScrollToFront) argument [all...] |
H A D | TaskStackView.java | 115 /* The visual representation of a task stack view */ 123 // The thresholds at which to show/hide the stack action button. 139 /** Do not update the stack and layout to the initial state. */ 141 /** Update both the stack and layout to the initial state. */ 195 // The stable stack bounds are the full bounds that we were measured with from RecentsView 198 // The current stack bounds are dynamic and may change as the user drags and drops 275 // Set the stack first 359 // Reset the stack state 374 // Since we always animate to the same place in (the initial state), always reset the stack 384 * Sets the stack task 386 setTasks(TaskStack stack, boolean allowNotifyStackChanges) argument 1500 onStackTaskAdded(TaskStack stack, Task newTask) argument 1514 onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask, AnimationProps animation, boolean fromDockGesture, boolean dismissRecentsIfAllRemoved) argument 1557 onStackTasksRemoved(TaskStack stack) argument 1577 onStackTasksUpdated(TaskStack stack) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | AmbientState.java | 17 package com.android.systemui.statusbar.stack;
|
H A D | AnimationFilter.java | 17 package com.android.systemui.statusbar.stack;
|
H A D | AnimationProperties.java | 17 package com.android.systemui.statusbar.stack;
|
H A D | ExpandableViewState.java | 17 package com.android.systemui.statusbar.stack; 69 * The location is in the bottom stack and it's peeking 74 * The location is in the bottom stack and it's hidden.
|
H A D | HeadsUpAppearInterpolator.java | 17 package com.android.systemui.statusbar.stack;
|
H A D | NotificationChildrenContainer.java | 17 package com.android.systemui.statusbar.stack; 647 * When moving into the bottom stack, the bottom visible child in an expanded group adjusts its
|
H A D | NotificationStackScrollLayout.java | 17 package com.android.systemui.statusbar.stack; 106 * A layout which handles a dynamic amount of notifications and presents them in a scrollable stack. 631 * Updates the children views according to the stack scroll algorithm. Call this whenever
|
H A D | ScrollContainer.java | 17 package com.android.systemui.statusbar.stack;
|
H A D | StackScrollAlgorithm.java | 17 package com.android.systemui.statusbar.stack; 37 * The Algorithm of the {@link com.android.systemui.statusbar.stack 39 * .stack.StackScrollState} 267 // we need normal padding now, to be in sync with what the stack calculates
|
H A D | StackScrollState.java | 17 package com.android.systemui.statusbar.stack; 31 * A state of a {@link com.android.systemui.statusbar.stack.NotificationStackScrollLayout} which
|
H A D | StackStateAnimator.java | 17 package com.android.systemui.statusbar.stack; 38 * An stack state animator which handles animations to new StackScrollStates
|
H A D | ViewState.java | 17 package com.android.systemui.statusbar.stack; 38 * {@link com.android.systemui.statusbar.stack.StackScrollState} or start animations with 39 * {@link com.android.systemui.statusbar.stack.StackStateAnimator}.
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarTest.java | 84 import com.android.systemui.statusbar.stack.NotificationStackScrollLayout; 516 NotificationStackScrollLayout stack, HeadsUpManager hum, NotificationData nd, 522 mStackScroller = stack; 514 TestableStatusBar(StatusBarKeyguardViewManager man, UnlockMethodCache unlock, KeyguardIndicationController key, NotificationStackScrollLayout stack, HeadsUpManager hum, NotificationData nd, PowerManager pm, SystemServicesProxy ssp, NotificationPanelView panelView, IStatusBarService barService) argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationChildrenContainerTest.java | 17 package com.android.systemui.statusbar.stack;
|