Searched refs:affinity (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 161 float affinity = affinityOut[0]; in getContactAffinity() local 183 + "Returning affinity=" + affinity, e); in getContactAffinity() 184 return affinity; in getContactAffinity() 187 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity() 189 return affinity; in getContactAffinity() 211 final float affinity = affinityOut[0]; in validatePeople() local 212 record.setContactAffinity(affinity); in validatePeople() 214 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople() 225 float affinity = NONE; in validatePeople() local 250 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 142 String affinity; // The affinity name for this task, or null; may change identity. field in TaskRecord 344 affinity = _affinity; in TaskRecord() 406 affinity = info.taskAffinity; in setIntent() 411 rootAffinity = affinity; in setIntent() 1146 if (affinity != null) { in saveToXml() 1147 out.attribute(null, ATTR_AFFINITY, affinity); in saveToXml() 1148 if (!affinity.equals(rootAffinity)) { in saveToXml() 1222 String affinity = null; in restoreFromXml() local 1267 affinity = attrValue; in restoreFromXml() 1353 rootAffinity = affinity; in restoreFromXml() [all …]
|
D | RecentTasks.java | 635 task.affinity != null && task.affinity.equals(tr.affinity); in trimForTaskLocked()
|
D | ActivityStack.java | 2853 && !target.taskAffinity.equals(task.affinity)) { in resetTargetTaskIfNeededLocked() 2865 && target.taskAffinity.equals(bottom.task.affinity)) { in resetTargetTaskIfNeededLocked() 2976 final String taskAffinity = task.affinity; in resetAffinityTaskIfNeededLocked() 3593 if (srec == null || srec.task.affinity == null || in shouldUpRecreateTaskLocked() 3594 !srec.task.affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked() 3619 if (!srec.task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
|
D | ActivityManagerService.java | 14961 pw.print("TASK "); pw.print(lastTask.affinity); in dumpActivity()
|
/frameworks/base/docs/html/guide/components/ |
D | tasks-and-back-stack.jd | 434 <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/ |
D | activity-element.jd | 86 the task it has an affinity for when that task is next brought to the 101 has an affinity for when its current task is no longer displayed. 116 The affinity of an activity is defined by the 117 <code><a href="#aff">taskAffinity</a></code> attribute. The affinity 118 of a task is determined by reading the affinity of its root activity. 120 same affinity. Since activities with "{@code singleTask}" or 211 the task they share an affinity with; the remaining activities are then dropped, 423 are both "{@code true}", this attribute trumps the other. The affinity of the 925 <dd>The task that the activity has an affinity for. Activities with 926 the same affinity conceptually belong to the same task (to the same [all …]
|
D | application-element.jd | 72 the task that started them to the task they have an affinity for when that task 401 <dd>An affinity name that applies to all activities within the application, 402 except for those that set a different affinity with their own 408 affinity. The name of that affinity is the same as the package name
|
D | manifest-element.jd | 71 process</a></code> attribute) and the default task affinity of an activity
|
/frameworks/base/docs/html/training/notify-user/ |
D | navigation.jd | 146 application's default affinity are not affected.
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | layouts.jd | 62 activity to be exportable, be embeddable, and have an empty task affinity. We also recommend
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | activity_task_design.jd | 1066 title=affinity-->task affinity<!--/a--> — in this case, 1091 (or an existing task it has an affinity with). Having activities
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | notifications.jd | 609 application's default affinity are not affected.
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.1.jd | 275 task affinity that are chained to the current activity.
|