Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewAdapterTest.java599 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() local
601 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_COLLAPSED); in getItemViewType_shouldReturnGroupCollapsed()
616 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() local
618 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_EXPANDED); in getItemViewType_shouldReturnGroupExpanded()
632 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local
634 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency()
648 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local
650 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning()
664 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local
666 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt275 val itemViewType = getItemViewType(position) in getItem() constant
276 when (itemViewType) { in getItem()
280 throw IllegalStateException("unexpected item view type: $itemViewType") in getItem()
292 val itemViewType = getItemViewType(position) in getView() constant
293 when (itemViewType) { in getView()
342 else -> throw IllegalStateException("unexpected item view type: $itemViewType") in getView()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneViewHolder.kt55 val itemViewType: Int = getItemViewType() in onBindItemView() constant
56 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()
79 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteAdapter.java116 int itemViewType = getItemViewType(position); in onBindViewHolder() local
117 switch (itemViewType) { in onBindViewHolder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java107 int itemViewType = getItemViewType(position); in onBindViewHolder() local
108 switch (itemViewType) { in onBindViewHolder()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java386 @NonNull ViewGroup parent, int itemViewType) {