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.java121 final ArrayList<ActivityRecord> mActivities; field in TaskRecord
179 mActivities = new ArrayList<ActivityRecord>(); in TaskRecord()
194 mActivities = new ArrayList<ActivityRecord>(); in TaskRecord()
246 mActivities = activities; in TaskRecord()
473 for (int i = 0; i < mActivities.size(); i++) { in getRootActivity()
474 final ActivityRecord r = mActivities.get(i); in getRootActivity()
484 for (int i = mActivities.size() - 1; i >= 0; --i) { in getTopActivity()
485 final ActivityRecord r = mActivities.get(i); in getTopActivity()
495 for (int activityNdx = mActivities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningActivityLocked()
496 ActivityRecord r = mActivities.get(activityNdx); in topRunningActivityLocked()
[all …]
DActivityStack.java335 count += mTaskHistory.get(taskNdx).mActivities.size(); in numActivities()
379 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked()
405 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked()
419 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity()
452 if (task != null && task.mActivities.contains(r) && mTaskHistory.contains(task)) { in isInStackLocked()
595 final ArrayList<ActivityRecord> activities = task.mActivities; in findActivityLocked()
694 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in awakeFromSleepingLocked()
731 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in goToSleep()
1050 ProcessRecord app = next.task.mActivities.get(0).app; in completeResumeLocked()
1114 ArrayList<ActivityRecord> activities = task.mActivities; in findNextTranslucentActivity()
[all …]
DTaskPersister.java811 for (int i = task.mActivities.size() - 1; i >= 0; --i) { in createTaskRecordLocked()
812 final ActivityRecord activity = task.mActivities.get(i); in createTaskRecordLocked()
DActivityStackSupervisor.java1145 mService.mHomeProcess = r.task.mActivities.get(0).app; in realStartActivityLocked()
2556 final ArrayList<ActivityRecord> activities = task.mActivities; in getHomeActivity()
2662 final ArrayList<ActivityRecord> activities = task.mActivities; in restoreRecentTaskLocked()
DActivityRecord.java1062 final int activityNdx = task.mActivities.indexOf(r); in getTaskForActivityLocked()
DActivityManagerService.java10584 int index = r.task.mActivities.lastIndexOf(r);
10586 ActivityRecord under = r.task.mActivities.get(index - 1);
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java241 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
410 return mActivities.size(); in getActivityCount()
425 return mActivities.get(index).resolveInfo; in getActivity()
439 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
477 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
527 if (!mActivities.isEmpty()) { in getDefaultActivity()
528 return mActivities.get(0).resolveInfo; in getDefaultActivity()
548 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
549 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
691 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java238 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
401 return mActivities.size(); in getActivityCount()
416 return mActivities.get(index).resolveInfo; in getActivity()
430 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
468 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
518 if (!mActivities.isEmpty()) { in getDefaultActivity()
519 return mActivities.get(0).resolveInfo; in getDefaultActivity()
539 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
540 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
676 && !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.java185 final ArrayMap<IBinder, ActivityClientRecord> mActivities field in ActivityThread
2153 return mActivities.get(token).activity; in getActivity()
2318 mActivities.put(r.token, r); in performLaunchActivity()
2461 ActivityClientRecord r = mActivities.get(token); in performNewIntents()
2482 ActivityClientRecord r = mActivities.get(cmd.activityToken); in handleRequestAssistContextExtras()
2498 ActivityClientRecord r = mActivities.get(token); in handleTranslucentConversionComplete()
2505 ActivityClientRecord r = mActivities.get(token); in onNewActivityOptions()
2512 ActivityClientRecord r = mActivities.get(token); in handleCancelVisibleBehind()
2534 ActivityClientRecord r = mActivities.get(token); in handleOnBackgroundVisibleBehindChanged()
2550 ActivityClientRecord r = mActivities.get(token); in handleEnterAnimationComplete()
[all …]
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java53 final List<NfcActivityState> mActivities; // Activities that have NFC state field in NfcActivityManager
164 for (NfcActivityState state : mActivities) { in findActivityState()
177 mActivities.add(state); in getActivityState()
183 for (NfcActivityState state : mActivities) { in findResumedActivityState()
195 mActivities.remove(activityState); in destroyActivityState()
201 mActivities = new LinkedList<NfcActivityState>(); in NfcActivityManager()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java427 final ActivityIntentResolver mActivities = field in PackageManagerService
2233 PackageParser.Activity a = mActivities.mActivities.get(component); in getActivityInfo()
2254 PackageParser.Activity a = mActivities.mActivities.get(component); in activitySupportsIntent()
2273 PackageParser.Activity a = mReceivers.mActivities.get(component); in getReceiverInfo()
3391 List<ResolveInfo> result = mActivities.queryIntent( in queryIntentActivities()
3401 return mActivities.queryIntentForPackage(intent, resolvedType, flags, in queryIntentActivities()
3458 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent, in checkTargetCanHandle()
6198 mActivities.addActivity(a, "activity"); in scanPackageDirtyLI()
6833 mActivities.removeActivity(a, "activity"); in cleanPackageDataStructuresLILPw()
7295 mActivities.put(a.getComponentName(), a); in addActivity()
[all …]
DSettings.java2378 List<ResolveInfo> ri = service.mActivities.queryIntent(intent, in applyDefaultPreferredActivityLPw()