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.java79 public void init(Map<String, StatusBarNotification> notifications, RankingMap rankingMap) { in init() argument
81 mOldRankingMap = rankingMap; in init()
83 process(/* showLessImportantNotifications = */ false, notifications, rankingMap); in init()
98 RankingMap rankingMap) { in process() argument
104 rankingMap))), in process()
105 rankingMap)); in process()
151 boolean shouldFilter(StatusBarNotification sbn, RankingMap rankingMap) { in shouldFilter() argument
152 return isLessImportantForegroundNotification(sbn, rankingMap) in shouldFilter()
162 RankingMap rankingMap) { in filter() argument
167 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.java110 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
118 mRankingMap = rankingMap; in onNotificationPosted()
131 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
132 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()