Home
last modified time | relevance | path

Searched refs:mTasks (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java59 private final SparseArray<Value> mTasks; field in ContiguousFIFOAggregator
78 mTasks = new SparseArray<Value>(); in ContiguousFIFOAggregator()
103 mTasks.remove(hash); in expect()
107 mTasks.put(hash, new Value(callback, null)); in expect()
138 mTasks.delete(key.hashCode()); in forget()
168 final Value value = mTasks.get(hash); in execute()
202 final Value value = mTasks.get(hash); in maybeExecuteNow()
209 mTasks.delete(hash); in maybeExecuteNow()
225 final Value value = mTasks.get(hash); in onFirstExpectedChanged()
240 return mTasks.get(key.hashCode()) != null; in contains()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java52 private final ArrayList<Task> mTasks = new ArrayList<Task>(); field in TaskStack
115 return mTasks; in getTasks()
120 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) { in resizeWindows()
121 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens; in resizeWindows()
267 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) { in isAnimating()
268 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens; in isAnimating()
297 stackNdx = mTasks.size(); in addTask()
301 final Task tmpTask = mTasks.get(stackNdx); in addTask()
313 mTasks.add(stackNdx, task); in addTask()
325 mTasks.remove(task); in moveTaskToTop()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsResizeTaskDialog.java77 private Task[] mTasks = {null, null, null, null}; field in RecentsResizeTaskDialog
87 mTasks[0] = mainTask; in showResizeTaskDialog()
129 mTasks[i] = null; in placeTasks()
204 for (int i = 1; i <= additionalTasks && mTasks[i - 1] != null; ++i) { in placeTasks()
205 mTasks[i] = mRecentsView.getNextTaskOrTopTask(mTasks[i - 1]); in placeTasks()
207 if (mTasks[i] == mTasks[0]) { in placeTasks()
208 mTasks[i] = null; in placeTasks()
218 if (mTasks[i] != null) { in placeTasks()
219 mSsp.resizeTask(mTasks[i].key.id, mBounds[i]); in placeTasks()
226 if (mTasks[i] != null) { in placeTasks()
[all …]
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp93 tasks = mTasks; in threadLoop()
94 mTasks.clear(); in threadLoop()
115 index = mTasks.add(task); in addTask()
124 return mTasks.size(); in getTaskCount()
DTaskManager.h92 Vector<TaskWrapper> mTasks; variable
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentLoader.java84 private final HashMap<RootInfo, RecentTask> mTasks = Maps.newHashMap(); field in RecentLoader
178 mTasks.put(root, task); in loadInBackground()
182 mFirstPassLatch = new CountDownLatch(mTasks.size()); in loadInBackground()
183 for (RecentTask task : mTasks.values()) { in loadInBackground()
200 for (RecentTask task : mTasks.values()) { in loadInBackground()
225 Log.d(TAG, "Found " + cursors.size() + " of " + mTasks.size() + " recent queries done"); in loadInBackground()
307 for (RecentTask task : mTasks.values()) { in onReset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java46 ArrayList<Task> mTasks = new ArrayList<Task>(); field in FilteredTaskList
67 mTasks.clear(); in reset()
81 mTasks.add(t); in add()
87 mTasks.clear(); in set()
88 mTasks.addAll(tasks); in set()
95 boolean removed = mTasks.remove(t); in remove()
124 int taskCount = mTasks.size(); in updateFilteredTasks()
126 Task t = mTasks.get(i); in updateFilteredTasks()
132 mFilteredTasks.addAll(mTasks); in updateFilteredTasks()
/frameworks/base/core/java/android/os/
DAsyncTask.java227 final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in AsyncTask.SerialExecutor
231 mTasks.offer(new Runnable() { in execute()
246 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java914 mTasks = tasks; in StateStress()
917 Runnable[] mTasks; field in NotificationTestList.StateStress
923 mTasks[mNext].run();
925 if (mNext >= mTasks.length) {