Searched refs:itemViewType (Results 1 – 3 of 3) sorted by relevance
520 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() local522 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_COLLAPSED); in getItemViewType_shouldReturnGroupCollapsed()537 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() local539 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_EXPANDED); in getItemViewType_shouldReturnGroupExpanded()553 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local555 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency()569 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local571 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning()585 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local587 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation()[all …]
314 final int itemViewType = getItemViewType(position); in getItem() local315 switch (itemViewType) { in getItem()321 throw new IllegalStateException("unexpected item view type: " + itemViewType); in getItem()334 final int itemViewType = getItemViewType(position); in getView() local335 switch (itemViewType) { in getView()390 throw new IllegalStateException("unexpected item view type: " + itemViewType); in getView()
70 final int itemViewType = getItemViewType(); in onBindItemView() local71 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()94 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()