Home
last modified time | relevance | path

Searched refs:getItemViewType (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java71 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/
DMtpAdapter.java118 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/
DFixedLastProxyAdapter.java128 public int getItemViewType(int index) { in getItemViewType() method in FixedLastProxyAdapter
132 return mAdapter.getItemViewType(index); in getItemViewType()
134 return mLastData.getItemViewType().ordinal(); in getItemViewType()
DFixedFirstProxyAdapter.java123 public int getItemViewType(int index) { in getItemViewType() method in FixedFirstProxyAdapter
125 return mFirstData.getItemViewType().ordinal(); in getItemViewType()
127 return mAdapter.getItemViewType(index); in getItemViewType()
DSessionItem.java101 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
116 public FilmstripItemType getItemViewType() { in getItemViewType() method in SessionItem
DVideoItem.java159 view.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
213 public FilmstripItemType getItemViewType() { in getItemViewType() method in VideoItem
DPhotoItem.java124 imageView.setTag(R.id.mediadata_tag_viewtype, getItemViewType().ordinal()); in getView()
160 public FilmstripItemType getItemViewType() { in getItemViewType() method in PhotoItem
DCameraFilmstripDataAdapter.java105 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/
DGridAdapter.java135 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/
DSeparatedFolderListAdapter.java76 public int getItemViewType(int position) { in getItemViewType() method in SeparatedFolderListAdapter
82 return type + adapter.getItemViewType(position); in getItemViewType()
DFolderListFragment.java935 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/
DHeaderEntryContactListAdapter.java99 public int getItemViewType(int position) { in getItemViewType() method in HeaderEntryContactListAdapter
103 return super.getItemViewType(position - getHeaderEntryCount()); in getItemViewType()
DJoinContactListAdapter.java138 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/
DMergedAdapter.java147 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/
DDialerPhoneNumberListAdapter.java72 public int getItemViewType(int position) { in getItemViewType() method in DialerPhoneNumberListAdapter
78 return super.getItemViewType(position); in getItemViewType()
DPhoneFavoritesTileAdapter.java387 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/
DSectionedAlbumDataAdapter.java143 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/
DCompositeListAdapter.java179 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/
DCallLogAdapter.java435 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/
DHeaderGridView.java408 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/
DContactTileAdapter.java386 int itemViewType = getItemViewType(position); in getView()
436 public int getItemViewType(int position) { in getItemViewType() method in ContactTileAdapter
DContactEntryListAdapter.java526 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/
DAllAppsGridAdapter.java500 switch (holder.getItemViewType()) { in onBindViewHolder()
540 public int getItemViewType(int position) { in getItemViewType() method in AllAppsGridAdapter
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java167 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/
DFilmstripDataAdapter.java97 public int getItemViewType(int index); in getItemViewType() method

123