Home
last modified time | relevance | path

Searched refs:itemViewType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarNotificationViewAdapterTest.java520 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() local
522 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_COLLAPSED); in getItemViewType_shouldReturnGroupCollapsed()
537 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() local
539 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_EXPANDED); in getItemViewType_shouldReturnGroupExpanded()
553 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local
555 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency()
569 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local
571 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning()
585 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local
587 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java314 final int itemViewType = getItemViewType(position); in getItem() local
315 switch (itemViewType) { in getItem()
321 throw new IllegalStateException("unexpected item view type: " + itemViewType); in getItem()
334 final int itemViewType = getItemViewType(position); in getView() local
335 switch (itemViewType) { in getView()
390 throw new IllegalStateException("unexpected item view type: " + itemViewType); in getView()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneViewHolder.java70 final int itemViewType = getItemViewType(); in onBindItemView() local
71 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()
94 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()