Home
last modified time | relevance | path

Searched refs:mActivities (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java200 final ArrayList<ActivityRecord> mActivities; field in TaskRecord
286 mActivities = new ArrayList<>(); in TaskRecord()
307 mActivities = new ArrayList<>(); in TaskRecord()
363 mActivities = activities; in TaskRecord()
657 for (int i = 0; i < mActivities.size(); i++) { in getRootActivity()
658 final ActivityRecord r = mActivities.get(i); in getRootActivity()
668 for (int i = mActivities.size() - 1; i >= 0; --i) { in getTopActivity()
669 final ActivityRecord r = mActivities.get(i); in getTopActivity()
680 for (int activityNdx = mActivities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningActivityLocked()
681 ActivityRecord r = mActivities.get(activityNdx); in topRunningActivityLocked()
[all …]
DActivityStack.java433 count += mTaskHistory.get(taskNdx).mActivities.size(); in numActivities()
564 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked()
590 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked()
604 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity()
644 && task.mActivities.contains(r) && mTaskHistory.contains(task)) { in isInStackLocked()
840 final ArrayList<ActivityRecord> activities = task.mActivities; in findActivityLocked()
959 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in awakeFromSleepingLocked()
973 final List<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in updateActivityApplicationInfoLocked()
1017 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in goToSleep()
1396 ProcessRecord app = next.task.mActivities.get(0).app; in completeResumeLocked()
[all …]
DLaunchingTaskPositioner.java268 if (!task.mActivities.isEmpty() && task.mBounds != null) { in boundsConflict()
DActivityStackSupervisor.java767 for (int i = topTask.mActivities.size() - 1; i >= 0; i--) { in isUserLockedProfile()
768 final ActivityRecord activityRecord = topTask.mActivities.get(i); in isUserLockedProfile()
1234 mService.mHomeProcess = task.mActivities.get(0).app; in realStartActivityLocked()
1947 final ArrayList<ActivityRecord> activities = task.mActivities; in getHomeActivityForUser()
2360 final ArrayList<ActivityRecord> activities = task.mActivities; in restoreRecentTaskLocked()
2566 if (task.mActivities.size() == 1) { in moveActivityToPinnedStackLocked()
3695 for (int i = task.mActivities.size() - 1; i >= 0; i--) { in scheduleReportMultiWindowModeChanged()
3696 final ActivityRecord r = task.mActivities.get(i); in scheduleReportMultiWindowModeChanged()
3714 for (int i = task.mActivities.size() - 1; i >= 0; i--) { in scheduleReportPictureInPictureModeChangedIfNeeded()
3715 final ActivityRecord r = task.mActivities.get(i); in scheduleReportPictureInPictureModeChangedIfNeeded()
DActivityRecord.java1319 final int activityNdx = task.mActivities.indexOf(r); in getTaskForActivityLocked()
DActivityManagerService.java9034 for (int i = tr.mActivities.size() - 1; i >= 0; --i) {
9035 tmp = tr.mActivities.get(i);
12417 int index = r.task.mActivities.lastIndexOf(r); in convertToTranslucent()
12419 ActivityRecord under = r.task.mActivities.get(index - 1); in convertToTranslucent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserModel.java235 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
398 return mActivities.size(); in getActivityCount()
413 return mActivities.get(index).resolveInfo; in getActivity()
427 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
465 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
515 if (!mActivities.isEmpty()) { in getDefaultActivity()
516 return mActivities.get(0).resolveInfo; in getDefaultActivity()
536 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
537 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
673 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded()
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java242 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
411 return mActivities.size(); in getActivityCount()
426 return mActivities.get(index).resolveInfo; in getActivity()
440 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
478 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
528 if (!mActivities.isEmpty()) { in getDefaultActivity()
529 return mActivities.get(0).resolveInfo; in getDefaultActivity()
549 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
550 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
692 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded()
[all …]
/frameworks/base/core/java/android/app/
DLocalActivityManager.java78 private final Map<String, LocalActivityRecord> mActivities field in LocalActivityManager
273 LocalActivityRecord r = mActivities.get(id); in startActivity()
303 mActivities.put(id, r); in startActivity()
387 LocalActivityRecord r = mActivities.get(id); in destroyActivity()
392 mActivities.remove(id); in destroyActivity()
434 LocalActivityRecord r = mActivities.get(id); in getActivity()
457 LocalActivityRecord r = mActivities.get(id); in dispatchCreate()
463 mActivities.put(id, r); in dispatchCreate()
630 mActivities.clear(); in dispatchDestroy()
DActivityThread.java206 final ArrayMap<IBinder, ActivityClientRecord> mActivities = new ArrayMap<>(); field in ActivityThread
2450 return mActivities.get(token).activity; in getActivity()
2639 mActivities.put(r.token, r); in performLaunchActivity()
2788 ActivityClientRecord r = mActivities.get(token); in performNewIntents()
2822 ActivityClientRecord r = mActivities.get(cmd.activityToken); in handleRequestAssistContextExtras()
2858 ActivityClientRecord r = mActivities.get(token); in handleTranslucentConversionComplete()
2865 ActivityClientRecord r = mActivities.get(token); in onNewActivityOptions()
2872 ActivityClientRecord r = mActivities.get(token); in handleCancelVisibleBehind()
2895 ActivityClientRecord r = mActivities.get(token); in handleOnBackgroundVisibleBehindChanged()
2911 ActivityClientRecord r = mActivities.get(token); in handleEnterAnimationComplete()
[all …]
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java52 final List<NfcActivityState> mActivities; // Activities that have NFC state field in NfcActivityManager
163 for (NfcActivityState state : mActivities) { in findActivityState()
176 mActivities.add(state); in getActivityState()
182 for (NfcActivityState state : mActivities) { in findResumedActivityState()
194 mActivities.remove(activityState); in destroyActivityState()
200 mActivities = new LinkedList<NfcActivityState>(); in NfcActivityManager()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java654 final ActivityIntentResolver mActivities = field in PackageManagerService
3640 PackageParser.Activity a = mActivities.mActivities.get(component);
3665 PackageParser.Activity a = mActivities.mActivities.get(component);
3686 PackageParser.Activity a = mReceivers.mActivities.get(component);
5436 List<ResolveInfo> result = mActivities.queryIntent(
5482 mActivities.queryIntentForPackage(
5503 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent,
5835 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent,
8765 mActivities.addActivity(a, "activity");
9693 mActivities.removeActivity(a, "activity");
[all …]
DSettings.java3217 List<ResolveInfo> ri = service.mActivities.queryIntent(intent, in applyDefaultPreferredActivityLPw()