/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapter.java | 79 if (getItemViewType(position) == ITEM_TYPE_SECTION_BREAK in createSpanSizeLookup() 80 || getItemViewType(position) == ITEM_TYPE_HEADER_MESSAGE in createSpanSizeLookup() 81 || getItemViewType(position) == ITEM_TYPE_INFLATED_MESSAGE) { in createSpanSizeLookup() 87 return getItemViewType(position) == ITEM_TYPE_DIRECTORY in createSpanSizeLookup() 128 switch (holder.getItemViewType()) { 146 switch (holder.getItemViewType()) { 206 public int getItemViewType(int p) { 219 return mDelegate.getItemViewType(toDelegatePosition(p));
|
D | DocumentItemDetails.java | 36 public int getItemViewType() { in getItemViewType() method in DocumentItemDetails 37 return mDocumentHolder.getItemViewType(); in getItemViewType()
|
D | InputHandlers.java | 68 switch (item.getItemViewType()) { in createKeyHandler() 78 "Unsupported item type: " + item.getItemViewType()); in createKeyHandler()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 520 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() 537 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() 553 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() 569 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() 585 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() 601 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformationInGroup() 617 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnMessageInGroup() 633 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnMessage() 645 int itemViewType = mCarNotificationViewAdapter.getItemViewType(1); in getItemViewType_shouldReturnGroupSummary() 657 int itemViewType = mCarNotificationViewAdapter.getItemViewType(0); in getItemViewType_shouldReturnBasic() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 73 public int getItemViewType(int position) { in getItemViewType() method in CompositeListAdapterTest.MockAdapter 202 assertEquals(1, adapter.getItemViewType(0)); in testGetItemViewType() 203 assertEquals(0, adapter.getItemViewType(1)); in testGetItemViewType() 207 assertEquals(4, adapter.getItemViewType(2)); in testGetItemViewType() 208 assertEquals(5, adapter.getItemViewType(3)); in testGetItemViewType() 209 assertEquals(3, adapter.getItemViewType(4)); in testGetItemViewType()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | MtpAdapter.java | 118 public int getItemViewType(int position) { in getItemViewType() method in MtpAdapter 129 return getItemViewType(position) == ITEM_TYPE_BUCKET; in itemAtPositionIsBucket() 133 return getItemViewType(position) == ITEM_TYPE_MEDIA; in itemAtPositionIsMedia() 138 int type = getItemViewType(position); in getView()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.java | 75 mListenersByViewType.get(viewHolder.getItemViewType()); 256 public int getItemViewType(int position) { in getItemViewType() method in ItemAdapter 257 return mItemHolders.get(position).getItemViewType(); in getItemViewType() 331 public abstract int getItemViewType(); in getItemViewType() method in ItemAdapter.ItemHolder
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsAdapter.java | 75 public int getItemViewType(int position) { in getItemViewType() method in ContactDetailsAdapter 111 switch (viewHolder.getItemViewType()) { in onBindViewHolder() 119 Log.e(TAG, "Unknown view type " + viewHolder.getItemViewType()); in onBindViewHolder()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FixedLastProxyAdapter.java | 128 public int getItemViewType(int index) { in getItemViewType() method in FixedLastProxyAdapter 132 return mAdapter.getItemViewType(index); in getItemViewType() 134 return mLastData.getItemViewType().ordinal(); in getItemViewType()
|
D | FixedFirstProxyAdapter.java | 123 public int getItemViewType(int index) { in getItemViewType() method in FixedFirstProxyAdapter 125 return mFirstData.getItemViewType().ordinal(); in getItemViewType() 127 return mAdapter.getItemViewType(index); in getItemViewType()
|
D | SessionItem.java | 101 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView() 116 public FilmstripItemType getItemViewType() { in getItemViewType() method in SessionItem
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 106 public int getItemViewType(int position) { in getItemViewType() method in SpeedDialAdapter 139 switch (getItemViewType(position)) { in onBindViewHolder() 218 switch (getItemViewType(position)) { in getSpanSizeLookup() 328 return !speedDialUiItems.isEmpty() && getItemViewType(getItemCount() - 1) == RowType.SUGGESTION;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SwipeDismissalDelegateTest.java | 114 viewHolder).getItemViewType(); in getSliceViewHolder() 125 viewHolder).getItemViewType(); in getConditionalViewHolder() 134 doReturn(VIEW_TYPE_DEFERRED_SETUP).when(viewHolder).getItemViewType(); in getDeferredSetupViewHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | SliceContextualCardRenderer.java | 120 switch (holder.getItemViewType()) { in bindView() 132 switch (holder.getItemViewType()) { in bindView() 182 if (viewHolder.getItemViewType() == VIEW_TYPE_HALF_WIDTH) { in getInitialView()
|
D | SwipeDismissalDelegate.java | 55 switch (viewHolder.getItemViewType()) { in getMovementFlags() 117 if (viewHolder.getItemViewType() == SliceContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) { in getSwipeableView()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRenderer.java | 135 switch (holder.getItemViewType()) { in bindView() 150 switch (holder.getItemViewType()) { in bindView() 200 if (viewHolder.getItemViewType() == VIEW_TYPE_HALF_WIDTH) { in getInitialView()
|
D | SwipeDismissalDelegate.java | 55 switch (viewHolder.getItemViewType()) { in getMovementFlags() 117 if (viewHolder.getItemViewType() == SliceContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) { in getSwipeableView()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | GuidedActionsStylistWithDivider.java | 33 public int getItemViewType(GuidedAction action) { in getItemViewType() method in GuidedActionsStylistWithDivider 37 return super.getItemViewType(action); in getItemViewType()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SeparatedFolderListAdapter.java | 76 public int getItemViewType(int position) { in getItemViewType() method in SeparatedFolderListAdapter 82 return type + adapter.getItemViewType(position); in getItemViewType()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | HeaderEntryContactListAdapter.java | 97 public int getItemViewType(int position) { in getItemViewType() method in HeaderEntryContactListAdapter 101 return super.getItemViewType(position - getHeaderEntryCount()); in getItemViewType()
|
/packages/apps/Dialer/java/com/android/dialer/rtt/ |
D | RttTranscriptAdapter.java | 48 public int getItemViewType(int position) { in getItemViewType() method in RttTranscriptAdapter 49 return super.getItemViewType(position); in getItemViewType()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsAdapter.java | 103 return getItemViewType(position) != TYPE_SPACER; in isEnabled() 107 public int getItemViewType(int position) { in getItemViewType() method in RootsAdapter
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridAdapter.java | 77 public int getItemViewType(int position) { in getItemViewType() method in AppGridAdapter 98 switch (holder.getItemViewType()) { in onBindViewHolder()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MergedAdapter.java | 147 public int getItemViewType(int position) { in getItemViewType() method in MergedAdapter 156 int type = result.mAdapter.getItemViewType(result.mLocalPosition); in getItemViewType()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskAdapter.java | 125 int itemType = getItemViewType(position); in onBindViewHolderInternal() 163 public int getItemViewType(int position) { in getItemViewType() method in TaskAdapter
|