/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationViewAdapter.java | 186 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 …]
|
D | NotificationGroup.java | 75 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()
|
D | PreprocessingManager.java | 480 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()
|
D | CarNotificationTypeItem.java | 160 CarNotificationBaseViewHolder holder, boolean isSeen) { in bind() argument 161 holder.bind(alertEntry, mIsInGroup, isHeadsUp, isSeen); in bind()
|
D | CarNotificationDiff.java | 111 if (oldItem.isSeen() != newItem.isSeen()) { in sameGroupUniqueIdentifiers()
|
D | CarNotificationItemTouchListener.java | 296 if (!mAdapter.isExpanded(group.getGroupKey(), group.isSeen())) { in isInteractingWithExpandedGroupNotificationList()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | NavigationNotificationViewHolder.java | 49 boolean isHeadsUp, boolean isSeen) { in bind() argument 50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | InboxNotificationViewHolder.java | 50 boolean isHeadsUp, boolean isSeen) { in bind() argument 51 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | CallNotificationViewHolder.java | 49 boolean isHeadsUp, boolean isSeen) { in bind() argument 50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | BasicNotificationViewHolder.java | 49 boolean isHeadsUp, boolean isSeen) { in bind() argument 50 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | EmergencyNotificationViewHolder.java | 70 boolean isHeadsUp, boolean isSeen) { in bind() argument 71 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | ProgressNotificationViewHolder.java | 65 boolean isHeadsUp, boolean isSeen) { in bind() argument 66 super.bind(alertEntry, isInGroup, isHeadsUp, isSeen); in bind()
|
D | MessageNotificationViewHolder.java | 105 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()
|
D | GroupNotificationViewHolder.java | 273 newGroup.setSeen(mNotificationGroup.isSeen()); in collapseGroup() 338 mNotificationGroup.isSeen(), in updateOnClickListener() 398 notificationGroup.setSeen(mNotificationGroup.isSeen()); in addNextPageOfNotificationsToList()
|
D | GroupSummaryNotificationViewHolder.java | 68 true, /* isHeadsUp= */false, notificationGroup.isSeen()); in bind()
|
D | CarNotificationBaseViewHolder.java | 177 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/ |
D | PreprocessingManagerTest.java | 510 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()
|
D | CarNotificationViewAdapterTest.java | 853 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/ |
D | GroupNotificationViewHolderTest.java | 167 .setExpanded(group.getGroupKey(), group.isSeen(), /* isExpanded= */ false); in bind_22notifications_expanded5ThenCollapse_setExpandedFalse()
|