Searched refs:notificationGroup (Results 1 – 8 of 8) sorted by relevance
313 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_groupExpanded_shouldNotThrowError() local314 notificationGroup.setGroupSummaryNotification(mNotification1); in onBindViewHolder_groupExpanded_shouldNotThrowError()315 mNotificationGroupList1.add(notificationGroup); in onBindViewHolder_groupExpanded_shouldNotThrowError()328 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_groupCollapsed_shouldNotThrowError() local329 notificationGroup.setGroupSummaryNotification(mNotification1); in onBindViewHolder_groupCollapsed_shouldNotThrowError()330 mNotificationGroupList1.add(notificationGroup); in onBindViewHolder_groupCollapsed_shouldNotThrowError()343 NotificationGroup notificationGroup = new NotificationGroup(); in onBindViewHolder_message_shouldNotThrowError() local344 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 …]
139 NotificationGroup notificationGroup = new NotificationGroup(); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount() local140 notificationGroup.addNotification(mMessageNotification); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount()141 notificationGroups.add(notificationGroup); in updateUnseenNotification_addNewUnseenNotification_updatesUnseenCount()152 NotificationGroup notificationGroup = new NotificationGroup(); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount() local153 notificationGroup.addNotification(mMessageNotification); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount()154 notificationGroups.add(notificationGroup); in setNotificationAsSeen_notificationIsSeen_decrementsUnseenCount()166 NotificationGroup notificationGroup = new NotificationGroup(); in clearAll_clearsAllUnseenData() local167 notificationGroup.addNotification(mMessageNotification); in clearAll_clearsAllUnseenData()168 notificationGroups.add(notificationGroup); in clearAll_clearsAllUnseenData()
191 NotificationGroup notificationGroup = mNotifications.get(position); in onBindViewHolder() local202 .bind(notificationGroup, this, /* isExpanded= */ true); in onBindViewHolder()206 .bind(notificationGroup, this, /* isExpanded= */ false); in onBindViewHolder()209 ((GroupSummaryNotificationViewHolder) holder).bind(notificationGroup); in onBindViewHolder()212 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()218 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()224 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()236 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()248 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()254 StatusBarNotification notification = notificationGroup.getSingleNotification(); in onBindViewHolder()[all …]
289 NotificationGroup notificationGroup = new NotificationGroup(); in group() local290 groupedNotifications.put(groupKey, notificationGroup); in group()305 notificationGroup -> { in group()307 notificationGroup.getGroupSummaryNotification(); in group()308 return notificationGroup.getChildCount() == 0 in group()415 notifications.forEach(notificationGroup -> { in rank()416 if (notificationGroup.isGroup()) { in rank()418 notificationGroup.getChildNotifications(), in rank()
125 NotificationGroup notificationGroup = in CarNotificationItemTouchListener()128 : notificationGroup.getChildNotifications()) { in CarNotificationItemTouchListener()
267 NotificationGroup notificationGroup = mNotificationGroupMap.get(sbn.getGroupKey()); in onNotificationRemoved() local269 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() local317 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 …]
69 public void bind(NotificationGroup notificationGroup) { in bind() argument71 super.bind(notificationGroup.getSingleNotification(), /* isInGroup= */ true, false); in bind()73 List<String> titles = notificationGroup.getChildTitles(); in bind()
142 NotificationGroup notificationGroup = new NotificationGroup(); in bind()143 notificationGroup.addNotification(notification); in bind()144 list.add(notificationGroup); in bind()