/frameworks/base/libs/hwui/tests/microbench/ |
H A D | TaskManagerBench.cpp | 45 std::vector<sp<TrivialTask>> tasks; local 46 tasks.reserve(state.max_iterations); 49 tasks.emplace_back(new TrivialTask); 50 benchmark::DoNotOptimize(tasks.back()); 58 std::vector<sp<TrivialTask>> tasks; local 59 tasks.reserve(state.max_iterations); 62 tasks.emplace_back(new TrivialTask); 63 benchmark::DoNotOptimize(tasks.back()); 64 processor->add(tasks.back()); 67 for (sp<TrivialTask>& task : tasks) { 76 std::vector<sp<TrivialTask>> tasks; local 116 std::vector<std::future<int>> tasks; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | AppButtonData.java | 29 // Recent tasks for this app, sorted by lastActiveTime, descending. 30 public ArrayList<RecentTaskInfo> tasks; field in class:AppButtonData 38 return tasks == null ? 0 : tasks.size(); 49 if (tasks == null) { 50 tasks = new ArrayList<RecentTaskInfo>(); 52 tasks.add(task); 56 if (tasks != null) { 57 tasks.clear();
|
/frameworks/base/libs/hwui/thread/ |
H A D | TaskManager.cpp | 92 std::vector<TaskWrapper> tasks; local 95 tasks.swap(mTasks); 98 for (size_t i = 0; i < tasks.size(); i++) { 99 const TaskWrapper& task = tasks[i];
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | FilteredTaskList.java | 28 * A list of filtered tasks. 37 /** Sets the task filter, and returns whether the set of filtered tasks have changed. */ 51 /** Sets the list of tasks */ 52 void set(List<Task> tasks) { argument 54 mTasks.addAll(tasks); 68 /** Returns the index of this task in the list of filtered tasks */ 76 /** Returns the size of the list of filtered tasks */ 86 /** Updates the list of filtered tasks whenever the base task list changes */ 110 /** Updates the mapping of tasks to indices. */ 120 /** Returns the list of filtered tasks */ [all...] |
H A D | TaskStack.java | 33 * The task stack contains a list of multiple tasks. 54 * Notifies when all tasks have been removed from the stack. 59 * Notifies when tasks in the stack have been updated. 69 // Ensure that we only show stack tasks 105 * Removes all tasks from the stack. 108 ArrayList<Task> tasks = mStackTaskList.getTasks(); 109 for (int i = tasks.size() - 1; i >= 0; i--) { 110 Task t = tasks.get(i); 115 // Notify that all tasks have been removed 129 * Sets a few tasks i 134 setTasks(List<Task> tasks, boolean notifyStackChanges) argument 373 createTaskKeyMapFromList(List<Task> tasks) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ActivityStackSupervisorTests.java | 88 * stack supervisor is a test version so there will be no tasks present. We should expect 114 // Ensure full screen stack has both tasks. 135 // Ensure stacks have swapped tasks. 140 private static void ensureStackPlacement(ActivityStack stack, TaskRecord... tasks) { argument 142 assertEquals(stackTasks.size(), tasks != null ? tasks.length : 0); 144 if (tasks == null) { 148 for (TaskRecord task : tasks) {
|
H A D | RecentTasksTest.java | 176 // Add some tasks 185 // Remove some tasks 205 // Add same non-multiple-task document tasks will remove the task (to re-add it) but not 248 // Add same multiple-task document tasks does not trim the first tasks 264 // Add multiple same-affinity non-document tasks, ensure that it removes the other task, 423 // Setup some tasks for the users 431 // Assert no user tasks are initially loaded 434 // Load user 0 tasks 440 // Load user 1 tasks 810 assertTrimmed(TaskRecord... tasks) argument [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 1173 StateStress(String name, int pause, int iterations, Runnable[] tasks) { argument 1176 mTasks = tasks;
|
/frameworks/base/libs/hwui/ |
H A D | Caches.h | 157 TaskManager tasks; member in class:android::uirenderer::Caches
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
H A D | TaskGridLayoutAlgorithm.java | 64 * When the amount of tasks is determined, the size and position of every task view can be 66 * amount of tasks. 87 // If we're in portrait but task views are landscape, show more lines of fewer tasks. 94 // If we're in landscape but task views are portrait, show fewer lines of more tasks. 124 // We also need to invert the index in order to display the most recent tasks first. 160 * are k tasks. 213 // We also need to invert the index in order to display the most recent tasks first. 226 // We only show the 8 most recent tasks. 233 * @param taskCount The amount of tasks. 321 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/ |
H A D | TaskStackLowRamLayoutAlgorithm.java | 75 // Compute the top offset to center tasks in the middle of the screen 84 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { argument 90 int visibleCount = Math.min(maxVisible, tasks.size()); 101 // Calculate the static task y position 2 tasks after/below the middle/current task 115 // Calculate the static task y position 2 tasks before/above the middle/current task 147 * @param numTasks number of tasks in recents stack 174 * @return a percentage that represents the scroll from the total height of tasks 181 * Converts a percentage to the scroll value from the total height of tasks 201 * @param taskCount the amount of tasks in the recents stack 210 * @param taskCount the amount of tasks currentl [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskLaunchParamsModifier.java | 37 * and compares corners of the task with corners of existing tasks. If some two pairs of corners are 76 * we mean that two tasks have left-top corner very close to each other, so one might get 88 final ArrayList<TaskRecord> tasks = task.getStack().getAllTasks(); 95 positionCenter(tasks, mAvailableRect, getFreeformWidth(mAvailableRect), 106 positionTopRight(tasks, mAvailableRect, width, height, resultBounds); 108 positionTopLeft(tasks, mAvailableRect, width, height, resultBounds); 112 positionBottomRight(tasks, mAvailableRect, width, height, resultBounds); 114 positionBottomLeft(tasks, mAvailableRect, width, height, resultBounds); 121 positionCenter(tasks, mAvailableRect, width, height, resultBounds); 181 private void positionBottomLeft(ArrayList<TaskRecord> tasks, Rec argument 189 positionBottomRight(ArrayList<TaskRecord> tasks, Rect availableRect, int width, int height, Rect result) argument 197 positionTopLeft(ArrayList<TaskRecord> tasks, Rect availableRect, int width, int height, Rect result) argument 205 positionTopRight(ArrayList<TaskRecord> tasks, Rect availableRect, int width, int height, Rect result) argument 213 positionCenter(ArrayList<TaskRecord> tasks, Rect availableRect, int width, int height, Rect result) argument 223 position(ArrayList<TaskRecord> tasks, Rect availableRect, Rect proposal, boolean allowRestart, int shiftPolicy, Rect result) argument 285 boundsConflict(Rect proposal, ArrayList<TaskRecord> tasks) argument [all...] |
H A D | TaskPersister.java | 96 * until the image queue is drained and all tasks needing persisting are written to disk. There 140 Slog.i(TAG, "Failure deleting legacy tasks directory: " + legacyTasksDir); 397 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { argument 401 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { 402 final TaskRecord task = tasks.get(taskNdx); 412 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); 420 return tasks; 483 tasks.add(task); 515 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { 516 final TaskRecord task = tasks [all...] |
H A D | ActivityStack.java | 601 // We already have a split-screen stack in this display, so just move the tasks over. 963 /** Checks if there are tasks with specific UID in the stack. */ 1176 // It is possible for multiple tasks to have the same root affinity especially 1234 // Move userId's tasks to the top. 1945 // The visibility of tasks and the activities they contain in freeform stack are 2806 // The task can't be shown, put non-current user tasks below current user tasks. 2863 // mLaunchTaskBehind tasks get placed at the back of the task stack. 2952 // existing activities from other tasks in to it. 3296 * for remaining tasks 4222 releaseSomeActivitiesLocked(ProcessRecord app, ArraySet<TaskRecord> tasks, String reason) argument [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 240 auto file = OpenFile("tasks", O_RDWR); 253 ALOGE("CpuSet::AttachTask: Failed to open %s/tasks: %s", path_.c_str(), 260 std::vector<pid_t> tasks; local 262 if (auto file = OpenFilePointer("tasks")) { 268 tasks.push_back(task_id); 272 return tasks;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotController.java | 159 * Adds the given {@param tasks} to the list of tasks which should not have their snapshots 164 void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) { argument 165 mSkipClosingAppSnapshotTasks.addAll(tasks); 168 void snapshotTasks(ArraySet<Task> tasks) { argument 169 for (int i = tasks.size() - 1; i >= 0; i--) { 170 final Task task = tasks.valueAt(i); 303 * Retrieves all closing tasks based on the list of closing apps during an app transition.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 122 // The medium/maximum dim on the tasks 160 public VisibilityReport(int tasks, int thumbnails) { argument 161 numVisibleTasks = tasks; 221 // The paths defining the motion of the tasks when the stack is focused and unfocused 227 // The paths defining the distribution of the dim to apply to tasks in the stack when focused 440 // Return early if we have no tasks 441 ArrayList<Task> tasks = stack.getTasks(); 442 if (tasks.isEmpty()) { 449 // Filter the set of stack tasks 451 for (int i = 0; i < tasks 707 computeStackVisibilityReport(ArrayList<Task> tasks) argument [all...] |
H A D | TaskStackView.java | 223 // A convenience update listener to request updating clipping of tasks 347 * Sets the stack tasks of this TaskStackView from the given TaskStack. 353 // new and old tasks when we next layout 452 * Computes the task transforms at the current stack scroll for all visible tasks. If a valid 454 * visible range includes all tasks at the target stack scroll. This is useful for ensure that 458 * match the size of {@param tasks} 459 * @param tasks The set of tasks for which to generate transforms 464 * @param ignoreTasksSet The set of tasks to skip for purposes of calculaing the visible range. 465 * Transforms will still be calculated for the ignore tasks 469 computeVisibleTaskTransforms(ArrayList<TaskViewTransform> taskTransforms, ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, ArraySet<Task.TaskKey> ignoreTasksSet, boolean ignoreTaskOverrides) argument 705 getCurrentTaskTransforms(ArrayList<Task> tasks, ArrayList<TaskViewTransform> transformsOut) argument 728 getLayoutTaskTransforms(float stackScroll, int focusState, ArrayList<Task> tasks, boolean ignoreTaskOverrides, ArrayList<TaskViewTransform> transformsOut) argument 1358 findAnchorTask(List<Task> tasks, MutableBoolean isFrontMostTask) argument 1589 updatePrefetchingTask(ArrayList<Task> tasks, int frontIndex, int backIndex) argument 2232 matchTaskListSize(List<Task> tasks, List<TaskViewTransform> transforms) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |