/frameworks/base/core/java/android/server/search/ |
H A D | Searchables.java | 40 * This class maintains the information about all searchable activities. 57 // Contains all installed activities that handle the global search 70 * @param context Context to use for looking up activities etc. 79 * The activities fall into three cases, based on meta-data found in 114 // References must point directly to searchable activities. 171 * activities that are searchable, by iterating the entire set of 174 * Also clears the hash of all activities -> searches which will 263 // of activities that can handle the GLOBAL_SEARCH intent. 266 List<ResolveInfo> activities = 269 if (activities ! [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfo.java | 91 public ActivityInfo[] activities; field in class:PackageInfo 225 dest.writeTypedArray(activities, parcelableFlags); 262 activities = source.createTypedArray(ActivityInfo.CREATOR);
|
H A D | PackageParser.java | 238 int N = p.activities.size(); 241 pi.activities = new ActivityInfo[N]; 245 if (p.activities.get(i).info.enabled) num++; 247 pi.activities = new ActivityInfo[num]; 250 final Activity activity = p.activities.get(i); 253 pi.activities[j++] = generateActivityInfo(p.activities.get(i), flags); 1751 owner.activities.add(a); 1787 owner.activities.add(a); 2145 final int NA = owner.activities 2935 public final ArrayList<Activity> activities = new ArrayList<Activity>(0); field in class:PackageParser.Package [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 61 * contain the MIME type in its type field. This allows activities to register 67 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither 74 * Intent to start an activity when a tag is discovered and activities are registered for the 124 * {@link #ACTION_TAG_DISCOVERED}. If any activities respond to {@link #ACTION_NDEF_DISCOVERED} 125 * this intent will not be started. If any activities respond to this intent 134 * <p>This intent will not be started when a tag is discovered if any activities respond to 542 * Set the {@link NdefMessage} to push over NFC during the specified activities. 545 * only made available for NDEF push when one of the specified activities 554 * specified activities. 563 * @param activities optiona 566 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument 605 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument 634 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProcessRecord.java | 70 boolean foregroundActivities; // Running any activities that are foreground? 107 final ArrayList<ActivityRecord> activities = new ArrayList<ActivityRecord>(); field in class:ProcessRecord 246 if (activities.size() > 0) { 247 pw.print(prefix); pw.print("activities="); pw.println(activities); 291 * This method returns true if any of the activities within the process record are interesting 295 final int size = activities.size(); 297 ActivityRecord r = activities.get(i); 306 int i = activities.size(); 309 activities [all...] |
H A D | ActivityStack.java | 75 * State and management of a single stack of activities. 148 * running) activities. It contains HistoryRecord objects. 158 * List of running activities, sorted by recent usage. 165 * List of activities that are waiting for a new activity 173 * List of activities that are ready to be stopped, but waiting 181 * List of activities that are in the process of going to sleep. 194 * List of activities that are ready to be finished, but waiting 248 * identify when multiple activities are started at once so that the user 562 int idx = app.activities.indexOf(r); 564 app.activities [all...] |
H A D | ActivityManagerService.java | 712 * activities from being started/resumed. 722 * Task identifier that activities are currently being started 1717 if (app.activities.size() > 0) { 1718 // If this process has activities, we more strongly want to keep 1728 // If this process doesn't have activities, we less strongly 1730 // in front of any very recently used activities. 2540 ArrayList<ActivityRecord> activities = new ArrayList<ActivityRecord>( 2541 mHeavyWeightProcess.activities); 2542 for (int i=0; i<activities.size(); i++) { 2543 ActivityRecord r = activities [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 54 * 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 928 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 38 * from activities or XML. 186 * activities. 202 * @param queryIntent The intent to match activities. 209 final List<ResolveInfo> activities = queryIntentActivities(queryIntent); 212 for (int i = activities.size() - 1; i >= 0; i--) { 213 final ActivityInfo activityInfo = activities.get(i).activityInfo;
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 759 ActivityInfo[] activities = info.activities; 760 if (activities == null) return; 761 for (int i = 0; i < activities.length; i++) { 763 if (handlePackageUpdateLocked(packageName, activities[i], 767 if (handlePackageUpdateLocked(packageName, activities[i],
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 390 List<ResolveInfo> activities = pm.queryIntentActivities(intent, mimeType, 0); 391 if (activities == null || activities.size() <= 0) { 392 System.err.println("Error: Intent does not match any activities: " 395 } else if (activities.size() > 1) { 396 System.err.println("Error: Intent matches multiple activities; can't stop: " 400 packageName = activities.get(0).activityInfo.packageName;
|
/frameworks/base/docs/html/resources/ |
H A D | resources-data.js | 372 en: 'Some Android applications need to squeeze every bit of performance out of the UI toolkit and there are many ways to do so. In this article, you will discover how to speed up the drawing and the perceived startup time of your activities. Both of these techniques rely on a single feature, the window\'s background drawable.'
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 322 // All available activities, for your resolving pleasure. 2174 // We will only allow preferred activities that came 2275 pkg.activities); 2347 // Look for any generic query activities that are duplicates 3773 N = pkg.activities.size(); 3776 PackageParser.Activity a = pkg.activities.get(i); 4032 N = pkg.activities.size(); 4035 PackageParser.Activity a = pkg.activities.get(i); 7017 // remove from preferred activities.
|