Searched refs:notificationKey (Results 1 – 10 of 10) sorted by relevance
47 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument48 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() argument72 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()74 mTotalCount -= notificationKey.count; in removeNotificationKey()
34 public final String notificationKey; field in NotificationKeyData38 private NotificationKeyData(String notificationKey, String shortcutId, int count) { in NotificationKeyData() argument39 this.notificationKey = notificationKey; in NotificationKeyData()52 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()63 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
121 msg.notificationKey, msg.shouldBeFilteredOut);241 final NotificationKeyData notificationKey; field in NotificationListener.NotificationPostedMsg246 notificationKey = NotificationKeyData.fromNotification(sbn); in NotificationPostedMsg()390 NotificationKeyData notificationKey, boolean shouldBeFilteredOut); in onNotificationPosted() argument392 NotificationKeyData notificationKey); in onNotificationRemoved() argument
47 public final String notificationKey; field in NotificationInfo63 notificationKey = statusBarNotification.getKey(); in NotificationInfo()108 launcher.getPopupDataProvider().cancelNotification(notificationKey); in onClick()
121 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()169 mNotificationInfo.notificationKey); in onChildDismissed()
215 if (!notifications.contains(overflowIterator.next().notificationKey)) { in trimNotifications()222 if (!notifications.contains(childInfo.notificationKey)) { in trimNotifications()
178 mMainView.getNotificationInfo().notificationKey); in trimNotifications()
74 NotificationKeyData notificationKey, boolean shouldBeFilteredOut) { in onNotificationPosted() argument80 newDotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()88 ? dotInfo.removeNotificationKey(notificationKey) in onNotificationPosted()89 : dotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()101 NotificationKeyData notificationKey) { in onNotificationRemoved() argument103 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()191 public void cancelNotification(String notificationKey) { in cancelNotification() argument196 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
103 for (String notificationKey : currentNotificationKeys) { in updateUnseenNotification()104 mUnseenNotificationMap.remove(notificationKey); in updateUnseenNotification()
609 NotificationKey notificationKey = new NotificationKey(account, folder); in validateNotifications() local616 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()