Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/dot/
DDotInfo.java49 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey() argument
50 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() argument
74 boolean removed = mNotificationKeys.remove(notificationKey); in removeNotificationKey()
76 mTotalCount -= notificationKey.count; in removeNotificationKey()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java38 public final String notificationKey; field in NotificationKeyData
44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument
46 this.notificationKey = notificationKey; in NotificationKeyData()
63 keysOnly.add(notificationKeyData.notificationKey); in extractKeysOnly()
82 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
DNotificationInfo.java49 public final String notificationKey; field in NotificationInfo
67 notificationKey = statusBarNotification.getKey(); in NotificationInfo()
113 launcher.getPopupDataProvider().cancelNotification(notificationKey); in onClick()
DNotificationListener.java306 keys.stream().map(n -> n.notificationKey).toArray(String[]::new)); in getNotificationsForKeys()
344 NotificationKeyData notificationKey); in onNotificationPosted() argument
346 NotificationKeyData notificationKey); in onNotificationRemoved() argument
DNotificationMainView.java135 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()
178 mNotificationInfo.notificationKey); in onChildDismissed()
DNotificationItemView.java161 currentMainNotificationInfo.notificationKey); in trimNotifications()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java81 NotificationKeyData notificationKey) { in onNotificationPosted() argument
87 if (dotInfo.addOrUpdateNotificationKey(notificationKey)) { in onNotificationPosted()
94 NotificationKeyData notificationKey) { in onNotificationRemoved() argument
96 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
186 public void cancelNotification(String notificationKey) { in cancelNotification() argument
191 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversationNotificationInfo.java76 @NonNull ConversationNotification conversation, @NonNull String notificationKey) { in createConversationNotificationInfo() argument
97 messagingStyle.getIsGroupConvo(), notificationKey, in createConversationNotificationInfo()
118 String convoTitle, boolean isGroupConvo, @Nullable String notificationKey, in ConversationNotificationInfo() argument
138 this.mNotificationKey = notificationKey; in ConversationNotificationInfo()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationDataManager.java128 for (String notificationKey : currentNotificationKeys) { in updateUnseenNotification()
129 mUnseenNotificationMap.remove(notificationKey); in updateUnseenNotification()