/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 78 public boolean acceptTask(SparseArray<Task> taskIdMap, Task t, int index); in acceptTask() 86 ArrayList<Task> mTasks = new ArrayList<>(); 87 ArrayList<Task> mFilteredTasks = new ArrayList<>(); 88 ArrayMap<Task.TaskKey, Integer> mTaskIndices = new ArrayMap<>(); 93 ArrayList<Task> prevFilteredTasks = new ArrayList<>(mFilteredTasks); in setFilter() 110 void add(Task t) { in add() 118 public void moveTaskToStack(Task task, int insertIndex, int newStackId) { in moveTaskToStack() 135 void set(List<Task> tasks) { in set() 142 boolean remove(Task t) { in remove() 152 int indexOf(Task t) { in indexOf() [all …]
|
D | TaskGrouping.java | 13 Task.TaskKey mFrontMostTaskKey; 14 ArrayList<Task.TaskKey> mTaskKeys = new ArrayList<Task.TaskKey>(); 15 ArrayMap<Task.TaskKey, Integer> mTaskKeyIndices = new ArrayMap<>(); 23 void addTask(Task t) { in addTask() 33 void removeTask(Task t) { in removeTask() 48 public Task.TaskKey getNextTaskInGroup(Task t) { in getNextTaskInGroup() 57 public Task.TaskKey getPrevTaskInGroup(Task t) { in getPrevTaskInGroup() 66 public boolean isFrontMostTask(Task t) { in isFrontMostTask() 71 public int indexOf(Task t) { in indexOf() 76 public boolean containsTask(Task t) { in containsTask() [all …]
|
D | HighResThumbnailLoader.java | 29 import com.android.systemui.recents.model.Task.TaskCallbacks; 40 private final ArrayDeque<Task> mLoadQueue = new ArrayDeque<>(); 42 private final ArraySet<Task> mLoadingTasks = new ArraySet<>(); 46 private final ArrayList<Task> mVisibleTasks = new ArrayList<>(); 110 Task t = mVisibleTasks.get(i); in startLoading() 131 public void onTaskVisible(Task t) { in onTaskVisible() 146 public void onTaskInvisible(Task t) { in onTaskInvisible() 167 public void onTaskDataLoaded(Task task, ThumbnailData thumbnailData) { in onTaskDataLoaded() 189 Task next = null; 212 private void loadTask(Task t) {
|
D | TaskKeyCache.java | 22 import com.android.systemui.recents.model.Task.TaskKey; 37 final V get(Task.TaskKey key) { in get() 45 final V getAndInvalidateIfModified(Task.TaskKey key) { in getAndInvalidateIfModified() 46 Task.TaskKey lastKey = mKeys.get(key.id); in getAndInvalidateIfModified() 62 final void put(Task.TaskKey key, V value) { in put() 73 final void remove(Task.TaskKey key) { in remove()
|
D | RecentsTaskLoader.java | 53 ConcurrentLinkedQueue<Task> mQueue = new ConcurrentLinkedQueue<Task>(); 56 void addTask(Task t) { in addTask() 69 Task nextTask() { in nextTask() 74 void removeTask(Task t) { in removeTask() 203 final Task t = mLoadQueue.nextTask(); in processLoadQueueItem() 283 public void onEntryEvicted(Task.TaskKey key) { 382 public void loadTaskData(Task t) { in loadTaskData() 390 public void unloadTaskData(Task t) { in unloadTaskData() 396 public void deleteTaskData(Task t, boolean notifyTaskDataUnloaded) { in deleteTaskData() 450 String getAndUpdateActivityTitle(Task.TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateActivityTitle() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GapWorkerTest.java | 84 ArrayList<GapWorker.Task> list = new ArrayList<>(); in taskOrderViewPresence() 85 list.add(new GapWorker.Task()); in taskOrderViewPresence() 86 list.add(new GapWorker.Task()); in taskOrderViewPresence() 87 list.add(new GapWorker.Task()); in taskOrderViewPresence() 101 ArrayList<GapWorker.Task> list = new ArrayList<>(); in taskOrderImmediate() 102 list.add(new GapWorker.Task()); in taskOrderImmediate() 103 list.add(new GapWorker.Task()); in taskOrderImmediate() 104 list.add(new GapWorker.Task()); in taskOrderImmediate() 119 ArrayList<GapWorker.Task> list = new ArrayList<>(); in taskOrderImmediateVelocity() 120 list.add(new GapWorker.Task()); in taskOrderImmediateVelocity() [all …]
|
/frameworks/base/libs/hwui/thread/ |
D | TaskProcessor.h | 42 void add(const sp<Task<T> >& task) { in add() 49 virtual void onProcess(const sp<Task<T> >& task) = 0; 52 bool addImpl(const sp<Task<T> >& task); 55 sp<Task<T> > realTask = static_cast<Task<T>* >(task.get()); in process() 65 bool TaskProcessor<T>::addImpl(const sp<Task<T> >& task) { in addImpl()
|
D | Task.h | 35 class Task: public TaskBase { 37 Task(): mFuture(new Future<T>()) { } in Task() function 38 virtual ~Task() { } in ~Task()
|
/frameworks/native/services/vr/performanced/ |
D | task.h | 22 class Task { 24 explicit Task(pid_t task_id); 76 Task(const Task&) = delete; 77 void operator=(const Task&) = delete;
|
D | task.cpp | 44 Task::Task(pid_t task_id) in Task() function in android::dvr::Task 62 base::unique_fd Task::OpenTaskFile(const std::string& name) const { in OpenTaskFile() 68 UniqueFile Task::OpenTaskFilePointer(const std::string& name) const { in OpenTaskFilePointer() 85 std::string Task::GetStatusField(const std::string& field) const { in GetStatusField() 109 void Task::ReadStatusFields() { in ReadStatusFields() 148 std::string Task::GetCpuSetPath() const { in GetCpuSetPath()
|
D | performance_service.cpp | 39 Task task(getpid()); in PerformanceService() 41 task.user_id()[Task::kUidReal], task.group_id()[Task::kUidReal]); in PerformanceService() 118 Task task(task_id); in OnSetCpuPartition() 136 Task task(task_id); in OnSetSchedulerClass() 166 Task task(task_id); in OnGetCpuPartition()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | PipeManager.java | 46 final Task task = new ImportFileTask(model, identifier); in readDocument() 52 final Task task = new GetThumbnailTask(model, identifier); in readThumbnail() 57 private static abstract class Task implements Runnable { class in PipeManager 62 Task(MtpManager manager, Identifier identifier) throws IOException { in Task() method in PipeManager.Task 73 private static class ImportFileTask extends Task { 94 private static class GetThumbnailTask extends Task {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/ |
D | DragStartEvent.java | 22 import com.android.systemui.recents.model.Task; 30 public final Task task; 35 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) { in DragStartEvent() 39 public DragStartEvent(Task task, TaskView taskView, Point tlOffset, in DragStartEvent()
|
D | DragDropTargetChangedEvent.java | 20 import com.android.systemui.recents.model.Task; 29 public final Task task; 32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) { in DragDropTargetChangedEvent()
|
D | DragStartInitializeDropTargetsEvent.java | 20 import com.android.systemui.recents.model.Task; 30 public final Task task; 34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, in DragStartInitializeDropTargetsEvent()
|
D | DragEndEvent.java | 20 import com.android.systemui.recents.model.Task; 29 public final Task task; 33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) { in DragEndEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskStackTests.java | 49 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testStackPositionChildAt() 50 final Task task2 = createTaskInStack(stack, 1 /* userId */); in testStackPositionChildAt() 66 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testClosingAppDifferentStackOrientation() 72 final Task task2 = createTaskInStack(stack, 1 /* userId */); in testClosingAppDifferentStackOrientation() 86 final Task task1 = createTaskInStack(stack, 0 /* userId */); in testMoveTaskToBackDifferentStackOrientation() 92 final Task task2 = createTaskInStack(stack, 1 /* userId */); in testMoveTaskToBackDifferentStackOrientation() 106 final Task task = createTaskInStack(stack, 0 /* userId */); in testStackRemoveImmediately()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FreeformWorkspaceLayoutAlgorithm.java | 24 import com.android.systemui.recents.model.Task; 35 private ArrayMap<Task.TaskKey, RectF> mTaskRectMap = new ArrayMap<>(); 56 public void update(List<Task> freeformTasks, TaskStackLayoutAlgorithm stackLayout) { in update() 70 Task task = freeformTasks.get(i); in update() 124 Task task = freeformTasks.get(i); in update() 142 public boolean isTransformAvailable(Task task, TaskStackLayoutAlgorithm stackLayout) { in isTransformAvailable() 153 public TaskViewTransform getTransform(Task task, TaskViewTransform transformOut, in getTransform()
|
D | TaskStackView.java | 102 import com.android.systemui.recents.model.Task; 119 ViewPool.ViewPoolConsumer<TaskView, Task> { 159 private ViewPool<TaskView, Task> mViewPool; 163 private ArraySet<Task.TaskKey> mIgnoreTasks = new ArraySet<>(); 169 private Task mFocusedTask; 215 private ArrayMap<Task.TaskKey, TaskView> mTmpTaskViewMap = new ArrayMap<>(); 227 private Task mPrefetchingTask; 434 Task task = tv.getTask(); in getFrontMostTaskView() 446 public TaskView getChildViewForTask(Task t) { in getChildViewForTask() 478 void addIgnoreTask(Task task) { in addIgnoreTask() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/ |
D | ShowApplicationInfoEvent.java | 20 import com.android.systemui.recents.model.Task; 27 public final Task task; 29 public ShowApplicationInfoEvent(Task task) { in ShowApplicationInfoEvent()
|
D | DeleteTaskDataEvent.java | 20 import com.android.systemui.recents.model.Task; 28 public final Task task; 30 public DeleteTaskDataEvent(Task task) { in DeleteTaskDataEvent()
|
D | TaskViewDismissedEvent.java | 20 import com.android.systemui.recents.model.Task; 29 public final Task task; 33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) { in TaskViewDismissedEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/ |
D | CancelEnterRecentsWindowAnimationEvent.java | 20 import com.android.systemui.recents.model.Task; 29 public final Task launchTask; 31 public CancelEnterRecentsWindowAnimationEvent(Task launchTask) { in CancelEnterRecentsWindowAnimationEvent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GapWorker.java | 36 static class Task { class in GapWorker 57 private ArrayList<Task> mTasks = new ArrayList<>(); 187 static Comparator<Task> sTaskComparator = new Comparator<Task>() { 189 public int compare(Task lhs, Task rhs) { 238 final Task task; in buildTaskList() 240 task = new Task(); in buildTaskList() 340 private void flushTaskWithDeadline(Task task, long deadlineNs) { in flushTaskWithDeadline() 354 final Task task = mTasks.get(i); in flushTasksWithDeadline()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | GapWorker.java | 37 static class Task { class in GapWorker 58 private ArrayList<Task> mTasks = new ArrayList<>(); 183 static Comparator<Task> sTaskComparator = new Comparator<Task>() { 185 public int compare(Task lhs, Task rhs) { 227 final Task task; in buildTaskList() 229 task = new Task(); in buildTaskList() 323 private void flushTaskWithDeadline(Task task, long deadlineNs) { in flushTaskWithDeadline() 334 final Task task = mTasks.get(i); in flushTasksWithDeadline()
|