/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 71 public int getItemViewType(int position) { in getItemViewType() method in CompositeListAdapterTest.MockAdapter 200 assertEquals(1, adapter.getItemViewType(0)); in testGetItemViewType() 201 assertEquals(0, adapter.getItemViewType(1)); in testGetItemViewType() 205 assertEquals(4, adapter.getItemViewType(2)); in testGetItemViewType() 206 assertEquals(5, adapter.getItemViewType(3)); in testGetItemViewType() 207 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/Settings/src/com/android/settings/dashboard/ |
D | DashboardDecorator.java | 46 if (holder.getItemViewType() == R.layout.dashboard_category) { in onDrawOver() 47 if (parent.getChildViewHolder(parent.getChildAt(i - 1)).getItemViewType() in onDrawOver() 51 } else if (holder.getItemViewType() != R.layout.condition_card) { in onDrawOver()
|
/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
|
D | VideoItem.java | 159 view.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView() 213 public FilmstripItemType getItemViewType() { in getItemViewType() method in VideoItem
|
D | PhotoItem.java | 124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView() 160 public FilmstripItemType getItemViewType() { in getItemViewType() method in PhotoItem
|
D | FilmstripItem.java | 59 public FilmstripItemType getItemViewType(); in getItemViewType() method
|
/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 | 99 public int getItemViewType(int position) { in getItemViewType() method in HeaderEntryContactListAdapter 103 return super.getItemViewType(position - getHeaderEntryCount()); in getItemViewType()
|
D | JoinContactListAdapter.java | 138 public int getItemViewType(int partition, int position) { in getItemViewType() method in JoinContactListAdapter 139 return super.getItemViewType(partition, position); in getItemViewType()
|
/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/Contacts/src/com/android/contacts/editor/ |
D | CompactPhotoSelectionFragment.java | 181 public int getItemViewType(int index) { in getItemViewType() method in CompactPhotoSelectionFragment.PhotoAdapter 197 if (getItemViewType(position) == 0){ in getView() 204 if (getItemViewType(position) == 1) { in getView()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | CompositeListAdapter.java | 179 public int getItemViewType(int position) { in getItemViewType() method in CompositeListAdapter 186 return viewTypeOffset + mAdapters[i].getItemViewType(position - start); in getItemViewType()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | SectionedAlbumDataAdapter.java | 143 public int getItemViewType(int position) { in getItemViewType() method in SectionedAlbumDataAdapter 147 return mAlbumData.getItemViewType(internalPosition(position)); in getItemViewType()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | DrawerApiAdapter.java | 89 public int getItemViewType(int position) { in getItemViewType() method in DrawerApiAdapter 145 if (holder.getItemViewType() == R.layout.car_list_item_empty) { in onBindViewHolder() 147 } else if (holder.getItemViewType() == R.layout.car_unavailable_category) { in onBindViewHolder() 289 if (holder.getItemViewType() == R.layout.car_unavailable_category) { in setDayNightModeColors()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | DialerPhoneNumberListAdapter.java | 79 public int getItemViewType(int position) { in getItemViewType() method in DialerPhoneNumberListAdapter 85 return super.getItemViewType(position); in getItemViewType()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | GroupingRecyclerViewAdapter.java | 96 public int getItemViewType(int position) { in getItemViewType() method in GroupingRecyclerViewAdapter 126 switch (holder.getItemViewType()) { in onBindViewHolder()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.java | 273 final int itemViewType = getItemViewType(position); in getItem() 293 final int itemViewType = getItemViewType(position); in getView() 355 public int getItemViewType(int position) { in getItemViewType() method in CitySelectionActivity.CityAdapter
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsRowAdapter.java | 130 public int getItemViewType(int position) { in getItemViewType() method in ChannelsRowAdapter 146 int viewType = getItemViewType(position); in onBindViewHolder()
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
D | FilmstripDataAdapter.java | 97 public int getItemViewType(int index); in getItemViewType() method
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 408 public int getItemViewType(int position) { in getItemViewType() method in HeaderGridView.HeaderViewGridAdapter 418 return mAdapter.getItemViewType(adjPosition); in getItemViewType()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsGridAdapter.java | 122 int viewType = getItemViewType(host); in onInitializeAccessibilityNodeInfoForItem() 563 switch (holder.getItemViewType()) { in onBindViewHolder() 616 public int getItemViewType(int position) { in getItemViewType() method in AllAppsGridAdapter
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionsListAdapter.java | 90 public int getItemViewType(int position) { in getItemViewType() method in SuggestionsListAdapter.Adapter
|