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()
195 NotificationGroup notificationGroup = mNotifications.get(position); in onBindViewHolder() local206 .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 …]
336 NotificationGroup notificationGroup = new NotificationGroup(); in group() local337 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()
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()