Lines Matching refs:mActivities
121 final ArrayList<ActivityRecord> mActivities;
179 mActivities = new ArrayList<ActivityRecord>();
194 mActivities = new ArrayList<ActivityRecord>();
246 mActivities = activities;
473 for (int i = 0; i < mActivities.size(); i++) {
474 final ActivityRecord r = mActivities.get(i);
484 for (int i = mActivities.size() - 1; i >= 0; --i) {
485 final ActivityRecord r = mActivities.get(i);
495 for (int activityNdx = mActivities.size() - 1; activityNdx >= 0; --activityNdx) {
496 ActivityRecord r = mActivities.get(activityNdx);
507 final int numActivities = mActivities.size();
509 final ActivityRecord r = mActivities.get(activityNdx);
521 mActivities.get(0).frontOfTask = true;
532 mActivities.remove(newTop);
533 mActivities.add(newTop);
544 addActivityAtIndex(mActivities.size(), r);
549 if (!mActivities.remove(r) && r.fullscreen) {
554 if (mActivities.isEmpty()) {
566 mActivities.add(index, r);
575 if (mActivities.remove(r) && r.fullscreen) {
582 if (mActivities.isEmpty()) {
593 return autoRemoveRecents || (mActivities.isEmpty() && !hasBeenVisible);
601 int numActivities = mActivities.size();
603 final ActivityRecord r = mActivities.get(activityNdx);
610 mActivities.remove(activityNdx);
642 int numActivities = mActivities.size();
644 ActivityRecord r = mActivities.get(activityNdx);
653 r = mActivities.get(activityNdx);
723 for (int activityNdx = mActivities.size() - 1; activityNdx >= 0; --activityNdx) {
724 ActivityRecord candidate = mActivities.get(activityNdx);
740 final int numActivities = mActivities.size();
742 (mActivities.get(0).info.flags & ActivityInfo.FLAG_RELINQUISH_TASK_IDENTITY) != 0;
745 final ActivityRecord r = mActivities.get(activityNdx);
766 final ActivityRecord r = mActivities.get(activityNdx);
789 final int topActivityNdx = mActivities.size() - 1;
791 final ActivityRecord r = mActivities.get(activityNdx);
805 final ActivityRecord r = mActivities.get(effectiveRootIndex);
864 final ArrayList<ActivityRecord> activities = mActivities;
1112 pw.print(prefix); pw.print("Activities="); pw.println(mActivities);
1138 sb.append(mActivities.size());