Searched defs:activities (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLauncherActivity.java61 ActivityManager activities = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
63 Intent intent = findTask(activities);
73 private @Nullable Intent findTask(ActivityManager activities) { argument
74 List<AppTask> tasks = activities.getAppTasks();
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java112 public ActivityInfo[] activities; field in class:PackageInfo
308 dest.writeTypedArray(activities, parcelableFlags | Parcelable.PARCELABLE_ELIDE_DUPLICATES);
357 activities = source.createTypedArray(ActivityInfo.CREATOR);
379 propagateApplicationInfo(applicationInfo, activities);
H A DPackageParser.java529 final int N = p.activities.size();
534 final Activity a = p.activities.get(i);
539 pi.activities = ArrayUtils.trimToSize(res, num);
3034 owner.activities.add(a);
3070 owner.activities.add(a);
3175 if (pkg == null || pkg.activities == null) return false;
3176 final ArrayList<Activity> activities = pkg.activities;
3177 final int countActivities = activities.size();
3179 Activity activity = activities
4753 public final ArrayList<Activity> activities = new ArrayList<Activity>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java54 * activities that can handle the given intent and order found activities
57 * choice history the file can be omitted, thus the activities will be ordered
65 * activities and they may be inconsistent with the functionality of some of the clients.
114 * Defines a sorter that is responsible for sorting the activities
120 * Sorts the <code>activities</code> in descending order of relevance
124 * @param activities Activities to be sorted.
129 public void sort(Intent intent, List<ActivityResolveInfo> activities, argument
240 * List of activities that can handle the current intent.
270 * The sorter for ordering activities base
945 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java49 * activities that can handle the given intent and order found activities
52 * choice history the file can be omitted, thus the activities will be ordered
60 * activities and they may be inconsistent with the functionality of some of the clients.
107 * Defines a sorter that is responsible for sorting the activities
113 * Sorts the <code>activities</code> in descending order of relevance
117 * @param activities Activities to be sorted.
122 public void sort(Intent intent, List<ActivityResolveInfo> activities, argument
233 * List of activities that can handle the current intent.
258 * The sorter for ordering activities base
921 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java69 * contain the MIME type in its type field. This allows activities to register
75 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither
85 * Intent to start an activity when a tag is discovered and activities are registered for the
133 * {@link #ACTION_TAG_DISCOVERED}. If any activities respond to {@link #ACTION_NDEF_DISCOVERED}
134 * this intent will not be started. If any activities respond to this intent
143 * <p>This intent will not be started when a tag is discovered if any activities respond to
953 * messages completely (for all activities), you can include a
962 * <p>The API allows for multiple activities to be specified at a time,
992 * @param activities optional additional activities, howeve
996 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument
1098 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument
1172 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessRecord.java109 boolean hasClientActivities; // Are there any client services with activities?
112 boolean foregroundActivities; // Running any activities that are foreground?
113 boolean repForegroundActivities; // Last reported foreground activities.
158 // all activities running in the process
159 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in class:ProcessRecord
386 if (activities.size() > 0) {
388 for (int i=0; i<activities.size(); i++) {
389 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i));
506 * This method returns true if any of the activities within the process record are interesting
510 final int size = activities
[all...]
H A DTaskRecord.java162 boolean hasBeenVisible; // Set if any activities in the task have been visible to the user.
169 int numFullscreen; // Number of fullscreen activities.
171 int mResizeMode; // The resize mode of this task and its activities.
199 /** List of all activities in the task arranged in history order */
329 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities,
363 mActivities = activities;
728 // All activities of this task are finishing. As we ought to have a frontOfTask
776 // Otherwise make all added activities match this one.
810 // activities are normally in the paused state so no notification will be sent there
830 * Completely remove all activities associate
325 TaskRecord(ActivityManagerService service, int _taskId, Intent _intent, Intent _affinityIntent, String _affinity, String _rootAffinity, ComponentName _realActivity, ComponentName _origActivity, boolean _rootWasReset, boolean _autoRemoveRecents, boolean _askedCompatMode, int _taskType, int _userId, int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, long _firstActiveTime, long _lastActiveTime, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription _lastTaskDescription, TaskThumbnailInfo lastThumbnailInfo, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean privileged, boolean _realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
[all...]

Completed in 1285 milliseconds