/frameworks/base/services/java/com/android/server/search/ |
D | Searchables.java | 285 List<ResolveInfo> activities = in findGlobalSearchActivities() local 287 if (activities != null && !activities.isEmpty()) { in findGlobalSearchActivities() 289 Collections.sort(activities, GLOBAL_SEARCH_RANKER); in findGlobalSearchActivities() 292 return activities; in findGlobalSearchActivities() 322 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled() local 324 if (activities != null && !activities.isEmpty()) { in isInstalled() 393 List<ResolveInfo> activities = in findWebSearchActivity() local 396 if (activities != null && !activities.isEmpty()) { in findWebSearchActivity() 397 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity() 406 List<ResolveInfo> activities = null; in queryIntentActivities() local [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityStack.java | 358 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked() local 359 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningNonDelayedActivityLocked() 360 ActivityRecord r = activities.get(activityNdx); in topRunningNonDelayedActivityLocked() 384 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked() local 385 for (int i = activities.size() - 1; i >= 0; --i) { in topRunningActivityLocked() 386 final ActivityRecord r = activities.get(i); in topRunningActivityLocked() 400 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity() local 401 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topActivity() 402 return activities.get(activityNdx); in topActivity() 444 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in containsApp() local [all …]
|
D | ProcessRecord.java | 130 final ArrayList<ActivityRecord> activities = new ArrayList<ActivityRecord>(); field in ProcessRecord 313 if (activities.size() > 0) { in dump() 315 for (int i=0; i<activities.size(); i++) { in dump() 316 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i)); in dump() 436 final int size = activities.size(); in isInterestingToUserLocked() 438 ActivityRecord r = activities.get(i); in isInterestingToUserLocked() 447 int i = activities.size(); in stopFreezingAllLocked() 450 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/docs/html/guide/components/ |
D | tasks-and-back-stack.jd | 3 parent.link=activities.html 10 <li>All activities belong to a task</li> 11 <li>A task contains a collection of activities in the order in which the user interacts with 48 href="{@docRoot}guide/components/activities.html">activities</a>. Each activity 50 activities. For example, an email application might have one activity to show a list of new email. 53 <p>An activity can even start activities that exist in other applications on the device. For 57 is to send an email, so an email application's "compose" activity starts (if multiple activities 60 though the activities may be from different applications, Android maintains this seamless user 61 experience by keeping both activities in the same <em>task</em>.</p> 63 <p>A task is a collection of activities that users interact with [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 124 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 429 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex() local 430 final int activityCount = activities.size(); in getActivityIndex() 432 ActivityResolveInfo currentActivity = activities.get(i); in getActivityIndex() 936 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 942 final int activityCount = activities.size(); in sort() 944 ActivityResolveInfo activity = activities.get(i); in sort() 962 Collections.sort(activities); in sort() 966 Log.i(LOG_TAG, "Sorted: " + activities.get(i)); in sort()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 128 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 439 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex() local 440 final int activityCount = activities.size(); in getActivityIndex() 442 ActivityResolveInfo currentActivity = activities.get(i); in getActivityIndex() 944 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument 950 final int activityCount = activities.size(); in sort() 952 ActivityResolveInfo activity = activities.get(i); in sort() 972 Collections.sort(activities); in sort() 976 Log.i(LOG_TAG, "Sorted: " + activities.get(i)); in sort()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 91 public ActivityInfo[] activities; field in PackageInfo 258 dest.writeTypedArray(activities, parcelableFlags); in writeToParcel() 299 activities = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 896 Activity ... activities) { in setNdefPushMessage() argument 903 for (Activity a : activities) { in setNdefPushMessage() 997 Activity ... activities) { in setNdefPushMessageCallback() argument 1004 for (Activity a : activities) { in setNdefPushMessageCallback() 1071 Activity activity, Activity ... activities) { in setOnNdefPushCompleteCallback() argument 1078 for (Activity a : activities) { in setOnNdefPushCompleteCallback()
|
/frameworks/base/docs/html/training/basics/intents/ |
D | index.jd | 35 href="{@docRoot}guide/components/activities.html">activities</a>. Each activity displays a 61 <dd>Shows how to make activities in your app open for use by other apps by defining
|
D | sending.jd | 39 Your First App</a>, you must use intents to navigate between activities in your own app. You 102 activities should receive the intent.</p> 153 of activities capable of handling your {@link android.content.Intent}. If the returned {@link 158 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent, 0); 159 boolean isIntentSafe = activities.size() > 0; 201 List<ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0); 202 boolean isIntentSafe = activities.size() > 0;
|
/frameworks/base/docs/html/training/basics/actionbar/ |
D | setting-up.jd | 27 is useful for all activities to inform 44 activities that use the {@link android.R.style#Theme_Holo Theme.Holo} theme (or one of its 50 <p>So to add the action bar to your activities, simply set either attribute to 65 all activities show the action bar. That's it.</p>
|
/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…
|
D | temporal.jd | 33 <p>In almost all situations, the system maintains a back stack of activities while the user 70 you should add activities into your task's back stack so that pressing <em>Back</em> navigates 76 <h3 id="SpecifyParent">Specify parent activities in the manifest</h3> 127 <p>Adding activities to the back stack begins upon the event that takes the user into your app. 160 navigates backward through each of the {@code DetailsActivity} class's parent activities.</p>
|
/frameworks/base/docs/html/tools/help/ |
D | monkey.jd | 86 your activities. 87 Level 2 provides more detailed setup information such as activities selected or not selected for 146 coverage of all activities within your package.</td> 159 to visit activities within those packages. If your application requires access to activities in 161 If you don't specify any packages, the Monkey will allow the system to launch activities 169 system to visit activities that are listed with one of the specified categories. 170 If you don't specify any categories, the Monkey will select activities listed with the category
|
/frameworks/base/services/java/com/android/server/wm/ |
D | TaskStack.java | 268 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens; in setBounds() local 269 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in setBounds() 270 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in setBounds()
|
/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/guide/topics/manifest/ |
D | activity-element.jd | 58 implements part of the application's visual user interface. All activities 83 Typically, it's used to cause the activities of an application to move 101 same affinity. Since activities with "{@code singleTask}" or 114 for all other activities. 117 Normally, the system clears a task (removes all activities from the stack 131 <dd>Whether or not all activities will be removed from the task, except for 135 is meaningful only for activities that start a new task (the root activity); 136 it's ignored for all other activities in the task. 142 leave it. When the value is "{@code false}", the task may be cleared of activities in 152 of the activities on top of it (Q in this case) were removed when the user pressed [all …]
|
D | intent-filter-element.jd | 99 meaning for both activities and broadcast receivers: 103 an intent that matches the filter, relative to other activities that could 105 activities with different priorities, Android will consider only those with
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 212 final List<ResolveInfo> activities = queryIntentActivities(queryIntent); in inflateFromIntent() local 215 for (int i = activities.size() - 1; i >= 0; i--) { in inflateFromIntent() 216 final ActivityInfo activityInfo = activities.get(i).activityInfo; in inflateFromIntent()
|
/frameworks/base/docs/html/tools/debugging/ |
D | debugging-devtools.jd | 49 <dt><strong>Immediately destroy activities</strong></dt> 57 <a href="{@docRoot}guide/components/activities.html#SavingActivityState">Activities</a>
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 234 final List<ResolveInfo> activities = pm.queryIntentActivities(launchable, 0); in getLauncherActivities() local 235 return activities; in getLauncherActivities()
|
/frameworks/base/docs/html-intl/ru/training/multiscreen/ |
D | index.jd | 18 href="http://developer.android.com/guide/components/activities.html">Activity</a> (активность) и <a…
|
/frameworks/base/docs/html-intl/ja/training/multiscreen/ |
D | index.jd | 18 href="http://developer.android.com/guide/components/activities.html">アクティビティ</a>と<a href="http://de…
|
/frameworks/base/docs/html-intl/zh-cn/training/multiscreen/ |
D | index.jd | 18 href="http://developer.android.com/guide/components/activities.html">活动</a>和<a href="http://develop…
|