Home
last modified time | relevance | path

Searched refs:Ranking (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGuts.java33 import android.service.notification.NotificationListenerService.Ranking;
181 mStartingUserImportance = NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED; in bindImportance()
242 return Ranking.IMPORTANCE_UNSPECIFIED; in getSelectedImportance()
246 return Ranking.IMPORTANCE_NONE; in getSelectedImportance()
248 return Ranking.IMPORTANCE_LOW; in getSelectedImportance()
250 return Ranking.IMPORTANCE_UNSPECIFIED; in getSelectedImportance()
275 if (importance == NotificationListenerService.Ranking.IMPORTANCE_LOW) { in bindToggles()
291 NotificationListenerService.Ranking.IMPORTANCE_MIN in bindSlider()
292 : NotificationListenerService.Ranking.IMPORTANCE_NONE; in bindSlider()
293 mSeekBar.setMax(NotificationListenerService.Ranking.IMPORTANCE_MAX); in bindSlider()
[all …]
DNotificationData.java23 import android.service.notification.NotificationListenerService.Ranking;
175 private final Ranking mTmpRanking = new Ranking();
182 private final Ranking mRankingA = new Ranking();
183 private final Ranking mRankingB = new Ranking();
189 int aImportance = Ranking.IMPORTANCE_DEFAULT;
190 int bImportance = Ranking.IMPORTANCE_DEFAULT;
208 && aImportance > Ranking.IMPORTANCE_MIN;
210 && bImportance > Ranking.IMPORTANCE_MIN;
212 boolean aSystemMax = aImportance >= Ranking.IMPORTANCE_MAX &&
214 boolean bSystemMax = bImportance >= Ranking.IMPORTANCE_MAX &&
[all …]
DBaseStatusBar.java125 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_HIGH;
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java18 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_MIN;
19 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFI…
20 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_DEFAULT;
21 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_HIGH;
22 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_LOW;
23 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_MAX;
274 + NotificationListenerService.Ranking.importanceToString(mUserImportance)); in dump()
276 + NotificationListenerService.Ranking.importanceToString(mImportance)); in dump()
377 if (mUserImportance != NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED) { in applyUserImportance()
388 if (importance != NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED) { in setImportance()
DRankingHelper.java23 import android.service.notification.NotificationListenerService.Ranking;
62 private static final int DEFAULT_VISIBILITY = Ranking.VISIBILITY_NO_OVERRIDE;
63 private static final int DEFAULT_IMPORTANCE = Ranking.IMPORTANCE_UNSPECIFIED;
369 boolean wasEnabled = getImportance(packageName, uid) != Ranking.IMPORTANCE_NONE; in setEnabled()
373 setImportance(packageName, uid, enabled ? DEFAULT_IMPORTANCE : Ranking.IMPORTANCE_NONE); in setEnabled()
412 pw.print(Ranking.importanceToString(r.importance)); in dumpRecords()
444 record.put("importance", Ranking.importanceToString(r.importance)); in dumpJson()
500 if (r.importance == Ranking.IMPORTANCE_NONE) { in getPackageBans()
DNotificationIntrusivenessExtractor.java47 if (record.getImportance() >= NotificationListenerService.Ranking.IMPORTANCE_DEFAULT) { in process()
DNotificationManagerService.java41 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_DEFAULT;
42 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_NONE;
1469 importance != NotificationListenerService.Ranking.IMPORTANCE_NONE);
2674 if (r.getImportance() == NotificationListenerService.Ranking.IMPORTANCE_NONE in run()
3755 != NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE) { in makeRankingUpdateLocked()
DNotificationUsageStats.java19 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_HIGH;
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1011 public static class Ranking { class in NotificationListenerService
1082 public Ranking() {} in Ranking() method in NotificationListenerService.Ranking
1245 public boolean getRanking(String key, Ranking outRanking) {
1280 return Ranking.VISIBILITY_NO_OVERRIDE; in getVisibilityOverride()
1306 return Ranking.IMPORTANCE_DEFAULT; in getImportance()
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java29 import android.service.notification.NotificationListenerService.Ranking;
238 r.setImportance(Ranking.IMPORTANCE_MIN, "foo"); in testNoInterruptionForMin()
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
DRanker.java19 import static android.service.notification.NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFI…
/frameworks/base/core/java/android/app/
DNotificationManager.java39 import android.service.notification.NotificationListenerService.Ranking;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1533 < NotificationListenerService.Ranking.IMPORTANCE_MAX) { in addNotification()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt77 NO DOC BLOCK: android.service.notification.NotificationListenerService.Ranking Class
/frameworks/base/
Dcompiled-classes-phone3615 android.service.notification.NotificationListenerService$Ranking
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27070 public static class NotificationListenerService.Ranking {
27071 ctor public NotificationListenerService.Ranking();
27081 …ean getRanking(java.lang.String, android.service.notification.NotificationListenerService.Ranking);
/frameworks/base/api/
Dcurrent.txt34766 public static class NotificationListenerService.Ranking {
34767 ctor public NotificationListenerService.Ranking();
34781 …ean getRanking(java.lang.String, android.service.notification.NotificationListenerService.Ranking);
Dsystem-current.txt37548 public static class NotificationListenerService.Ranking {
37549 ctor public NotificationListenerService.Ranking();
37563 …ean getRanking(java.lang.String, android.service.notification.NotificationListenerService.Ranking);
Dtest-current.txt34849 public static class NotificationListenerService.Ranking {
34850 ctor public NotificationListenerService.Ranking();
34864 …ean getRanking(java.lang.String, android.service.notification.NotificationListenerService.Ranking);