Home
last modified time | relevance | path

Searched refs:rankingMap (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java114 public void init(Map<String, StatusBarNotification> notifications, RankingMap rankingMap) { in init() argument
116 mOldRankingMap = rankingMap; in init()
118 process(/* showLessImportantNotifications = */ false, notifications, rankingMap); in init()
133 RankingMap rankingMap) { in process() argument
139 rankingMap))), in process()
140 rankingMap)); in process()
198 boolean shouldFilter(StatusBarNotification sbn, RankingMap rankingMap) { in shouldFilter() argument
199 return isLessImportantForegroundNotification(sbn, rankingMap) in shouldFilter()
209 RankingMap rankingMap) { in filter() argument
214 rankingMap)); in filter()
[all …]
DCarHeadsUpNotificationManager.java162 NotificationListenerService.RankingMap rankingMap, in maybeShowHeadsUp() argument
164 if (!shouldShowHeadsUp(statusBarNotification, rankingMap)) { in maybeShowHeadsUp()
185 rankingMap); in maybeShowHeadsUp() local
290 NotificationListenerService.RankingMap rankingMap) { in showHeadsUp() argument
297 playSound(statusBarNotification, rankingMap); in showHeadsUp()
526 NotificationListenerService.RankingMap rankingMap) { in playSound() argument
528 if (rankingMap.getRanking(statusBarNotification.getKey(), ranking)) { in playSound()
706 NotificationListenerService.RankingMap rankingMap) { in shouldShowHeadsUp() argument
728 if (rankingMap.getRanking(statusBarNotification.getKey(), ranking)) { in shouldShowHeadsUp()
DCarNotificationListener.java109 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
114 mRankingMap = rankingMap; in onNotificationPosted()
127 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
128 mRankingMap = rankingMap; in onNotificationRankingUpdate()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistant.java284 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
290 Ranking ranking = getRanking(sbn.getKey(), rankingMap);
315 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() argument
442 private Ranking getRanking(String key, RankingMap rankingMap) { in getRanking() argument
447 rankingMap.getRanking(key, ranking); in getRanking()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java290 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
291 super.onNotificationRankingUpdate(rankingMap); in onNotificationRankingUpdate()
292 String[] keys = rankingMap.getOrderedKeys(); in onNotificationRankingUpdate()