Home
last modified time | relevance | path

Searched refs:isSeen (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java186 notificationGroup.isSeen())); in onBindViewHolderImpl()
200 false, /* isHeadsUp= */ false, notificationGroup.isSeen()); in onBindViewHolderImpl()
203 notificationGroup.isSeen()); in onBindViewHolderImpl()
228 notificationGroup.isSeen()); in getItemViewTypeImpl()
376 key += notificationGroup.isSeen(); in getItemId()
389 public void setExpanded(String groupKey, boolean isSeen, boolean isExpanded) { in setExpanded() argument
390 if (isExpanded(groupKey, isSeen) == isExpanded) { in setExpanded()
394 ExpandedNotification expandedNotification = new ExpandedNotification(groupKey, isSeen); in setExpanded()
420 boolean isExpanded(String groupKey, boolean isSeen) { in isExpanded() argument
421 ExpandedNotification expandedNotification = new ExpandedNotification(groupKey, isSeen); in isExpanded()
[all …]
DNotificationGroup.java75 setSeen(group.isSeen()); in NotificationGroup()
208 public boolean isSeen() { in isSeen() method in NotificationGroup
215 public void setSeen(boolean isSeen) { in setSeen() argument
216 mIsSeen = isSeen; in setSeen()
DPreprocessingManager.java480 newGroup.setSeen(group.isSeen()); in group()
503 newGroup.setSeen(group.isSeen()); in group()
615 if (mShowRecentsAndOlderHeaders && oldGroup.isSeen()) { in additionalGroupAndRank()
716 if (mShowRecentsAndOlderHeaders && group.isSeen() in insertRankedNotification()
717 && !mOldProcessedNotifications.get(i).isSeen()) { in insertRankedNotification()
824 if (left.isSeen() && !right.isSeen()) { in compare()
826 } else if (!left.isSeen() && right.isSeen()) { in compare()
DCarNotificationTypeItem.java160 CarNotificationBaseViewHolder holder, boolean isSeen) { in bind() argument
161 holder.bind(alertEntry, mIsInGroup, isHeadsUp, isSeen); in bind()
DCarNotificationDiff.java111 if (oldItem.isSeen() != newItem.isSeen()) { in sameGroupUniqueIdentifiers()
DCarNotificationItemTouchListener.java296 if (!mAdapter.isExpanded(group.getGroupKey(), group.isSeen())) { in isInteractingWithExpandedGroupNotificationList()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DNavigationNotificationViewHolder.java49 boolean isHeadsUp, boolean isSeen) { in bind() argument
50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DInboxNotificationViewHolder.java50 boolean isHeadsUp, boolean isSeen) { in bind() argument
51 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DCallNotificationViewHolder.java49 boolean isHeadsUp, boolean isSeen) { in bind() argument
50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DBasicNotificationViewHolder.java49 boolean isHeadsUp, boolean isSeen) { in bind() argument
50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DEmergencyNotificationViewHolder.java70 boolean isHeadsUp, boolean isSeen) { in bind() argument
71 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DProgressNotificationViewHolder.java65 boolean isHeadsUp, boolean isSeen) { in bind() argument
66 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
DMessageNotificationViewHolder.java105 boolean isHeadsUp, boolean isSeen) { in bind() argument
106 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
117 boolean isSeen) { in bindRestricted() argument
118 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bindRestricted()
DGroupNotificationViewHolder.java273 newGroup.setSeen(mNotificationGroup.isSeen()); in collapseGroup()
338 mNotificationGroup.isSeen(), in updateOnClickListener()
398 notificationGroup.setSeen(mNotificationGroup.isSeen()); in addNextPageOfNotificationsToList()
DGroupSummaryNotificationViewHolder.java68 true, /* isHeadsUp= */false, notificationGroup.isSeen()); in bind()
DCarNotificationBaseViewHolder.java177 public void bind(AlertEntry alertEntry, boolean isInGroup, boolean isHeadsUp, boolean isSeen) { in bind() argument
179 mIsSeen = isSeen; in bind()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java510 if (group.isSeen()) { in onGroup_groupsNotificationsBySeenUnseen()
517 if (group.isSeen()) { in onGroup_groupsNotificationsBySeenUnseen()
864 assertThat(processedGroupsWithGroupKeyC.get(0).isSeen()).isTrue(); in onAdditionalGroupAndRank_updateToNotificationInSeenGroup_newUnseenGroupCreated()
1444 private List<NotificationGroup> getGroupsWithSeenState(boolean isSeen, in getGroupsWithSeenState() argument
1446 return filterGroups(ng -> ng.isSeen() == isSeen, notificationGroups); in getGroupsWithSeenState()
DCarNotificationViewAdapterTest.java853 assertThat(itemId).isEqualTo((notificationGroup.getGroupKey() + notificationGroup.isSeen()) in getItemId_showRecentAndOldHeaders_shouldReturnHashCode()
872 + notificationGroup.isSeen()).hashCode()); in getItemId_showRecentAndOldHeaders_shouldReturnSingleNotificationHashCode()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DGroupNotificationViewHolderTest.java167 .setExpanded(group.getGroupKey(), group.isSeen(), /* isExpanded= */ false); in bind_22notifications_expanded5ThenCollapse_setExpandedFalse()