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.java76 private final ArrayList<Task> mTasks = new ArrayList<>(); field in TaskStack
151 return mTasks; in getTasks()
159 for (int i = mTasks.size() - 1; i >= 0; i--) { in findHomeTask()
160 if (mTasks.get(i).isHomeTask()) { in findHomeTask()
161 return mTasks.get(i); in findHomeTask()
180 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) { in setBounds()
181 final Task task = mTasks.get(taskNdx); in setBounds()
208 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) { in prepareFreezingTaskBounds()
209 final Task task = mTasks.get(taskNdx); in prepareFreezingTaskBounds()
254 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) { in alignTasksToAdjustedBounds()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsLoader.java83 private final HashMap<RootInfo, RecentsTask> mTasks = new HashMap<>(); field in RecentsLoader
107 synchronized (mTasks) { in loadInBackground()
120 mTasks.put(root, new RecentsTask(root.authority, root.rootId)); in loadInBackgroundLocked()
124 mFirstPassLatch = new CountDownLatch(mTasks.size()); in loadInBackgroundLocked()
125 for (RecentsTask task : mTasks.values()) { in loadInBackgroundLocked()
142 for (RecentsTask task : mTasks.values()) { in loadInBackgroundLocked()
167 Log.d(TAG, "Found " + cursors.size() + " of " + mTasks.size() + " recent queries done"); in loadInBackgroundLocked()
242 synchronized (mTasks) { in onReset()
243 for (RecentsTask task : mTasks.values()) { in onReset()
/frameworks/base/libs/hwui/thread/
DTaskManager.cpp95 tasks.swap(mTasks); in threadLoop()
115 mTasks.push_back(task); in addTask()
124 return mTasks.size(); in getTaskCount()
DTaskManager.h93 std::vector<TaskWrapper> mTasks; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java86 ArrayList<Task> mTasks = new ArrayList<>(); field in FilteredTaskList
111 mTasks.add(t); in add()
121 mTasks.remove(taskIndex); in moveTaskToStack()
125 mTasks.add(insertIndex, task); in moveTaskToStack()
136 mTasks.clear(); in set()
137 mTasks.addAll(tasks); in set()
144 boolean removed = mTasks.remove(t); in remove()
175 int taskCount = mTasks.size(); in updateFilteredTasks()
177 Task t = mTasks.get(i); in updateFilteredTasks()
182 Task t = mTasks.get(i); in updateFilteredTasks()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java236 final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in AsyncTask.SerialExecutor
240 mTasks.offer(new Runnable() { in execute()
255 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
/frameworks/base/core/java/android/app/
DActivityView.java89 private final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in ActivityView.SerialExecutor
93 mTasks.offer(new Runnable() { in execute()
108 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java1265 mTasks = tasks; in StateStress()
1268 Runnable[] mTasks; field in NotificationTestList.StateStress
1274 mTasks[mNext].run();
1276 if (mNext >= mTasks.length) {