Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/dot/
DDotInfo.java47 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument
48 int indexOfPrevKey = mNotificationKeys.indexOf(notificationKey); in addOrUpdateNotificationKey()
52 if (prevKey.count == notificationKey.count) { in addOrUpdateNotificationKey()
57 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
58 prevKey.count = notificationKey.count; in addOrUpdateNotificationKey()
61 boolean added = mNotificationKeys.add(notificationKey); in addOrUpdateNotificationKey()
63 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()
71 public boolean removeNotificationKey(NotificationKeyData notificationKey) { in removeNotificationKey() argument
72 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()
74 mTotalCount -= notificationKey.count; in removeNotificationKey()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java36 public final String notificationKey; field in NotificationKeyData
43 public NotificationKeyData(String notificationKey) { in NotificationKeyData() argument
44 this(notificationKey, null, 1, new String[]{}); in NotificationKeyData()
47 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument
49 this.notificationKey = notificationKey; in NotificationKeyData()
76 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
DNotificationListener.java325 NotificationKeyData notificationKey); in onNotificationPosted() argument
327 NotificationKeyData notificationKey); in onNotificationRemoved() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java82 NotificationKeyData notificationKey) { in onNotificationPosted() argument
88 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()
95 NotificationKeyData notificationKey) { in onNotificationRemoved() argument
97 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationDataManager.java159 for (String notificationKey : currentNotificationKeys) { in updateUnseenAlertEntries()
160 mUnseenNotificationMap.remove(notificationKey); in updateUnseenAlertEntries()