Home
last modified time | relevance | path

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

/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/Contacts/src/com/android/contacts/list/
DPhoneFavoriteMergedAdapter.java134 public int getItemViewType(int position) { in getItemViewType() method in PhoneFavoriteMergedAdapter
169 return mContactTileAdapter.getItemViewType(position); in getItemViewType()
180 final int type = mContactEntryListAdapter.getItemViewType(localPosition); in getItemViewType()
DJoinContactListAdapter.java134 public int getItemViewType(int partition, int position) { in getItemViewType() method in JoinContactListAdapter
135 return super.getItemViewType(partition, position); in getItemViewType()
DContactEntryListAdapter.java451 public int getItemViewType(int partitionIndex, int position) { in getItemViewType() method in ContactEntryListAdapter
452 int type = super.getItemViewType(partitionIndex, position); in getItemViewType()
DContactTileAdapter.java412 int itemViewType = getItemViewType(position); in getView()
461 public int getItemViewType(int position) { in getItemViewType() method in ContactTileAdapter
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListAdapter.java219 int boxType = getItemViewType(cursor); in newView()
280 public int getItemViewType(int position) { in getItemViewType() method in MessageListAdapter
282 return getItemViewType(cursor); in getItemViewType()
285 private int getItemViewType(Cursor cursor) { in getItemViewType() method in MessageListAdapter
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java136 public int getItemViewType(int position) { in getItemViewType() method in SectionedAlbumDataAdapter
140 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/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsListAdapter.java93 public int getItemViewType(int position) { in getItemViewType() method in SuggestionsListAdapter.Adapter
/packages/apps/Contacts/src/com/android/contacts/detail/
DStreamItemAdapter.java139 public int getItemViewType(int position) { in getItemViewType() method in StreamItemAdapter
DContactDetailFragment.java1473 switch (getItemViewType(position)) { in getView()
1488 getItemViewType(position)); in getView()
1794 public int getItemViewType(int position) { in getItemViewType() method in ContactDetailFragment.ViewAdapter
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallDetailHistoryAdapter.java107 public int getItemViewType(int position) { in getItemViewType() method in CallDetailHistoryAdapter
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallWidgetReceiver.java161 public int getItemViewType(int position) { in getItemViewType() method in InstallWidgetReceiver.WidgetListAdapter
/packages/apps/Email/src/com/android/email/activity/
DAccountSelectorAdapter.java209 public int getItemViewType(int position) { in getItemViewType() method in AccountSelectorAdapter
224 return (getItemViewType(position) != AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER); in isEnabled()
DMailboxFragmentAdapter.java185 public int getItemViewType(int position) { in getItemViewType() method in MailboxFragmentAdapter
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java165 public int getItemViewType(int position) { in getItemViewType() method in AgendaByDayAdapter
171 return (getItemViewType(position) == TYPE_DAY); in isDayHeaderView()
DAgendaWindowAdapter.java377 public int getItemViewType(int position) { in getItemViewType() method in AgendaWindowAdapter
380 return info.dayAdapter.getItemViewType(position - info.offset); in getItemViewType()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java244 public int getItemViewType(int position) { in getItemViewType() method in CalendarViewAdapter
/packages/apps/Settings/src/com/android/settings/
DSettings.java610 public int getItemViewType(int position) { in getItemViewType() method in Settings.HeaderAdapter
622 return getItemViewType(position) != HEADER_TYPE_CATEGORY; in isEnabled()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java105 public int getItemViewType(int position) { in getItemViewType() method in GroupMembershipView.GroupMembershipAdapter