Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java156 float affinity = affinityOut[0]; in getContactAffinity() local
178 + "Returning affinity=" + affinity, e); in getContactAffinity()
179 return affinity; in getContactAffinity()
182 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity()
184 return affinity; in getContactAffinity()
212 float affinity = NONE; in validatePeople() local
237 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople()
243 affinityOut[0] = affinity; in validatePeople()
246 if (INFO) Slog.i(TAG, "final affinity: " + affinity); in validatePeople()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java90 String affinity; // The affinity name for this task, or null; may change identity. field in TaskRecord
229 affinity = _affinity; in TaskRecord()
285 affinity = info.taskAffinity; in setIntent()
290 rootAffinity = affinity; in setIntent()
823 if (affinity != null) { in saveToXml()
824 out.attribute(null, ATTR_AFFINITY, affinity); in saveToXml()
825 if (!affinity.equals(rootAffinity)) { in saveToXml()
891 String affinity = null; in restoreFromXml() local
927 affinity = attrValue; in restoreFromXml()
998 rootAffinity = affinity; in restoreFromXml()
[all …]
DActivityStack.java2168 && !target.taskAffinity.equals(task.affinity)) { in resetTargetTaskIfNeededLocked()
2180 && target.taskAffinity.equals(bottom.task.affinity)) { in resetTargetTaskIfNeededLocked()
2290 final String taskAffinity = task.affinity; in resetAffinityTaskIfNeededLocked()
2833 if (srec == null || srec.task.affinity == null || in shouldUpRecreateTaskLocked()
2834 !srec.task.affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked()
2859 if (!srec.task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
DActivityManagerService.java4170 if ((task.affinity == null || !task.affinity.equals(tr.affinity)) && in trimRecentsForTaskLocked()
13362 pw.print("TASK "); pw.print(lastTask.affinity); in dumpActivity()
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd434 <p>The <em>affinity</em> indicates which task an activity prefers to belong to. By default, all the
435 activities from the same application have an affinity for each other. So, by default, all
437 the default affinity for an activity. Activities defined in
438 different applications can share an affinity, or activities defined in the same application can be
441 <p>You can modify the affinity for any given activity with the <a
452 affinity for the application.</p>
454 <p>The affinity comes into play in two circumstances:</p>
466 However, it doesn't have to be. If there's already an existing task with the same affinity as the
484 <p>In this case, the activity can move from the task it starts to the task it has an affinity
487 defined as part of a travel application. It has the same affinity as other activities in the same
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd85 the task it has an affinity for when that task is next brought to the
100 has an affinity for when its current task is no longer displayed.
115 The affinity of an activity is defined by the
116 <code><a href="#aff">taskAffinity</a></code> attribute. The affinity
117 of a task is determined by reading the affinity of its root activity.
119 same affinity. Since activities with "{@code singleTask}" or
210 the task they share an affinity with; the remaining activities are then dropped,
422 are both "{@code true}", this attribute trumps the other. The affinity of the
924 <dd>The task that the activity has an affinity for. Activities with
925 the same affinity conceptually belong to the same task (to the same
[all …]
Dapplication-element.jd71 the task that started them to the task they have an affinity for when that task
400 <dd>An affinity name that applies to all activities within the application,
401 except for those that set a different affinity with their own
407 affinity. The name of that affinity is the same as the package name
Dmanifest-element.jd70 process</a></code> attribute) and the default task affinity of an activity
/frameworks/base/docs/html/training/notify-user/
Dnavigation.jd146 application's default affinity are not affected.
/frameworks/base/docs/html/training/wearables/apps/
Dlayouts.jd62 activity to be exportable, be embeddable, and have an empty task affinity. We also recommend
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd1066 title=affinity-->task affinity<!--/a--> &mdash; in this case,
1091 (or an existing task it has an affinity with). Having activities
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd609 application's default affinity are not affected.
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd275 task affinity that are chained to the current activity.