Searched refs:Task (Results 1 - 25 of 63) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DCancelEnterRecentsWindowAnimationEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task launchTask;
31 public CancelEnterRecentsWindowAnimationEvent(Task launchTask) {
H A DLaunchTvTaskEvent.java21 import com.android.systemui.recents.model.Task;
27 public final Task task;
31 public LaunchTvTaskEvent(TaskCardView taskView, Task task, Rect targetTaskBounds,
H A DLaunchTaskEvent.java22 import com.android.systemui.recents.model.Task;
31 public final Task task;
36 public LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, int targetTaskStack,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
H A DDeleteTaskDataEvent.java20 import com.android.systemui.recents.model.Task;
23 * This is sent when the data associated with a given {@link Task} should be deleted from the
28 public final Task task;
30 public DeleteTaskDataEvent(Task task) {
H A DShowApplicationInfoEvent.java20 import com.android.systemui.recents.model.Task;
23 * This is sent when a user wants to show the application info for a {@link Task}.
27 public final Task task;
29 public ShowApplicationInfoEvent(Task task) {
H A DTaskViewDismissedEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
33 public TaskViewDismissedEvent(Task task, TaskView taskView, AnimationProps animation) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragDropTargetChangedEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) {
H A DDragEndEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) {
H A DDragStartEvent.java22 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) {
H A DDragStartInitializeDropTargetsEvent.java20 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView,
H A DDragEndCancelledEvent.java20 import com.android.systemui.recents.model.Task;
31 public final Task task;
34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskGrouping.java13 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) {
33 void removeTask(Task t) {
48 public Task.TaskKey getNextTaskInGroup(Task t) {
57 public Task.TaskKey getPrevTaskInGroup(Task
[all...]
H A DTaskStack.java78 public boolean acceptTask(SparseArray<Task> taskIdMap, Task t, int index);
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);
110 void add(Task t) {
118 public void moveTaskToStack(Task task, int insertIndex, int newStackId) {
135 void set(List<Task> tasks) {
142 boolean remove(Task
[all...]
H A DTaskKeyLruCache.java27 * A mapping of {@link Task.TaskKey} to value, with additional LRU functionality where the least
37 public void onEntryEvicted(Task.TaskKey key);
42 private final SparseArray<Task.TaskKey> mKeys = new SparseArray<>();
68 final V get(Task.TaskKey key) {
76 final V getAndInvalidateIfModified(Task.TaskKey key) {
77 Task.TaskKey lastKey = mKeys.get(key.id);
93 final void put(Task.TaskKey key, V value) {
103 final void remove(Task.TaskKey key) {
H A DRecentsTaskLoadPlan.java129 ArrayList<Task> allTasks = new ArrayList<>();
135 SparseArray<Task.TaskKey> affiliatedTasks = new SparseArray<>();
154 Task.TaskKey taskKey = new Task.TaskKey(t.persistentId, t.stackId, t.baseIntent,
196 Task task = new Task(taskKey, t.affiliatedTaskId, t.affiliatedTaskColor, icon,
224 ArrayList<Task> tasks = mStack.getStackTasks();
227 Task task = tasks.get(i);
228 Task.TaskKey taskKey = task.key;
H A DRecentsTaskLoader.java47 * A Task load queue
50 ConcurrentLinkedQueue<Task> mQueue = new ConcurrentLinkedQueue<Task>();
53 void addTask(Task t) {
66 Task nextTask() {
71 void removeTask(Task t) {
87 * Task resource loader
167 final Task t = mLoadQueue.nextTask();
282 public void onEntryEvicted(Task.TaskKey key) {
364 public void loadTaskData(Task
[all...]
/frameworks/base/libs/hwui/thread/
H A DTask.h35 class Task: public TaskBase { class in namespace:android::uirenderer
37 Task(): mFuture(new Future<T>()) { } function in class:android::uirenderer::Task
38 virtual ~Task() { }
H A DTaskProcessor.h22 #include "Task.h"
42 void add(const sp<Task<T> >& task) {
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());
57 // sp<Task<T> > realTask = static_cast<sp<Task<T> > >(task);
65 bool TaskProcessor<T>::addImpl(const sp<Task<T> >& task) {
H A DTaskManager.h32 class Task;
62 bool addTask(const sp<Task<T> >& task, const sp<TaskProcessor<T> >& processor) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DTaskStackHorizontalViewAdapter.java31 import com.android.systemui.recents.model.Task;
44 private List<Task> mTaskList;
49 private Task mTask;
55 public void init(Task task) {
79 final Task task) {
102 mTaskList = new ArrayList<Task>(tasks);
122 Task task = mTaskList.get(position);
133 public void removeTask(Task task) {
145 public int getPositionOfTask(Task task) {
155 public void addTaskAt(Task tas
[all...]
H A DTaskStackHorizontalGridView.java29 import com.android.systemui.recents.model.Task;
35 * Horizontal Grid View Implementation to show the Task Stack for TV.
41 private Task mFocusedTask;
88 public Task getFocusedTask() {
99 public TaskCardView getChildViewForTask(Task task) {
137 public void onStackTaskAdded(TaskStack stack, Task newTask) {
143 public void onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask,
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DPipeManager.java46 final Task task = new ImportFileTask(model, identifier);
52 final Task task = new GetThumbnailTask(model, identifier);
57 private static abstract class Task implements Runnable { class in class:PipeManager
62 Task(MtpManager manager, Identifier identifier) throws IOException { method in class: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/views/
H A DFreeformWorkspaceLayoutAlgorithm.java24 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) {
70 Task task = freeformTasks.get(i);
110 // Task is OK in this row
124 Task task = freeformTasks.get(i);
142 public boolean isTransformAvailable(Task task, TaskStackLayoutAlgorithm stackLayout) {
153 public TaskViewTransform getTransform(Task task, TaskViewTransform transformOut,
H A DTaskStackView.java97 import com.android.systemui.recents.model.Task;
114 ViewPool.ViewPoolConsumer<TaskView, Task> {
154 private ViewPool<TaskView, Task> mViewPool;
158 private ArraySet<Task.TaskKey> mIgnoreTasks = new ArraySet<>();
164 private Task mFocusedTask;
208 private ArrayMap<Task.TaskKey, TaskView> mTmpTaskViewMap = new ArrayMap<>();
424 Task task = tv.getTask();
436 public TaskView getChildViewForTask(Task t) {
468 void addIgnoreTask(Task task) {
475 void removeIgnoreTask(Task tas
[all...]
/frameworks/base/libs/hwui/tests/microbench/
H A DTaskManagerBench.cpp19 #include "thread/Task.h"
28 class TrivialTask : public Task<char> {};
35 virtual void onProcess(const sp<Task<char> >& task) override {

Completed in 1388 milliseconds

123