Searched refs:NotificationViewType (Results 1 – 8 of 8) sorted by relevance
| /packages/apps/Car/Notification/src/com/android/car/notification/ |
| D | CarNotificationTypeItem.java | 40 R.layout.car_emergency_notification_template, NotificationViewType.CAR_EMERGENCY, 43 -1, NotificationViewType.NAVIGATION, false), 45 R.layout.call_notification_template, NotificationViewType.CALL, false), 47 R.layout.car_warning_notification_template, NotificationViewType.CAR_WARNING, false), 49 R.layout.car_information_notification_template, NotificationViewType.CAR_INFORMATION, 52 NotificationViewType.CAR_INFORMATION_IN_GROUP, true), 54 R.layout.message_notification_template, NotificationViewType.MESSAGE, false), 56 NotificationViewType.MESSAGE_IN_GROUP, true), 58 R.layout.inbox_notification_template, NotificationViewType.INBOX, false), 60 NotificationViewType.INBOX_IN_GROUP, true), [all …]
|
| D | NotificationViewType.java | 24 NotificationViewType.GROUP, 25 NotificationViewType.GROUP_SUMMARY, 26 NotificationViewType.BASIC, 27 NotificationViewType.BASIC_IN_GROUP, 28 NotificationViewType.MESSAGE, 29 NotificationViewType.MESSAGE_IN_GROUP, 30 NotificationViewType.PROGRESS, 31 NotificationViewType.PROGRESS_IN_GROUP, 32 NotificationViewType.INBOX, 33 NotificationViewType.INBOX_IN_GROUP, [all …]
|
| D | CarNotificationViewAdapter.java | 129 case NotificationViewType.HEADER: in onCreateViewHolderImpl() 134 case NotificationViewType.FOOTER: in onCreateViewHolderImpl() 139 case NotificationViewType.RECENTS: in onCreateViewHolderImpl() 144 case NotificationViewType.OLDER: in onCreateViewHolderImpl() 166 case NotificationViewType.HEADER: in onBindViewHolderImpl() 169 case NotificationViewType.FOOTER: in onBindViewHolderImpl() 172 case NotificationViewType.RECENTS: in onBindViewHolderImpl() 175 case NotificationViewType.OLDER: in onBindViewHolderImpl() 179 case NotificationViewType.GROUP: in onBindViewHolderImpl() 185 case NotificationViewType.GROUP_SUMMARY: in onBindViewHolderImpl() [all …]
|
| D | CarNotificationView.java | 214 if (holder != null && holder.getItemViewType() == NotificationViewType.GROUP) { in resetState()
|
| D | CarHeadsUpNotificationManager.java | 342 == NotificationViewType.MESSAGE) { in showHeadsUp()
|
| /packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
| D | CarNotificationTypeItemTest.java | 58 NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues() 59 assertThat(navigation.getNotificationType()).isEqualTo(NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues() 68 NotificationViewType.CALL); in callNotificationType_shouldHaveCorrectValues() 69 assertThat(call.getNotificationType()).isEqualTo(NotificationViewType.CALL); in callNotificationType_shouldHaveCorrectValues() 78 NotificationViewType.MESSAGE); in messageNotificationType_shouldHaveCorrectValues() 79 assertThat(message.getNotificationType()).isEqualTo(NotificationViewType.MESSAGE); in messageNotificationType_shouldHaveCorrectValues() 88 NotificationViewType.MESSAGE_IN_GROUP); in messageInGroupNotificationType_shouldHaveCorrectValues() 90 NotificationViewType.MESSAGE_IN_GROUP); in messageInGroupNotificationType_shouldHaveCorrectValues() 99 NotificationViewType.INBOX); in inboxNotificationType_shouldHaveCorrectValues() 100 assertThat(inbox.getNotificationType()).isEqualTo(NotificationViewType.INBOX); in inboxNotificationType_shouldHaveCorrectValues() [all …]
|
| D | CarNotificationViewAdapterTest.java | 150 NotificationViewType.CAR_WARNING); in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() 161 NotificationViewType.GROUP); in onCreateViewHolder_groupType_shouldReturnObjectOfGroupNotificationViewHolder() 172 NotificationViewType.GROUP_SUMMARY); in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() 183 NotificationViewType.CAR_INFORMATION); in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() 194 NotificationViewType.CAR_INFORMATION_IN_GROUP); in onCreateViewHolder_carInfoInGroup_shouldReturnObjectOfBasicNotificationViewHolder() 205 NotificationViewType.MESSAGE_IN_GROUP); in onCreateViewHolder_shouldReturnObjectOfMessageNotificationViewHolder() 216 NotificationViewType.MESSAGE); in onCreateViewHolder_message_shouldReturnObjectOfMessageNotificationViewHolder() 227 NotificationViewType.PROGRESS_IN_GROUP); in onCreateViewHolder_progressInGroupType_shouldReturnObjectOfProgressNotificationViewHolder() 238 NotificationViewType.PROGRESS); in onCreateViewHolder_progressInGroup_shouldReturnObjectOfProgressNotificationViewHolder() 249 NotificationViewType.INBOX_IN_GROUP); in onCreateViewHolder_inboxInGroupType_shouldReturnObjectOfInboxNotificationViewHolder() [all …]
|
| D | CarNotificationViewTest.java | 280 NotificationViewType.GROUP); in resetState_collapseGroupForAllGroupsCalled() 282 NotificationViewType.GROUP); in resetState_collapseGroupForAllGroupsCalled()
|