Searched defs:tasks (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/tests/microbench/
H A DTaskManagerBench.cpp42 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 DAppButtonData.java29 // 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 DTaskManager.cpp92 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/src/com/android/systemui/recents/tv/views/
H A DTaskStackHorizontalViewAdapter.java101 public TaskStackHorizontalViewAdapter(List tasks) { argument
102 mTaskList = new ArrayList<Task>(tasks);
105 public void setNewStackTasks(List tasks) { argument
107 mTaskList.addAll(tasks);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java1262 StateStress(String name, int pause, int iterations, Runnable[] tasks) { argument
1265 mTasks = tasks;
/frameworks/base/libs/hwui/
H A DCaches.h161 TaskManager tasks; member in class:android::uirenderer::Caches
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DTestScheduledExecutorService.java87 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
93 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, argument
99 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
105 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java256 * 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/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java36 * 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 DTaskPersister.java93 * until the image queue is drained and all tasks needing persisting are written to disk. There
137 Slog.i(TAG, "Failure deleting legacy tasks directory: " + legacyTasksDir);
394 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { argument
398 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
399 final TaskRecord task = tasks.get(taskNdx);
409 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>();
417 return tasks;
462 tasks.add(task);
494 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
495 final TaskRecord task = tasks
[all...]
H A DActivityStack.java813 // It is possible for multiple tasks to have the same root affinity especially
873 // Move userId's tasks to the top.
1463 ArrayList<TaskRecord> tasks = stack.mTaskHistory;
1464 int taskNdx = tasks.indexOf(task);
1472 tasks = historyStack.mTaskHistory;
1473 final int numTasks = tasks.size();
1475 final TaskRecord currentTask = tasks.get(taskNdx);
1782 // The visibility of tasks and the activities they contain in freeform stack are
1803 // We don't want any other tasks in the home stack visible if the recents
2573 // Put non-current user tasks belo
3872 releaseSomeActivitiesLocked(ProcessRecord app, ArraySet<TaskRecord> tasks, String reason) argument
[all...]
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py389 def __init__(self, type, tasks):
391 self.tasks = tasks
400 for t in self.tasks:
407 tasks = [
417 return CompoundTask(TASK_DISABLE_OVERLAYS, tasks)
420 tasks = [
427 return CompoundTask(TASK_ENABLE_SINGLE_OVERLAY, tasks)
430 tasks = [
439 return CompoundTask(TASK_ENABLE_MULTIPLE_OVERLAYS, tasks)
569 tasks = [] variable
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java82 * 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 */
645 setTasks(Context context, List<Task> tasks, boolean notifyStackChanges) argument
1035 createTaskKeyMapFromList(List<Task> tasks) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java120 // The medium/maximum dim on the tasks
221 VisibilityReport(int tasks, int thumbnails) { argument
222 numVisibleTasks = tasks;
287 // The paths defining the motion of the tasks when the stack is focused and unfocused
293 // The paths defining the distribution of the dim to apply to tasks in the stack when focused
487 // Return early if we have no tasks
488 ArrayList<Task> tasks = stack.getStackTasks();
489 if (tasks.isEmpty()) {
496 // Filter the set of freeform and stack tasks
499 for (int i = 0; i < tasks
754 computeStackVisibilityReport(ArrayList<Task> tasks) argument
[all...]
H A DTaskStackView.java206 // A convenience update listener to request updating clipping of tasks
342 * Sets the stack tasks of this TaskStackView from the given TaskStack.
348 // new and old tasks when we next layout
388 * stack tasks)
453 * Computes the task transforms at the current stack scroll for all visible tasks. If a valid
455 * visible range includes all tasks at the target stack scroll. This is useful for ensure that
458 * This call ignores freeform tasks.
461 * match the size of {@param tasks}
462 * @param tasks The set of tasks fo
472 computeVisibleTaskTransforms(ArrayList<TaskViewTransform> taskTransforms, ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, ArraySet<Task.TaskKey> ignoreTasksSet, boolean ignoreTaskOverrides) argument
718 getCurrentTaskTransforms(ArrayList<Task> tasks, ArrayList<TaskViewTransform> transformsOut) argument
741 getLayoutTaskTransforms(float stackScroll, int focusState, ArrayList<Task> tasks, boolean ignoreTaskOverrides, ArrayList<TaskViewTransform> transformsOut) argument
1346 findAnchorTask(List<Task> tasks, MutableBoolean isFrontMostTask) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java1170 final ArrayList<Task> tasks = displayContent.getTasks();
1173 for (taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
1174 AppTokenList tokens = tasks.get(taskNdx).mAppTokens;
1182 tokenNdx = tasks.get(taskNdx).mAppTokens.size() - 1;
1226 AppTokenList tokens = tasks.get(taskNdx).mAppTokens;
3223 public void validateAppTokens(int stackId, List<TaskGroup> tasks) { argument
3225 int t = tasks.size() - 1;
3231 TaskGroup task = tasks.get(0);
3244 task = tasks.get(t);
3276 Slog.w(TAG_WM, "validateAppTokens: Mismatch! ActivityManager=" + tasks);
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 443 milliseconds