Home
last modified time | relevance | path

Searched refs:notificationKey (Results 1 – 10 of 10) 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.java34 public final String notificationKey; field in NotificationKeyData
38 private NotificationKeyData(String notificationKey, String shortcutId, int count) { in NotificationKeyData() argument
39 this.notificationKey = notificationKey; in NotificationKeyData()
52 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()
63 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
DNotificationListener.java121 msg.notificationKey, msg.shouldBeFilteredOut);
241 final NotificationKeyData notificationKey; field in NotificationListener.NotificationPostedMsg
246 notificationKey = NotificationKeyData.fromNotification(sbn); in NotificationPostedMsg()
390 NotificationKeyData notificationKey, boolean shouldBeFilteredOut); in onNotificationPosted() argument
392 NotificationKeyData notificationKey); in onNotificationRemoved() argument
DNotificationInfo.java47 public final String notificationKey; field in NotificationInfo
63 notificationKey = statusBarNotification.getKey(); in NotificationInfo()
108 launcher.getPopupDataProvider().cancelNotification(notificationKey); in onClick()
DNotificationMainView.java121 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()
169 mNotificationInfo.notificationKey); in onChildDismissed()
DNotificationFooterLayout.java215 if (!notifications.contains(overflowIterator.next().notificationKey)) { in trimNotifications()
222 if (!notifications.contains(childInfo.notificationKey)) { in trimNotifications()
DNotificationItemView.java178 mMainView.getNotificationInfo().notificationKey); in trimNotifications()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java74 NotificationKeyData notificationKey, boolean shouldBeFilteredOut) { in onNotificationPosted() argument
80 newDotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()
88 ? dotInfo.removeNotificationKey(notificationKey) in onNotificationPosted()
89 : dotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()
101 NotificationKeyData notificationKey) { in onNotificationRemoved() argument
103 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
191 public void cancelNotification(String notificationKey) { in cancelNotification() argument
196 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationDataManager.java103 for (String notificationKey : currentNotificationKeys) { in updateUnseenNotification()
104 mUnseenNotificationMap.remove(notificationKey); in updateUnseenNotification()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java609 NotificationKey notificationKey = new NotificationKey(account, folder); in validateNotifications() local
616 cancelConversationNotifications(notificationKey, nm); in validateNotifications()
750 sConversationNotificationMap.get(notificationKey); in validateNotifications()
827 sConversationNotificationMap.put(notificationKey, conversationNotificationIds); in validateNotifications()
1658 for (final NotificationKey notificationKey : notificationKeys) { in clearAccountNotifications()
1659 final Folder folder = notificationKey.folder; in clearAccountNotifications()
1661 notificationMap.remove(notificationKey); in clearAccountNotifications()
1663 cancelConversationNotifications(notificationKey, notificationManager); in clearAccountNotifications()