Home
last modified time | relevance | path

Searched refs:notificationGroup (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarNotificationViewAdapterTest.java313 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_groupExpanded_shouldNotThrowError() local
314 notificationGroup.setGroupSummaryNotification(mNotification1); in onBindViewHolder_groupExpanded_shouldNotThrowError()
315 mNotificationGroupList1.add(notificationGroup); in onBindViewHolder_groupExpanded_shouldNotThrowError()
328 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_groupCollapsed_shouldNotThrowError() local
329 notificationGroup.setGroupSummaryNotification(mNotification1); in onBindViewHolder_groupCollapsed_shouldNotThrowError()
330 mNotificationGroupList1.add(notificationGroup); in onBindViewHolder_groupCollapsed_shouldNotThrowError()
343 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_message_shouldNotThrowError() local
344 notificationGroup.setGroupSummaryNotification(mNotification1); in onBindViewHolder_message_shouldNotThrowError()
345 mNotificationGroupList1.add(notificationGroup); in onBindViewHolder_message_shouldNotThrowError()
358 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_messageWithRestriction_shouldNotThrowError() local
[all …]
DNotificationDataManagerTest.java139 NotificationGroup notificationGroup = new NotificationGroup(); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount() local
140 notificationGroup.addNotification(mMessageNotification); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount()
141 notificationGroups.add(notificationGroup); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount()
152 NotificationGroup notificationGroup = new NotificationGroup(); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount() local
153 notificationGroup.addNotification(mMessageNotification); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount()
154 notificationGroups.add(notificationGroup); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount()
166 NotificationGroup notificationGroup = new NotificationGroup(); in clearAll_clearsAllUnseenData() local
167 notificationGroup.addNotification(mMessageNotification); in clearAll_clearsAllUnseenData()
168 notificationGroups.add(notificationGroup); in clearAll_clearsAllUnseenData()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java195 NotificationGroup notificationGroup = mNotifications.get(position); in onBindViewHolder() local
206 .bind(notificationGroup, this, /* isExpanded= */ true); in onBindViewHolder()
210 .bind(notificationGroup, this, /* isExpanded= */ false); in onBindViewHolder()
213 ((GroupSummaryNotificationViewHolder) holder).bind(notificationGroup); in onBindViewHolder()
216 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
222 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
228 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
240 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
252 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
258 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()
[all …]
DPreprocessingManager.java336 NotificationGroup notificationGroup = new NotificationGroup(); in group() local
337 groupedNotifications.put(groupKey, notificationGroup); in group()
352 notificationGroup -> { in group()
354 notificationGroup.getGroupSummaryNotification(); in group()
355 return notificationGroup.getChildCount() == 0 in group()
462 notifications.forEach(notificationGroup -> { in rank()
463 if (notificationGroup.isGroup()) { in rank()
465 notificationGroup.getChildNotifications(), in rank()
DCarNotificationItemTouchListener.java125 NotificationGroup notificationGroup = in CarNotificationItemTouchListener()
128 : notificationGroup.getChildNotifications()) { in CarNotificationItemTouchListener()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java267 NotificationGroup notificationGroup = mNotificationGroupMap.get(sbn.getGroupKey()); in onNotificationRemoved() local
269 if (notificationGroup != null) { in onNotificationRemoved()
270 notificationGroup.removeChildKey(key); in onNotificationRemoved()
271 if (notificationGroup.isEmpty()) { in onNotificationRemoved()
274 cancelNotification(notificationGroup.getGroupSummaryKey()); in onNotificationRemoved()
316 NotificationGroup notificationGroup = mNotificationGroupMap.get(newGroupKey); in updateGroupKeyIfNecessary() local
317 if (notificationGroup == null) { in updateGroupKeyIfNecessary()
318 notificationGroup = new NotificationGroup(); in updateGroupKeyIfNecessary()
319 mNotificationGroupMap.put(newGroupKey, notificationGroup); in updateGroupKeyIfNecessary()
324 notificationGroup.setGroupSummaryKey(childKey); in updateGroupKeyIfNecessary()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupSummaryNotificationViewHolder.java69 public void bind(NotificationGroup notificationGroup) { in bind() argument
71 super.bind(notificationGroup.getSingleNotification(), /* isInGroup= */ true, false); in bind()
73 List<String> titles = notificationGroup.getChildTitles(); in bind()
DGroupNotificationViewHolder.java142 NotificationGroup notificationGroup = new NotificationGroup(); in bind()
143 notificationGroup.addNotification(notification); in bind()
144 list.add(notificationGroup); in bind()