/frameworks/base/libs/hwui/tests/microbench/ |
H A D | TaskManagerBench.cpp | 42 std::vector<sp<TrivialTask> > tasks; local 43 tasks.reserve(state.max_iterations); 46 tasks.emplace_back(new TrivialTask); 47 benchmark::DoNotOptimize(tasks.back()); 55 std::vector<sp<TrivialTask> > tasks; local 56 tasks.reserve(state.max_iterations); 59 tasks.emplace_back(new TrivialTask); 60 benchmark::DoNotOptimize(tasks.back()); 61 processor->add(tasks.back()); 64 for (sp<TrivialTask>& task : tasks) { 73 std::vector<sp<TrivialTask> > 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/services/tests/servicestests/src/com/android/server/am/ |
H A D | ActivityStackSupervisorTests.java | 55 * stack supervisor is a test version so there will be no tasks present. We should expect 85 // Ensure full screen stack has both tasks. 101 // Ensure stacks have swapped tasks. 107 TaskRecord... tasks) { 110 assertEquals(stackTasks.size(), tasks != null ? tasks.length : 0); 112 if (tasks == null) { 116 for (TaskRecord task : tasks) { 106 ensureStackPlacement(ActivityStackSupervisor supervisor, int stackId, TaskRecord... tasks) argument
|
/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/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 1134 StateStress(String name, int pause, int iterations, Runnable[] tasks) { argument 1137 mTasks = tasks;
|
/frameworks/base/libs/hwui/ |
H A D | Caches.h | 165 TaskManager tasks; member in class:android::uirenderer::Caches
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 256 * Updates {@param transforms} to be the same size as {@param tasks}. 258 public static void matchTaskListSize(List<Task> tasks, List<TaskViewTransform> transforms) { argument 261 int taskCount = tasks.size(); 263 // If there are less transforms than tasks, then add as many transforms as necessary 268 // If there are more transforms than tasks, then just subset the transform list
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
H A D | TaskGridLayoutAlgorithm.java | 65 * When the amount of tasks is determined, the size and position of every task view can be 67 * amount of tasks. 88 // If we're in portrait but task views are landscape, show more lines of fewer tasks. 95 // If we're in landscape but task views are portrait, show fewer lines of more tasks. 125 // We also need to invert the index in order to display the most recent tasks first. 161 * are k tasks. 214 // We also need to invert the index in order to display the most recent tasks first. 227 // We only show the 8 most recent tasks. 234 * @param taskCount The amount of tasks. 322 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchingTaskPositioner.java | 36 * and compares corners of the task with corners of existing tasks. If some two pairs of corners are 107 * we mean that two tasks have left-top corner very close to each other, so one might get 111 * @param tasks Existing tasks with which we don't want to collide. 115 void updateDefaultBounds(TaskRecord task, ArrayList<TaskRecord> tasks, argument 121 positionCenter(task, tasks, mDefaultFreeformWidth, mDefaultFreeformHeight); 130 positionTopRight(task, tasks, width, height); 132 positionTopLeft(task, tasks, width, height); 136 positionBottomRight(task, tasks, width, height); 138 positionBottomLeft(task, tasks, widt 171 positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 178 positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 185 positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 192 positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 199 positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 206 position(TaskRecord task, ArrayList<TaskRecord> tasks, Rect proposal, boolean allowRestart, int shiftPolicy) argument 265 boundsConflict(Rect proposal, ArrayList<TaskRecord> tasks) argument [all...] |
H A D | TaskPersister.java | 99 * until the image queue is drained and all tasks needing persisting are written to disk. There 143 Slog.i(TAG, "Failure deleting legacy tasks directory: " + legacyTasksDir); 400 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { argument 404 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { 405 final TaskRecord task = tasks.get(taskNdx); 415 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); 423 return tasks; 487 tasks.add(task); 519 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { 520 final TaskRecord task = tasks [all...] |
H A D | ActivityStack.java | 781 /** Checks if there are tasks with specific UID in the stack. */ 1007 // It is possible for multiple tasks to have the same root affinity especially 1065 // Move userId's tasks to the top. 1536 ArrayList<TaskRecord> tasks = stack.mTaskHistory; 1537 int taskNdx = tasks.indexOf(task); 1545 tasks = historyStack.mTaskHistory; 1546 final int numTasks = tasks.size(); 1548 final TaskRecord currentTask = tasks.get(taskNdx); 1676 // A case would be if recents stack exists but has no tasks and is below the docked stack 1869 // The visibility of tasks an 4135 releaseSomeActivitiesLocked(ProcessRecord app, ArraySet<TaskRecord> tasks, String reason) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotController.java | 131 private void snapshotTasks(ArraySet<Task> tasks) { argument 132 for (int i = tasks.size() - 1; i >= 0; i--) { 133 final Task task = tasks.valueAt(i); 208 * Retrieves all closing tasks based on the list of closing apps during an app transition.
|
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 237 auto file = OpenFile("tasks", O_RDWR); 246 ALOGE("CpuSet::AttachTask: Failed to open %s/tasks: %s", path_.c_str(), 253 std::vector<pid_t> tasks; local 255 if (auto file = OpenFilePointer("tasks")) { 261 tasks.push_back(task_id); 265 return tasks;
|
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 408 def __init__(self, type, tasks): 410 self.tasks = tasks 419 for t in self.tasks: 426 tasks = [ 440 return CompoundTask(TASK_DISABLE_OVERLAYS, tasks) 443 tasks = [ 450 return CompoundTask(TASK_ENABLE_SINGLE_OVERLAY, tasks) 453 tasks = [ 463 return CompoundTask(TASK_ENABLE_MULTIPLE_OVERLAYS, tasks) 610 tasks = [] variable [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 82 * A list of filtered tasks. 129 // filtered tasks 134 /** Sets the list of tasks */ 135 void set(List<Task> tasks) { argument 137 mTasks.addAll(tasks); 151 /** Returns the index of this task in the list of filtered tasks */ 159 /** Returns the size of the list of filtered tasks */ 169 /** Updates the list of filtered tasks whenever the base task list changes */ 193 /** Updates the mapping of tasks to indices. */ 208 /** Returns the list of filtered tasks */ 686 setTasks(Context context, List<Task> tasks, boolean notifyStackChanges) argument 1120 createTaskKeyMapFromList(List<Task> tasks) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 120 // The medium/maximum dim on the tasks 227 public VisibilityReport(int tasks, int thumbnails) { argument 228 numVisibleTasks = tasks; 296 // The paths defining the motion of the tasks when the stack is focused and unfocused 302 // The paths defining the distribution of the dim to apply to tasks in the stack when focused 514 // Return early if we have no tasks 515 ArrayList<Task> tasks = stack.getStackTasks(); 516 if (tasks.isEmpty()) { 523 // Filter the set of freeform and stack tasks 526 for (int i = 0; i < tasks 792 computeStackVisibilityReport(ArrayList<Task> tasks) argument [all...] |
H A D | TaskStackView.java | 230 // A convenience update listener to request updating clipping of tasks 382 * Sets the stack tasks of this TaskStackView from the given TaskStack. 388 // new and old tasks when we next layout 427 * stack tasks) 497 * Computes the task transforms at the current stack scroll for all visible tasks. If a valid 499 * visible range includes all tasks at the target stack scroll. This is useful for ensure that 502 * This call ignores freeform tasks. 505 * match the size of {@param tasks} 506 * @param tasks The set of tasks fo 516 computeVisibleTaskTransforms(ArrayList<TaskViewTransform> taskTransforms, ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, ArraySet<Task.TaskKey> ignoreTasksSet, boolean ignoreTaskOverrides) argument 764 getCurrentTaskTransforms(ArrayList<Task> tasks, ArrayList<TaskViewTransform> transformsOut) argument 787 getLayoutTaskTransforms(float stackScroll, int focusState, ArrayList<Task> tasks, boolean ignoreTaskOverrides, ArrayList<TaskViewTransform> transformsOut) argument 1439 findAnchorTask(List<Task> tasks, MutableBoolean isFrontMostTask) argument 1709 updatePrefetchingTask(ArrayList<Task> tasks, int frontIndex, int backIndex) 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. ... |