/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
Listener.java | 30 import android.service.notification.NotificationListenerService.Ranking; 89 private final Ranking mTmpRanking = new Ranking(); 108 private final Ranking mLhsRanking = new Ranking(); 109 private final Ranking mRhsRanking = new Ranking();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationData.java | 32 import android.service.notification.NotificationListenerService.Ranking; 274 private final Ranking mTmpRanking = new Ranking(); 281 private final Ranking mRankingA = new Ranking(); 282 private final Ranking mRankingB = new Ranking(); 320 // Provide consistent ranking with headsUpManager 367 public Entry remove(String key, RankingMap ranking) { 374 updateRankingAndSort(ranking); [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
NotificationListenerServiceTest.java | 27 import android.service.notification.NotificationListenerService.Ranking; 51 Ranking ranking = new Ranking(); local 52 service.getCurrentRanking().getRanking(key, ranking); 53 assertEquals(getVisibilityOverride(i), ranking.getVisibilityOverride()); 54 assertEquals(getOverrideGroupKey(key), ranking.getOverrideGroupKey()); 55 assertEquals(!isIntercepted(i), ranking.matchesInterruptionFilter()); 56 assertEquals(getSuppressedVisualEffects(i), ranking.getSuppressedVisualEffects()); 57 assertEquals(getImportance(i), ranking.getImportance()) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
MockListener.java | 126 Ranking rank = new Ranking();
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
NotificationListener.java | 68 private final Ranking mTempRanking = new Ranking();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
NotificationDataTest.java | 140 protected boolean getRanking(String key, NotificationListenerService.Ranking outRanking) {
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationSettingsBase.java | 376 if (sensitive == NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE) { 389 sensitive = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; 432 int globalVis = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE;
|
NotificationStation.java | 39 import android.service.notification.NotificationListenerService.Ranking; 102 public void onNotificationPosted(StatusBarNotification sbn, RankingMap ranking) { 104 ranking == null ? 0 : ranking.getOrderedKeys().length); 105 mRanking = ranking; 110 public void onNotificationRemoved(StatusBarNotification notification, RankingMap ranking) { 112 ranking == null ? 0 : ranking.getOrderedKeys().length); 113 mRanking = ranking; 118 public void onNotificationRankingUpdate(RankingMap ranking) { [all...] |
/frameworks/base/core/java/android/service/notification/ |
NotificationListenerService.java | 66 * posted or removed, or their ranking changed. 313 * @param rankingMap The current ranking map that can be used to retrieve ranking information 357 * @param rankingMap The current ranking map that can be used to retrieve ranking information 382 * @param rankingMap The current ranking map that can be used to retrieve ranking information 410 * Implement this method to be notified when the notification ranking changes. 412 * @param rankingMap The current ranking map that can be used to retrieve ranking informatio [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
RankingHelper.java | 38 import android.service.notification.NotificationListenerService.Ranking; 68 static final String TAG_RANKING = "ranking"; 432 // record individual ranking result and nominate proxies for each group 477 // Do a second ranking pass, using group proxies 585 channel.setLockscreenVisibility(Ranking.VISIBILITY_NO_OVERRIDE); 613 updatedChannel.setLockscreenVisibility(Ranking.VISIBILITY_NO_OVERRIDE); 937 JSONObject ranking = new JSONObject(); local [all...] |
NotificationRecord.java | 91 // to communicate with the ranking module. 99 // The timestamp used for ranking. 337 // copy any notes that the ranking system may have made before the update 479 + NotificationListenerService.Ranking.importanceToString(mUserImportance)); 481 + NotificationListenerService.Ranking.importanceToString(mImportance)); 763 // important in order to have ranking stability for updating notifications. [all...] |
NotificationManagerService.java | 228 // ranking thread messages [all...] |
/frameworks/base/core/java/android/app/ |
NotificationChannel.java | 741 NotificationListenerService.Ranking.importanceToString(getImportance())); [all...] |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/sdk/26/ |
android.jar | |