/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/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 | CameraFilmstripDataAdapter.java | 105 public int getItemViewType(int index) { in getItemViewType() method in CameraFilmstripDataAdapter 110 return mFilmstripItems.get(index).getItemViewType().ordinal(); in getItemViewType()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | GridAdapter.java | 135 public int getItemViewType(Object item, int position) { in getItemViewType() method in GridAdapter 136 return getItemViewType(position); 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()
|
D | FolderListFragment.java | 935 public int getItemViewType(int position) { in getItemViewType() method in FolderListFragment.FolderAdapter 1227 public int getItemViewType(int position) { in getItemViewType() method in FolderListFragment.HierarchicalFolderListAdapter 1409 public int getItemViewType(int position) { in getItemViewType() method in FolderListFragment.FooterAdapter
|
/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/Dialer/src/com/android/dialer/list/ |
D | DialerPhoneNumberListAdapter.java | 72 public int getItemViewType(int position) { in getItemViewType() method in DialerPhoneNumberListAdapter 78 return super.getItemViewType(position); in getItemViewType()
|
D | PhoneFavoritesTileAdapter.java | 387 int itemViewType = getItemViewType(position); in getView() 411 public int getItemViewType(int position) { in getItemViewType() method in PhoneFavoritesTileAdapter
|
/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/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/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogAdapter.java | 435 switch (getItemViewType(position)) { in onBindViewHolder() 582 public int getItemViewType(int position) { in getItemViewType() method in CallLogAdapter 588 return super.getItemViewType(position); in getItemViewType()
|
/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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileAdapter.java | 386 int itemViewType = getItemViewType(position); in getView() 436 public int getItemViewType(int position) { in getItemViewType() method in ContactTileAdapter
|
D | ContactEntryListAdapter.java | 526 public int getItemViewType(int partitionIndex, int position) { in getItemViewType() method in ContactEntryListAdapter 527 int type = super.getItemViewType(partitionIndex, position); in getItemViewType()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsGridAdapter.java | 500 switch (holder.getItemViewType()) { in onBindViewHolder() 540 public int getItemViewType(int position) { in getItemViewType() method in AllAppsGridAdapter
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 167 public int getItemViewType(int position) { in getItemViewType() method in AgendaByDayAdapter 173 return (getItemViewType(position) == TYPE_DAY); in isDayHeaderView()
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
D | FilmstripDataAdapter.java | 97 public int getItemViewType(int index); in getItemViewType() method
|