Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java78 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 …]
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) { 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 …]
DTaskKeyLruCache.java37 public void onEntryEvicted(Task.TaskKey key); in onEntryEvicted()
42 private final SparseArray<Task.TaskKey> mKeys = new SparseArray<>();
68 final V get(Task.TaskKey key) { in get()
76 final V getAndInvalidateIfModified(Task.TaskKey key) { in getAndInvalidateIfModified()
77 Task.TaskKey lastKey = mKeys.get(key.id); in getAndInvalidateIfModified()
93 final void put(Task.TaskKey key, V value) { in put()
103 final void remove(Task.TaskKey key) { in remove()
DRecentsTaskLoader.java50 ConcurrentLinkedQueue<Task> mQueue = new ConcurrentLinkedQueue<Task>();
53 void addTask(Task t) { in addTask()
66 Task nextTask() { in nextTask()
71 void removeTask(Task t) { in removeTask()
167 final Task t = mLoadQueue.nextTask(); in run()
278 public void onEntryEvicted(Task.TaskKey key) {
360 public void loadTaskData(Task t) { in loadTaskData()
382 public void unloadTaskData(Task t) { in unloadTaskData()
388 public void deleteTaskData(Task t, boolean notifyTaskDataUnloaded) { in deleteTaskData()
454 String getAndUpdateActivityTitle(Task.TaskKey taskKey, ActivityManager.TaskDescription td) { in getAndUpdateActivityTitle()
[all …]
DRecentsTaskLoadPlan.java126 ArrayList<Task> allTasks = new ArrayList<>(); in preloadPlan()
131 SparseArray<Task.TaskKey> affiliatedTasks = new SparseArray<>(); in preloadPlan()
148 Task.TaskKey taskKey = new Task.TaskKey(t.persistentId, t.stackId, t.baseIntent, in preloadPlan()
182 Task task = new Task(taskKey, t.affiliatedTaskId, t.affiliatedTaskColor, icon, in preloadPlan()
210 ArrayList<Task> tasks = mStack.getStackTasks(); in executePlan()
213 Task task = tasks.get(i); in executePlan()
214 Task.TaskKey taskKey = task.key; in executePlan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DTaskStackHorizontalViewAdapter.java31 import com.android.systemui.recents.model.Task;
44 private List<Task> mTaskList;
49 private Task mTask;
55 public void init(Task task) { in init()
79 final Task task) { in getRemoveAtListener()
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 task, int position) {
DTaskStackHorizontalGridView.java29 import com.android.systemui.recents.model.Task;
41 private Task mFocusedTask;
88 public Task getFocusedTask() { in getFocusedTask()
99 public TaskCardView getChildViewForTask(Task task) { in getChildViewForTask()
137 public void onStackTaskAdded(TaskStack stack, Task newTask) { in onStackTaskAdded()
143 public void onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask, in onStackTaskRemoved()
/frameworks/base/libs/hwui/thread/
DTaskProcessor.h42 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()
DTask.h35 class Task: public TaskBase {
37 Task(): mFuture(new Future<T>()) { } in Task() function
38 virtual ~Task() { } in ~Task()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java46 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/views/
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) { 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()
DTaskStackView.java92 import com.android.systemui.recents.model.Task;
106 ViewPool.ViewPoolConsumer<TaskView, Task> {
146 private ViewPool<TaskView, Task> mViewPool;
150 private ArraySet<Task.TaskKey> mIgnoreTasks = new ArraySet<>();
156 private Task mFocusedTask;
198 private ArrayMap<Task.TaskKey, TaskView> mTmpTaskViewMap = new ArrayMap<>();
395 Task task = tv.getTask(); in getFrontMostTaskView()
407 public TaskView getChildViewForTask(Task t) { in getChildViewForTask()
434 void addIgnoreTask(Task task) { in addIgnoreTask()
441 void removeIgnoreTask(Task task) { in removeIgnoreTask()
[all …]
DTaskStackAnimationHelper.java37 import com.android.systemui.recents.model.Task;
131 Task launchTargetTask = stack.getLaunchTarget(); in prepareForEnterAnimation()
150 Task task = tv.getTask(); in prepareForEnterAnimation()
204 Task launchTargetTask = stack.getLaunchTarget(); in startEnterAnimation()
225 Task task = tv.getTask(); in startEnterAnimation()
314 Task task = tv.getTask(); in startExitToHomeAnimation()
355 Task launchingTask = launchingTaskView.getTask(); in startLaunchTaskAnimation()
360 Task task = tv.getTask(); in startLaunchTaskAnimation()
463 public boolean startScrollToFocusedTaskAnimation(Task newFocusedTask, in startScrollToFocusedTaskAnimation()
477 ArrayList<Task> stackTasks = stack.getStackTasks(); in startScrollToFocusedTaskAnimation()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags17 30001 am_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
19 30002 am_task_to_front (User|1|5),(Task|1|5)
21 30003 am_new_intent (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3…
23 30004 am_create_task (User|1|5),(Task ID|1|5)
25 30005 am_create_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME T…
27 30006 am_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
29 30007 am_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
51 30018 am_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
53 30019 am_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
55 30020 am_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
DCancelEnterRecentsWindowAnimationEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task launchTask;
31 public CancelEnterRecentsWindowAnimationEvent(Task launchTask) { in CancelEnterRecentsWindowAnimationEvent()
DLaunchTvTaskEvent.java21 import com.android.systemui.recents.model.Task;
27 public final Task task;
31 public LaunchTvTaskEvent(TaskCardView taskView, Task task, Rect targetTaskBounds, in LaunchTvTaskEvent()
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, in LaunchTaskEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
DShowApplicationInfoEvent.java20 import com.android.systemui.recents.model.Task;
27 public final Task task;
29 public ShowApplicationInfoEvent(Task task) { in ShowApplicationInfoEvent()
DDeleteTaskDataEvent.java20 import com.android.systemui.recents.model.Task;
28 public final Task task;
30 public DeleteTaskDataEvent(Task task) { in DeleteTaskDataEvent()
DTaskViewDismissedEvent.java20 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/ui/dragndrop/
DDragDropTargetChangedEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
32 public DragDropTargetChangedEvent(Task task, DropTarget dropTarget) { in DragDropTargetChangedEvent()
DDragStartEvent.java22 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartEvent(Task task, TaskView taskView, Point tlOffset) { in DragStartEvent()
DDragStartInitializeDropTargetsEvent.java20 import com.android.systemui.recents.model.Task;
30 public final Task task;
34 public DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, in DragStartInitializeDropTargetsEvent()
DDragEndEvent.java20 import com.android.systemui.recents.model.Task;
29 public final Task task;
33 public DragEndEvent(Task task, TaskView taskView, DropTarget dropTarget) { in DragEndEvent()
DDragEndCancelledEvent.java20 import com.android.systemui.recents.model.Task;
31 public final Task task;
34 public DragEndCancelledEvent(TaskStack stack, Task task, TaskView taskView) { in DragEndCancelledEvent()

1234