Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java38 public boolean acceptTask(Task t, int index); in acceptTask()
45 ArrayList<Task> mTasks = new ArrayList<Task>();
46 ArrayList<Task> mFilteredTasks = new ArrayList<Task>();
47 HashMap<Task.TaskKey, Integer> mTaskIndices = new HashMap<Task.TaskKey, Integer>();
52 ArrayList<Task> prevFilteredTasks = new ArrayList<Task>(mFilteredTasks); in setFilter()
79 void add(Task t) { in add()
85 void set(List<Task> tasks) { in set()
92 boolean remove(Task t) { in remove()
102 int indexOf(Task t) { in indexOf()
115 boolean contains(Task t) { in contains()
[all …]
DTaskGrouping.java12 Task.TaskKey mFrontMostTaskKey;
13 ArrayList<Task.TaskKey> mTaskKeys = new ArrayList<Task.TaskKey>();
14 HashMap<Task.TaskKey, Integer> mTaskKeyIndices = new HashMap<Task.TaskKey, Integer>();
22 void addTask(Task t) { in addTask()
32 void removeTask(Task t) { in removeTask()
47 public Task.TaskKey getNextTaskInGroup(Task t) { in getNextTaskInGroup()
56 public Task.TaskKey getPrevTaskInGroup(Task t) { in getPrevTaskInGroup()
65 public boolean isFrontMostTask(Task t) { in isFrontMostTask()
70 public int indexOf(Task t) { in indexOf()
75 public boolean containsTask(Task t) { in containsTask()
[all …]
DKeyStoreLruCache.java32 HashMap<Integer, Task.TaskKey> mTaskKeys = new HashMap<Integer, Task.TaskKey>();
47 final V get(Task.TaskKey key) { in get()
54 final V getAndInvalidateIfModified(Task.TaskKey key) { in getAndInvalidateIfModified()
55 Task.TaskKey lastKey = mTaskKeys.get(key.id); in getAndInvalidateIfModified()
68 final void put(Task.TaskKey key, V value) { in put()
74 final void remove(Task.TaskKey key) { in remove()
DRecentsTaskLoadPlan.java64 HashMap<Task.ComponentNameKey, ActivityInfoHandle> mActivityInfoCache =
65 new HashMap<Task.ComponentNameKey, ActivityInfoHandle>();
97 ArrayList<Task> loadedTasks = new ArrayList<Task>(); in preloadPlan()
106 Task.TaskKey taskKey = new Task.TaskKey(t.persistentId, t.baseIntent, t.userId, in preloadPlan()
110 Task.ComponentNameKey cnKey = taskKey.getComponentNameKey(); in preloadPlan()
140 Task task = new Task(taskKey, (t.id != RecentsTaskLoader.INVALID_TASK_ID), in preloadPlan()
169 ArrayList<Task> tasks = mStack.getTasks(); in executePlan()
173 Task task = tasks.get(i); in executePlan()
174 Task.TaskKey taskKey = task.key; in executePlan()
177 Task.ComponentNameKey cnKey = taskKey.getComponentNameKey(); in executePlan()
DRecentsTaskLoader.java47 ConcurrentLinkedQueue<Task> mQueue = new ConcurrentLinkedQueue<Task>();
50 void addTasks(Collection<Task> tasks) { in addTasks()
51 for (Task t : tasks) { in addTasks()
62 void addTask(Task t) { in addTask()
75 Task nextTask() { in nextTask()
80 void removeTask(Task t) { in removeTask()
177 final Task t = mLoadQueue.nextTask(); in run()
251 Drawable getTaskDescriptionIcon(Task.TaskKey taskKey, Bitmap iconBitmap, String iconFilename, in getTaskDescriptionIcon()
337 public String getAndUpdateActivityLabel(Task.TaskKey taskKey, in getAndUpdateActivityLabel()
365 public Drawable getAndUpdateActivityIcon(Task.TaskKey taskKey, in getAndUpdateActivityIcon()
[all …]
DTask.java32 public class Task { class
131 public Task() { in Task() method in Task
135 public Task(TaskKey key, boolean isActive, int taskAffiliation, int taskAffiliationColor, in Task() method in Task
157 public void copyFrom(Task o) { in copyFrom()
204 Task t = (Task) o; in equals()
DRecentsPackageMonitor.java95 public HashSet<ComponentName> computeComponentsRemoved(List<Task.TaskKey> taskKeys, in computeComponentsRemoved()
101 for (Task.TaskKey t : taskKeys) { in computeComponentsRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java37 import com.android.systemui.recents.model.Task;
49 ViewPool.ViewPoolConsumer<TaskView, Task>, RecentsPackageMonitor.PackageCallbacks {
53 public void onTaskViewClicked(TaskStackView stackView, TaskView tv, TaskStack stack, Task t, in onTaskViewClicked()
55 public void onTaskViewAppInfoClicked(Task t); in onTaskViewAppInfoClicked()
56 public void onTaskViewDismissed(Task t); in onTaskViewDismissed()
70 ViewPool<TaskView, Task> mViewPool;
91 HashMap<Task, TaskView> mTmpTaskViewMap = new HashMap<Task, TaskView>();
108 mViewPool = new ViewPool<TaskView, Task>(context, this); in TaskStackView()
211 public TaskView getChildViewForTask(Task t) { in getChildViewForTask()
231 ArrayList<Task> tasks, in updateStackTransforms()
[all …]
DTaskStackViewFilterAlgorithm.java21 import com.android.systemui.recents.model.Task;
31 ViewPool<TaskView, Task> mViewPool;
34 ViewPool<TaskView, Task> viewPool) { in TaskStackViewFilterAlgorithm()
41 void startFilteringAnimation(ArrayList<Task> curTasks, in startFilteringAnimation()
43 final ArrayList<Task> tasks, in startFilteringAnimation()
98 int getEnterTransformsForFilterAnimation(ArrayList<Task> tasks, in getEnterTransformsForFilterAnimation()
105 Task task = tasks.get(i); in getEnterTransformsForFilterAnimation()
136 int getExitTransformsForFilterAnimation(ArrayList<Task> curTasks, in getExitTransformsForFilterAnimation()
138 … ArrayList<Task> tasks, ArrayList<TaskViewTransform> taskTransforms, in getExitTransformsForFilterAnimation()
148 Task task = tv.getTask(); in getExitTransformsForFilterAnimation()
DTaskStackViewLayoutAlgorithm.java22 import com.android.systemui.recents.model.Task;
64 HashMap<Task.TaskKey, Float> mTaskProgressMap = new HashMap<Task.TaskKey, Float>();
106 void computeMinMaxScroll(ArrayList<Task> tasks, boolean launchedWithAltTab, in computeMinMaxScroll()
140 Task task = tasks.get(i); in computeMinMaxScroll()
166 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { in computeStackVisibilityReport()
178 Task task = tasks.get(i); in computeStackVisibilityReport()
214 public TaskViewTransform getStackTransform(Task task, float stackScroll, in getStackTransform()
269 float getStackScrollForTask(Task t) { in getStackScrollForTask()
DRecentsView.java40 import com.android.systemui.recents.model.Task;
166 Task task = tv.getTask(); in launchFocusedTask()
186 ArrayList<Task> tasks = stack.getTasks(); in launchPreviousTask()
193 Task task = tasks.get(j); in launchPreviousTask()
405 … final TaskStack stack, final Task task, final boolean lockToTask) { in onTaskViewClicked()
525 public void onTaskViewAppInfoClicked(Task t) { in onTaskViewAppInfoClicked()
537 public void onTaskViewDismissed(Task t) { in onTaskViewDismissed()
DTaskView.java33 import com.android.systemui.recents.model.Task;
37 public class TaskView extends FrameLayout implements Task.TaskCallbacks,
44 public void onTaskViewClicked(TaskView tv, Task task, boolean lockToTask); in onTaskViewClicked()
61 Task mTask;
124 Task getTask() { in getTask()
647 public void onTaskBound(Task t) { in onTaskBound()
/frameworks/base/libs/hwui/thread/
DTaskProcessor.h45 bool add(const sp<Task<T> >& task);
47 virtual void onProcess(const sp<Task<T> >& task) = 0;
51 sp<Task<T> > realTask = static_cast<Task<T>* >(task.get()); in process()
61 bool TaskProcessor<T>::add(const sp<Task<T> >& task) { in add()
DTask.h35 class Task: public TaskBase {
37 Task(): mFuture(new Future<T>()) { } in Task() function
38 virtual ~Task() { } in ~Task()
DTaskManager.h31 class Task; variable
61 bool addTask(const sp<Task<T> >& task, const sp<TaskProcessor<T> >& processor) { in addTask()
/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/libs/hwui/
DPathCache.h82 sp<Task<SkBitmap*> > task() const { in task()
86 void setTask(const sp<Task<SkBitmap*> >& task) { in setTask()
97 sp<Task<SkBitmap*> > mTask;
272 class PathTask: public Task<SkBitmap*> {
296 virtual void onProcess(const sp<Task<SkBitmap*> >& task);
DTessellationCache.h179 LruCache<ShadowDescription, Task<vertexBuffer_pair_t*>*> mShadowCache;
180 …class BufferPairRemovedListener : public OnEntryRemoved<ShadowDescription, Task<vertexBuffer_pair_…
181 … void operator()(ShadowDescription& description, Task<vertexBuffer_pair_t*>*& bufferPairTask) { in operator()
DTessellationCache.cpp98 class TessellationCache::TessellationTask : public Task<VertexBuffer*> {
117 virtual void onProcess(const sp<Task<VertexBuffer*> >& task) { in onProcess()
127 Buffer(const sp<Task<VertexBuffer*> >& task) in Buffer()
155 sp<Task<VertexBuffer*> > mTask;
163 class ShadowTask : public Task<TessellationCache::vertexBuffer_pair_t*> {
281 virtual void onProcess(const sp<Task<TessellationCache::vertexBuffer_pair_t*> >& task) { in onProcess()
303 … , mShadowCache(LruCache<ShadowDescription, Task<vertexBuffer_pair_t*>*>::kUnlimitedCapacity) { in TessellationCache()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java48 private final ArrayList<Task> mTasks = new ArrayList<Task>();
93 ArrayList<Task> getTasks() { in getTasks()
172 void addTask(Task task, boolean toTop) { in addTask()
198 void moveTaskToTop(Task task) { in moveTaskToTop()
205 void moveTaskToBottom(Task task) { in moveTaskToBottom()
216 void removeTask(Task task) { in removeTask()
368 Task task = mTasks.get(taskNdx); in switchUser()
DDisplayContent.java101 final ArrayList<Task> mTmpTaskHistory = new ArrayList<Task>();
155 ArrayList<Task> getTasks() { in getTasks()
324 final ArrayList<Task> tasks = stack.getTasks(); in checkForDeferredActions()
326 final Task task = tasks.get(taskNdx); in checkForDeferredActions()
384 ArrayList<Task> tasks = stack.getTasks(); in dump()
386 final Task task = tasks.get(taskNdx); in dump()
DTask.java24 class Task { class
31 Task(AppWindowToken wtoken, TaskStack stack, int userId) { in Task() method in Task
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java266 private void pushSideChannelQueue(Task task) { in pushSideChannelQueue()
305 public void queueTask(Task task) { in queueTask()
313 handleQueueTask((Task) msg.obj); in handleMessage()
329 private void handleQueueTask(Task task) { in handleQueueTask()
502 Task task = record.taskQueue.peek(); in processListenerQueue()
536 public LinkedList<Task> taskQueue = new LinkedList<Task>();
557 private interface Task { interface in NotificationManagerCompat
561 private static class NotifyTask implements Task {
589 private static class CancelTask implements Task {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DAlternateRecentsComponent.java48 import com.android.systemui.recents.model.Task;
347 ArrayList<Task> tasks = stack.getTasks(); in showRelativeAffiliatedTask()
348 Task toTask = null; in showRelativeAffiliatedTask()
353 Task task = tasks.get(i); in showRelativeAffiliatedTask()
356 Task.TaskKey toTaskKey; in showRelativeAffiliatedTask()
553 Task toTask = new Task(); in getThumbnailTransitionActivityOptions()
584 int runningTaskId, Task runningTaskOut) { in getThumbnailTransitionTransform()
586 Task task = null; in getThumbnailTransitionTransform()
587 ArrayList<Task> tasks = stack.getTasks(); in getThumbnailTransitionTransform()
592 Task t = tasks.get(i); in getThumbnailTransitionTransform()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags150 # Task created.
152 # Task moved to top (1) or bottom (0).
154 # Task removed with source explanation.

12