/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 287 List<ResolveInfo> activities = queryIntentActivities(intent, in findGlobalSearchActivities() local 289 if (activities != null && !activities.isEmpty()) { in findGlobalSearchActivities() 291 Collections.sort(activities, GLOBAL_SEARCH_RANKER); in findGlobalSearchActivities() 294 return activities; in findGlobalSearchActivities() 324 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled() local 326 if (activities != null && !activities.isEmpty()) { in isInstalled() 395 List<ResolveInfo> activities = in findWebSearchActivity() local 398 if (activities != null && !activities.isEmpty()) { in findWebSearchActivity() 399 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity() 408 List<ResolveInfo> activities = null; in queryIntentActivities() local [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 566 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked() local 567 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningNonDelayedActivityLocked() 568 ActivityRecord r = activities.get(activityNdx); in topRunningNonDelayedActivityLocked() 592 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked() local 593 for (int i = activities.size() - 1; i >= 0; --i) { in topRunningActivityLocked() 594 final ActivityRecord r = activities.get(i); in topRunningActivityLocked() 606 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity() local 607 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topActivity() 608 final ActivityRecord r = activities.get(activityNdx); in topActivity() 842 final ArrayList<ActivityRecord> activities = task.mActivities; in findActivityLocked() local [all …]
|
D | ActivityMetricsLogger.java | 131 final ArrayList<ActivityRecord> activities = record.activities; in hasStartedActivity() local 132 for (int i = activities.size() - 1; i >= 0; i--) { in hasStartedActivity() 133 final ActivityRecord activity = activities.get(i); in hasStartedActivity()
|
D | ProcessRecord.java | 164 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in ProcessRecord 392 if (activities.size() > 0) { in dump() 394 for (int i=0; i<activities.size(); i++) { in dump() 395 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i)); in dump() 519 final int size = activities.size(); in isInterestingToUserLocked() 521 ActivityRecord r = activities.get(i); in isInterestingToUserLocked() 530 int i = activities.size(); in stopFreezingAllLocked() 533 activities.get(i).stopFreezingScreenLocked(true); in stopFreezingAllLocked()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | activity_task_design.jd | 51 <li>In addition to writing your own activities, you are free to re-use activities from many other a… 52 <li>You can enable activities in your application to be started from intents in other applications.… 79 <li><a href=#activity_launching_tip>Consider how to launch your activities</a></li> 80 <li><a href=#activities_added_to_task_tip>Allow activities to add to current task</a></li> 106 It illustrates activities and tasks with examples, and describes some 149 related, loosely bound activities <!--(and possibly 165 <h3 id=activities>Activities</h3> 170 activities that you create and from activities you re-use from other 171 applications. These activities are bound at runtime, so that newly 173 activities. Once assembled, activities work together to form a [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | LauncherActivity.java | 61 ActivityManager activities = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); in onCreate() local 63 Intent intent = findTask(activities); in onCreate() 73 private @Nullable Intent findTask(ActivityManager activities) { in findTask() argument 74 List<AppTask> tasks = activities.getAppTasks(); in findTask()
|
/frameworks/base/docs/html/guide/components/ |
D | tasks-and-back-stack.jd | 3 parent.link=activities.html 42 href="{@docRoot}guide/components/activities.html">activities</a>. Each activity 44 activities. For example, an email application might have one activity to show a list of new message… 47 <p>An activity can even start activities that exist in other applications on the device. For 51 is to send an email, so an email application's "compose" activity starts (if multiple activities 54 though the activities may be from different applications, Android maintains this seamless user 55 experience by keeping both activities in the same <em>task</em>.</p> 57 <p>A task is a collection of activities that users interact with 58 when performing a certain job. The activities are arranged in a stack (the <em>back stack</em>), in 98 this behavior with a timeline showing the progress between activities along with the current back [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 112 public ActivityInfo[] activities; field in PackageInfo 308 dest.writeTypedArray(activities, parcelableFlags | Parcelable.PARCELABLE_ELIDE_DUPLICATES); in writeToParcel() 357 activities = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo() 379 propagateApplicationInfo(applicationInfo, activities); in PackageInfo()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActivityChooserModel.java | 122 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 427 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex() local 428 final int activityCount = activities.size(); in getActivityIndex() 430 ActivityResolveInfo currentActivity = activities.get(i); in getActivityIndex() 924 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 930 final int activityCount = activities.size(); in sort() 932 ActivityResolveInfo activity = activities.get(i); in sort() 952 Collections.sort(activities); in sort() 956 Log.i(LOG_TAG, "Sorted: " + activities.get(i)); in sort()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 129 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 440 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex() local 441 final int activityCount = activities.size(); in getActivityIndex() 443 ActivityResolveInfo currentActivity = activities.get(i); in getActivityIndex() 945 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 951 final int activityCount = activities.size(); in sort() 953 ActivityResolveInfo activity = activities.get(i); in sort() 973 Collections.sort(activities); in sort() 977 Log.i(LOG_TAG, "Sorted: " + activities.get(i)); in sort()
|
/frameworks/base/docs/html/wear/preview/ |
D | behavior-changes.jd | 36 users dismiss apps and activities by using 42 activities (panning or immersive activities such as Google Maps). 49 including for full-screen panning activities. 55 between an app's activities and for exiting an app.
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutParser.java | 66 final List<ResolveInfo> activities = service.injectGetMainActivities(packageName, userId); in parseShortcuts() local 67 if (activities == null || activities.size() == 0) { in parseShortcuts() 74 final int size = activities.size(); in parseShortcuts() 76 final ActivityInfo activityInfoNoMetadata = activities.get(i).activityInfo; in parseShortcuts()
|
/frameworks/base/docs/html/training/wearables/watch-faces/ |
D | configuration.jd | 44 implement handheld and wearable configuration activities and how to update a watch face in 51 <p>If your watch face includes configuration activities, add the following metadata entries to 74 Configuration activities register intent filters for this intent, and the system fires this 84 <p>Wearable configuration activities provide a limited set of customization choices for a 122 <p>Companion configuration activities give users access to the full set of configuration choices 156 <p>To receive updated configuration parameters from the configuration activities, create a
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 1034 Activity ... activities) { in setNdefPushMessage() argument 1046 for (Activity a : activities) { in setNdefPushMessage() 1147 Activity ... activities) { in setNdefPushMessageCallback() argument 1159 for (Activity a : activities) { in setNdefPushMessageCallback() 1227 Activity activity, Activity ... activities) { in setOnNdefPushCompleteCallback() argument 1239 for (Activity a : activities) { in setOnNdefPushCompleteCallback()
|
/frameworks/base/docs/html/training/basics/intents/ |
D | index.jd | 36 href="{@docRoot}guide/components/activities.html">activities</a>. Each activity displays a 62 <dd>Shows how to make activities in your app open for use by other apps by defining
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/ |
D | sending.jd | 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 158 boolean isIntentSafe = activities.size() > 0; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 200 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/ |
D | sending.jd | 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 158 boolean isIntentSafe = activities.size() > 0; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 200 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html/training/implementing-navigation/ |
D | descendant.jd | 17 <li><a href="#external-activities">Navigate into External Activities</a></li> 49 …s. The class describes how to implement a master/detail flow using two activities on a handset and… 51 <h2 id="external-activities">Navigate into External Activities</h2> 53 …here descending into your application's information hierarchy leads to activities from other appli…
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/ |
D | sending.jd | 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 158 boolean isIntentSafe = activities.size() > 0; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 200 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/ |
D | sending.jd | 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 158 boolean isIntentSafe = activities.size() > 0; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 200 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/ |
D | sending.jd | 156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 158 boolean isIntentSafe = activities.size() > 0; 199 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 200 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | multi-window.jd | 104 drop</a> data from one activity to another while the activities are sharing 118 All other activities are in the paused state, even if they are visible. 119 However, the system gives these paused-but-visible activities higher priority 120 than activities that are not visible. If the user interacts with one of the 121 paused activities, that activity is resumed, and the previously topmost 128 activities even while paused. For example, a video-playing app that is in 130 reason, we recommend that activities that play video <em>not</em> pause the 167 whether your app's activities support multi-window display. You can set 169 A root activity's attribute settings apply to all activities 171 <code>android:resizeableActivity</code> set to true, then all activities [all …]
|
/frameworks/base/docs/html/design/patterns/ |
D | navigation.jd | 168 activities, consisting of both the activities you create and those you re-use from other apps.</p> 170 <p>A <strong>task</strong> is the sequence of activities a user follows to accomplish a goal. A 171 single task can make use of activities from just one app, or may draw on activities from a number 175 app's assistance in performing an action. An app's activities can indicate which intents 181 <p>To understand how activities, tasks, and intents work together, consider how one app allows users 184 to see its details, the user remains in the same task, extending it by adding activities. Triggering 185 the Share action prompts the user with a dialog listing each of the activities (from different apps)
|
/frameworks/base/docs/html/training/material/ |
D | animations.jd | 150 enter and exit transitions and for transitions of shared elements between activities.</p> 162 two activities transition between these activities. For example, if two activities have the same 164 translates and scales the image smoothly between these activities.</li> 189 activated between the entering and exiting activities.</p> 264 calling and called activities. Otherwise, the calling activity will start the exit transition, 287 <p>To make a screen transition animation between two activities that have a shared element:</p> 312 // of both activities are defined with android:transitionName="robot" 323 element name in both activities.</p> 331 <p>To make a scene transition animation between two activities that have more than one shared 334 in both activities), and create an {@link android.app.ActivityOptions} object as follows:</p>
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | activity-element.jd | 68 implements part of the application's visual user interface. All activities 79 such as a Display owned by another activity. For example, activities 104 Typically, it's used to cause the activities of an application to move 122 same affinity. Since activities with "{@code singleTask}" or 135 for all other activities. 138 Normally, the system clears a task (removes all activities from the stack 152 <dd>Whether or not tasks launched by activities with this attribute remains in the 165 tag to supply a banner for all application activities. 184 <dd>Whether or not all activities will be removed from the task, except for 188 is meaningful only for activities that start a new task (the root activity); [all …]
|