/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 558 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroup() local 560 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP); in getItemViewType_shouldReturnGroup() 574 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local 576 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency() 590 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local 592 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning() 606 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local 608 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation() 622 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformationInGroup() local 624 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION_IN_GROUP); in getItemViewType_shouldReturnCarInformationInGroup() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | PhotosTabItemDecoration.java | 53 final int itemViewType = parent.getAdapter().getItemViewType(adapterPosition); in getItemOffsets() local 56 if (itemViewType == ITEM_TYPE_BANNER || itemViewType == ITEM_TYPE_SECTION) { in getItemOffsets()
|
D | AlbumsTabItemDecoration.java | 55 final int itemViewType = parent.getAdapter().getItemViewType(adapterPosition); in getItemOffsets() local 58 if (itemViewType == ITEM_TYPE_BANNER) { in getItemOffsets()
|
D | TabAdapter.java | 127 final int itemViewType = getItemViewType(position); in onBindViewHolder() local 128 switch (itemViewType) { in onBindViewHolder() 139 throw new IllegalArgumentException("Unknown item view type " + itemViewType); in onBindViewHolder()
|
D | TabFragment.java | 1062 final int itemViewType = adapter.getItemViewType(position); 1065 if (itemViewType == ITEM_TYPE_BANNER || itemViewType == ITEM_TYPE_SECTION) {
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | RecyclerViewTestUtils.java | 76 static Matcher<View> atPositionOnItemViewType(int position, int itemViewType) { in atPositionOnItemViewType() argument 81 + itemViewType); in atPositionOnItemViewType() 92 return viewHolder.getItemViewType() == itemViewType; in atPositionOnItemViewType()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneViewHolder.kt | 55 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/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.kt | 275 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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/ |
D | TermsListAdapter.java | 107 int itemViewType = getItemViewType(position); in onBindViewHolder() local 108 switch (itemViewType) { in onBindViewHolder()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/picker/ |
D | PickerAppCardViewAdapter.kt | 81 val type = AppCardType.fromInt(holder.itemViewType) in <lambda>()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/reorder/ |
D | ReorderAppCardViewAdapter.kt | 85 val type = AppCardType.fromInt(holder.itemViewType) in <lambda>()
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletCardCarousel.java | 386 @NonNull ViewGroup parent, int itemViewType) {
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ManageApplications.java | 1739 int itemViewType = getItemViewType(position); in isEnabled() local 1740 if (itemViewType == VIEW_TYPE_EXTRA_VIEW || itemViewType == VIEW_TYPE_APP_HEADER in isEnabled()
|