Lines Matching defs:mTasks
48 private final ArrayList<Task> mTasks = new ArrayList<Task>();
94 return mTasks;
101 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) {
102 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens;
152 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) {
153 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens;
177 stackNdx = mTasks.size();
181 if (!mService.isCurrentProfileLocked(mTasks.get(stackNdx).mUserId)) {
191 mTasks.add(stackNdx, task);
201 mTasks.remove(task);
207 mTasks.remove(task);
218 mTasks.remove(task);
220 if (mTasks.isEmpty()) {
242 for (int taskNdx = mTasks.size() - 1; taskNdx >= 0; --taskNdx) {
243 final AppTokenList appWindowTokens = mTasks.get(taskNdx).mAppTokens;
366 int top = mTasks.size();
368 Task task = mTasks.get(taskNdx);
370 mTasks.remove(taskNdx);
371 mTasks.add(task);
385 for (int taskNdx = 0; taskNdx < mTasks.size(); ++taskNdx) {
386 pw.print(prefix); pw.println(mTasks.get(taskNdx));
412 return "{stackId=" + mStackId + " tasks=" + mTasks + "}";