Home
last modified time | relevance | path

Searched refs:importance (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewAutofillTest.java47 int importance = ViewCompat.getImportantForAutofill(recyclerView); in initializeWithAutofillDisabled() local
50 assertEquals(View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, importance); in initializeWithAutofillDisabled()
52 assertEquals(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO, importance); in initializeWithAutofillDisabled()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java223 r.importance = XmlUtils.readIntAttribute( in readXml()
301 private Record getOrCreateRecord(String pkg, int uid, int importance, int priority, in getOrCreateRecord() argument
311 r.importance = importance; in getOrCreateRecord()
376 r.importance); in createDefaultChannelIfNeeded()
379 if (r.importance != NotificationManager.IMPORTANCE_UNSPECIFIED) { in createDefaultChannelIfNeeded()
404 r.importance != DEFAULT_IMPORTANCE in writeXml()
414 if (r.importance != DEFAULT_IMPORTANCE) { in writeXml()
415 out.attribute(null, ATT_IMPORTANCE, Integer.toString(r.importance)); in writeXml()
529 return getOrCreateRecord(packageName, uid).importance; in getImportance()
717 r.importance = updatedChannel.getImportance(); in updateNotificationChannel()
[all …]
DNotificationRecord.java315 int importance = getChannel().getImportance(); in calculateImportance() local
344 && (importance == IMPORTANCE_UNSPECIFIED in calculateImportance()
360 importance = requestedImportance; in calculateImportance()
363 stats.naturalImportance = importance; in calculateImportance()
364 return importance; in calculateImportance()
676 public void setUserImportance(int importance) { in setUserImportance() argument
677 mUserImportance = importance; in setUserImportance()
708 public void setImportance(int importance, CharSequence explanation) { in setImportance() argument
709 if (importance != IMPORTANCE_UNSPECIFIED) { in setImportance()
710 mImportance = importance; in setImportance()
DRankingConfig.java27 void setImportance(String packageName, int uid, int importance); in setImportance() argument
DNotificationManagerService.java6180 ArrayList<Integer> importance = new ArrayList<>(N);
6198 importance.add(record.getImportance());
6224 importanceAr[i] = importance.get(i);
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java49 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { in isImportantMessaging() argument
50 if (importance < NotificationManager.IMPORTANCE_LOW) { in isImportantMessaging()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1582 int visibilityOverride, int suppressedVisualEffects, int importance, in populate() argument
1589 mIsAmbient = importance < NotificationManager.IMPORTANCE_LOW; in populate()
1593 mImportance = importance; in populate()
1607 public static String importanceToString(int importance) {
1608 switch (importance) {
1623 return "UNKNOWN(" + String.valueOf(importance) + ")";
1734 Integer importance = mImportance.get(key); in getImportance() local
1735 if (importance == null) { in getImportance()
1738 return importance.intValue(); in getImportance()
1854 int[] importance = mRankingUpdate.getImportance(); in buildImportanceLocked() local
[all …]
DNotificationRankingUpdate.java43 int[] importance, Bundle explanation, Bundle overrideGroupKeys, in NotificationRankingUpdate() argument
50 mImportance = importance; in NotificationRankingUpdate()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java107 int[] importance = new int[mKeys.length]; in generateUpdate() local
119 importance[i] = getImportance(i); in generateUpdate()
130 suppressedVisualEffects, importance, explanation, overrideGroupKeys, in generateUpdate()
/frameworks/base/core/java/android/app/
DActivityManager.java3189 final int importance = procStateToImportance(procState); in procStateToImportanceForTargetSdk() local
3193 switch (importance) { in procStateToImportanceForTargetSdk()
3202 return importance; in procStateToImportanceForTargetSdk()
3206 public static int importanceToProcState(@Importance int importance) { in importanceToProcState() argument
3207 if (importance == IMPORTANCE_GONE) { in importanceToProcState()
3209 } else if (importance >= IMPORTANCE_CACHED) { in importanceToProcState()
3211 } else if (importance >= IMPORTANCE_CANT_SAVE_STATE) { in importanceToProcState()
3213 } else if (importance >= IMPORTANCE_TOP_SLEEPING) { in importanceToProcState()
3215 } else if (importance >= IMPORTANCE_SERVICE) { in importanceToProcState()
3217 } else if (importance >= IMPORTANCE_PERCEPTIBLE) { in importanceToProcState()
[all …]
DNotificationChannel.java169 public NotificationChannel(String id, CharSequence name, @Importance int importance) { in NotificationChannel() argument
172 this.mImportance = importance; in NotificationChannel()
433 public void setImportance(@Importance int importance) { in setImportance() argument
434 this.mImportance = importance; in setImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java26 void addNotification(StatusBarNotification sbn, int importance); in addNotification() argument
DForegroundServiceControllerImpl.java109 public void addNotification(StatusBarNotification sbn, int importance) { in addNotification() argument
110 updateNotification(sbn, importance); in addNotification()
/frameworks/base/core/proto/android/service/
Dnotification.proto68 optional sint32 importance = 10; field
125 optional sint32 importance = 3; field
/frameworks/base/core/proto/android/app/
Dnotification_channel.proto35 optional int32 importance = 4; field
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java328 public void onUidImportance(final int uid, final int importance) { in systemRunning()
332 onUidImportanceChanged(uid, importance); in systemRunning()
414 private void onUidImportanceChanged(int uid, int importance) { in onUidImportanceChanged() argument
415 boolean foreground = isImportanceForeground(importance); in onUidImportanceChanged()
475 private static boolean isImportanceForeground(int importance) { in isImportanceForeground() argument
476 return importance <= FOREGROUND_IMPORTANCE_CUTOFF; in isImportanceForeground()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dmems.txt93 such personal importance to so many people, that we are suffering
231 importance of the point struck me so forcibly that I sent a special
328 appreciated their relative importance, nor their connection to each
1214 importance. Hullo! That's not your pipe on the table. He must have
1315 importance, to furnish me with the facts of your case without further
2685 "Very good. Of course it was of the utmost importance to prevent you
2742 of importance in town, and the account of it ran in this way:
2991 proved in the sequel to be of importance.
3896 from the bureau. To my surprise it was nothing of any importance at
3901 perhaps of some little importance to the archaeologist, like our own
[all …]
Dlstb.txt1354 incident before me, had really recognized its importance and had left
1366 "'The true voodoo-worshipper attempts nothing of importance without
1624 be seen by the double fray on each side. This is of importance."
1626 "I cannot see the importance," said Lestrade.
1628 "The importance lies in the fact that the knot is left intact, and
3375 importance of the subject. His brother and I sat expectant.
3381 "Its importance can hardly be exaggerated. It has been the most
3785 evening of the importance of the secret, and I have some recollection
4299 appeared to be interminable. The great national importance of the
5395 importance, Jules Vibart's sweetheart, thought that this call and the
[all …]
Dadvs.txt201 matters which are of an importance which can hardly be exaggerated.
308 importance. If not, I should much prefer to communicate with you
317 that time the matter will be of no importance. At present it is not
485 very fortunate, as I have one or two matters of importance to look
2641 realise the importance of sleeves, the suggestiveness of thumb-nails,
2658 everything of importance, but you have hit upon the method, and you
3085 he must hurry, as he had an appointment of importance to keep at
3509 of importance that it should not rain before we are able to go over
3544 It is of importance. Good has come out of evil, however, for the
4074 deduction which was of the greatest importance in clearing up the
[all …]
Dretn.txt1283 it was going to be of much practical importance. If a man drew up a
1696 friend attaches so much importance."
2079 they are drawn. Why should you attribute any importance to so
2224 that there have been some new incidents of importance."
5625 sea-chest. It is of no importance to us, however, since the decanters
7591 look of importance showed that his day's work had not been in vain.
9084 papers of importance in the cupboard, but there were no signs that
11801 importance which had brought them. The Premier's thin, blue-veined
11821 "Because the document in question is of such immense importance that
11835 was of such importance that I have never left it in my safe, but I
[all …]
Dcase.txt362 often proved to be of vital importance. Had Johnson been a "nark" of
5745 come upon something of vital importance, though the information was
5834 "That is of great importance. It excludes the idea that anyone could
8576 the seam of his cuff they have begun to realize the importance of the
9577 mission you have missed everything of importance, yet even those
9587 importance. What of Dr. Ernest? Was he the gay Lothario one would
9683 of importance. "Whatever you do, see that he really does go," said
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java775 && proc.importance <= IMPORTANCE_FOREGROUND_SERVICE) { in isForegroundActivity()
/frameworks/base/core/java/android/view/
DView.java8441 final int importance = getImportantForAutofill();
8444 if (importance == IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS
8445 || importance == IMPORTANT_FOR_AUTOFILL_YES) {
8448 if (importance == IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
8449 || importance == IMPORTANT_FOR_AUTOFILL_NO) {
/frameworks/base/proto/src/
Dmetrics_constants.proto1698 // Logged when the user modifying the notification importance slider.
1701 // Logged when the user saves a modification to notification importance. Negative numbers
1702 // indicate the user lowered the importance; positive means they increased it.
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15883 outInfo.importance = procStateToImportance(procState, adj, outInfo, clientTargetSdk); in fillInProcMemInfo()

12