Searched refs:notificationKey (Results 1 – 9 of 9) sorted by relevance
49 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument50 int indexOfPrevKey = mNotificationKeys.indexOf(notificationKey); in addOrUpdateNotificationKey()54 if (prevKey.count == notificationKey.count) { in addOrUpdateNotificationKey()59 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()60 prevKey.count = notificationKey.count; in addOrUpdateNotificationKey()63 boolean added = mNotificationKeys.add(notificationKey); in addOrUpdateNotificationKey()65 mTotalCount += notificationKey.count; in addOrUpdateNotificationKey()73 public boolean removeNotificationKey(NotificationKeyData notificationKey) { in removeNotificationKey() argument74 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()76 mTotalCount -= notificationKey.count; in removeNotificationKey()
38 public final String notificationKey; field in NotificationKeyData44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument46 this.notificationKey = notificationKey; in NotificationKeyData()63 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()82 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
49 public final String notificationKey; field in NotificationInfo67 notificationKey = statusBarNotification.getKey(); in NotificationInfo()113 launcher.getPopupDataProvider().cancelNotification(notificationKey); in onClick()
306 keys.stream().map(n -> n.notificationKey).toArray(String[]::new)); in getNotificationsForKeys()344 NotificationKeyData notificationKey); in onNotificationPosted() argument346 NotificationKeyData notificationKey); in onNotificationRemoved() argument
135 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()178 mNotificationInfo.notificationKey); in onChildDismissed()
161 currentMainNotificationInfo.notificationKey); in trimNotifications()
81 NotificationKeyData notificationKey) { in onNotificationPosted() argument87 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()94 NotificationKeyData notificationKey) { in onNotificationRemoved() argument96 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()186 public void cancelNotification(String notificationKey) { in cancelNotification() argument191 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
76 @NonNull ConversationNotification conversation, @NonNull String notificationKey) { in createConversationNotificationInfo() argument97 messagingStyle.getIsGroupConvo(), notificationKey, in createConversationNotificationInfo()118 String convoTitle, boolean isGroupConvo, @Nullable String notificationKey, in ConversationNotificationInfo() argument138 this.mNotificationKey = notificationKey; in ConversationNotificationInfo()
128 for (String notificationKey : currentNotificationKeys) { in updateUnseenNotification()129 mUnseenNotificationMap.remove(notificationKey); in updateUnseenNotification()