Home
last modified time | relevance | path

Searched refs:activities (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java287 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/
DActivityStack.java564 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked() local
565 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningNonDelayedActivityLocked()
566 ActivityRecord r = activities.get(activityNdx); in topRunningNonDelayedActivityLocked()
590 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked() local
591 for (int i = activities.size() - 1; i >= 0; --i) { in topRunningActivityLocked()
592 final ActivityRecord r = activities.get(i); in topRunningActivityLocked()
604 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity() local
605 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { in topActivity()
606 final ActivityRecord r = activities.get(activityNdx); in topActivity()
840 final ArrayList<ActivityRecord> activities = task.mActivities; in findActivityLocked() local
[all …]
DActivityMetricsLogger.java131 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()
DProcessRecord.java159 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in ProcessRecord
386 if (activities.size() > 0) { in dump()
388 for (int i=0; i<activities.size(); i++) { in dump()
389 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i)); in dump()
510 final int size = activities.size(); in isInterestingToUserLocked()
512 ActivityRecord r = activities.get(i); in isInterestingToUserLocked()
521 int i = activities.size(); in stopFreezingAllLocked()
524 activities.get(i).stopFreezingScreenLocked(true); in stopFreezingAllLocked()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd51 <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/
DLauncherActivity.java61 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/
Dtasks-and-back-stack.jd3 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/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserModel.java122 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()
921 public void sort(Intent intent, List<ActivityResolveInfo> activities, in sort() argument
927 final int activityCount = activities.size(); in sort()
929 ActivityResolveInfo activity = activities.get(i); in sort()
949 Collections.sort(activities); in sort()
953 Log.i(LOG_TAG, "Sorted: " + activities.get(i)); in sort()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java129 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/core/java/android/content/pm/
DPackageInfo.java112 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/base/core/java/android/nfc/
DNfcAdapter.java997 Activity ... activities) { in setNdefPushMessage() argument
1004 for (Activity a : activities) { in setNdefPushMessage()
1099 Activity ... activities) { in setNdefPushMessageCallback() argument
1106 for (Activity a : activities) { in setNdefPushMessageCallback()
1173 Activity activity, Activity ... activities) { in setOnNdefPushCompleteCallback() argument
1180 for (Activity a : activities) { in setOnNdefPushCompleteCallback()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dconfiguration.jd44 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/docs/html/training/basics/intents/
Dindex.jd36 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/ja/training/basics/intents/
Dsending.jd156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
158 boolean isIntentSafe = activities.size() > 0;
199 List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
200 boolean isIntentSafe = activities.size() > 0;
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dsending.jd156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
158 boolean isIntentSafe = activities.size() > 0;
199 List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
200 boolean isIntentSafe = activities.size() > 0;
/frameworks/base/docs/html/training/implementing-navigation/
Ddescendant.jd17 <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/ko/training/basics/intents/
Dsending.jd156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
158 boolean isIntentSafe = activities.size() > 0;
199 List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
200 boolean isIntentSafe = activities.size() > 0;
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dsending.jd156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
158 boolean isIntentSafe = activities.size() > 0;
199 List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
200 boolean isIntentSafe = activities.size() > 0;
/frameworks/base/docs/html/preview/features/
Dmulti-window.jd102 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-intl/intl/ru/training/basics/intents/
Dsending.jd156 List<ResolveInfo> activities = packageManager.queryIntentActivities(intent,
158 boolean isIntentSafe = activities.size() > 0;
199 List&lt;ResolveInfo> activities = packageManager.queryIntentActivities(mapIntent, 0);
200 boolean isIntentSafe = activities.size() > 0;
/frameworks/base/docs/html/design/patterns/
Dnavigation.jd168 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/
Danimations.jd150 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/
Dactivity-element.jd66 implements part of the application's visual user interface. All activities
77 such as a Display owned by another activity. For example, activities
102 Typically, it's used to cause the activities of an application to move
120 same affinity. Since activities with "{@code singleTask}" or
133 for all other activities.
136 Normally, the system clears a task (removes all activities from the stack
150 <dd>Whether or not tasks launched by activities with this attribute remains in the
163 tag to supply a banner for all application activities.
182 <dd>Whether or not all activities will be removed from the task, except for
186 is meaningful only for activities that start a new task (the root activity);
[all …]
/frameworks/base/docs/html-intl/intl/ru/training/basics/activity-lifecycle/
Dpausing.jd20 <li><a href="{@docRoot}guide/components/activities.html">Операции</a>
86 // and other activities might need to use it.
/frameworks/base/docs/html-intl/intl/ko/training/basics/activity-lifecycle/
Dpausing.jd20 <li><a href="{@docRoot}guide/components/activities.html">액티비티</a>
86 // and other activities might need to use it.

12345678910>>...14