Home
last modified time | relevance | path

Searched refs:notificationKey (Results 1 – 11 of 11) 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.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()
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.java122 listener.setNotificationsShown(new String[] {mNotificationInfo.notificationKey}); in applyNotificationInfo()
170 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/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegate.java81 String notificationKey = message.getNotificationKey(); in onMessageReceived() local
85 initializeNewConversation(device, message.getConversation(), notificationKey); in onMessageReceived()
87 initializeNewMessage(device.getDeviceId(), message.getMessage(), notificationKey); in onMessageReceived() local
176 ConversationNotification notification, String notificationKey) { in initializeNewConversation() argument
178 ConversationKey convoKey = new ConversationKey(deviceAddress, notificationKey); in initializeNewConversation()
180 logw(TAG, "Conversation already exists! " + notificationKey); in initializeNewConversation()
190 notification, notificationKey); in initializeNewConversation()
204 MessagingStyleMessage messagingStyleMessage, String notificationKey) { in initializeNewMessage() argument
205 ConversationKey convoKey = new ConversationKey(deviceAddress, notificationKey); in initializeNewMessage()
207 logw(TAG, "Conversation not found for notification: " + notificationKey); in initializeNewMessage()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java79 NotificationKeyData notificationKey, boolean shouldBeFilteredOut) { in onNotificationPosted() argument
85 newDotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()
93 ? dotInfo.removeNotificationKey(notificationKey) in onNotificationPosted()
94 : dotInfo.addOrUpdateNotificationKey(notificationKey); in onNotificationPosted()
106 NotificationKeyData notificationKey) { in onNotificationRemoved() argument
108 if (oldDotInfo != null && oldDotInfo.removeNotificationKey(notificationKey)) { in onNotificationRemoved()
206 public void cancelNotification(String notificationKey) { in cancelNotification() argument
211 notificationListener.cancelNotificationFromLauncher(notificationKey); in cancelNotification()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversationNotificationInfo.java67 @NonNull ConversationNotification conversation, @NonNull String notificationKey) { in createConversationNotificationInfo() argument
82 messagingStyle.getIsGroupConvo(), notificationKey, in createConversationNotificationInfo()
89 String convoTitle, boolean isGroupConvo, @Nullable String notificationKey, in ConversationNotificationInfo() argument
108 this.mNotificationKey = notificationKey; in ConversationNotificationInfo()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationDataManager.java120 for (String notificationKey : currentNotificationKeys) { in updateUnseenNotification()
121 mUnseenNotificationMap.remove(notificationKey); in updateUnseenNotification()