Searched refs:getItemViewType (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/base/core/java/android/widget/
H A DAdapter.java96 * {@link #getItemViewType(int)}).
108 * @see #getItemViewType(int)
124 int getItemViewType(int position); method in interface:Adapter
H A DBaseAdapter.java76 public int getItemViewType(int position) { method in class:BaseAdapter
H A DRemoteViewsListAdapter.java104 public int getItemViewType(int position) { method in class:RemoteViewsListAdapter
H A DHeaderViewListAdapter.java228 public int getItemViewType(int position) { method in class:HeaderViewListAdapter
234 return mAdapter.getItemViewType(adjPosition);
H A DActivityChooserView.java586 final int itemViewType = adapter.getItemViewType(position);
713 public int getItemViewType(int position) { method in class:ActivityChooserView.ActivityChooserViewAdapter
740 final int itemViewType = getItemViewType(position);
759 final int itemViewType = getItemViewType(position);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DItemAdapterTest.java70 viewTypes.add(adapter.getItemViewType(0));
71 viewTypes.add(adapter.getItemViewType(1));
72 viewTypes.add(adapter.getItemViewType(2));
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListInterleaveFocusables.java53 public int getItemViewType(int position) { method in class:ListInterleaveFocusables
H A DListHeterogeneous.java73 public int getItemViewType(int position) { method in class:ListHeterogeneous
/frameworks/base/core/java/com/android/internal/widget/
H A DWatchHeaderListView.java183 public int getItemViewType(int position) { method in class:WatchHeaderListView.WatchHeaderListAdapter
189 return getWrappedAdapter().getItemViewType(adjPosition);
/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java86 return getItemViewType(position) == TYPE_LOCALE;
90 public int getItemViewType(int position) { method in class:SuggestedLocaleAdapter
168 int itemType = getItemViewType(position);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java178 public int getItemViewType(int position) { method in class:TileAdapter
220 if (holder.getItemViewType() == TYPE_DIVIDER) {
225 if (holder.getItemViewType() == TYPE_EDIT) {
237 if (holder.getItemViewType() == TYPE_ACCESSIBLE_DROP) {
485 final int type = getItemViewType(position);
577 if (viewHolder.getItemViewType() == TYPE_EDIT || viewHolder.getItemViewType() == TYPE_DIVIDER) {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java105 public int getItemViewType(int position) { method in class:FakeAdapter
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemAdapter.java57 public int getItemViewType(int position) { method in class:ItemAdapter
/frameworks/support/car/src/main/java/androidx/car/drawer/
H A DCarDrawerAdapter.java157 public final int getItemViewType(int position) { method in class:CarDrawerAdapter
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java243 (getItemViewType(position) == getHighlightItemViewType())) {
289 public int getItemViewType(int position) { method in class:PreferenceGroupAdapter
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DSlowNestedRecyclerViewActivity.java164 if (getItemViewType(position) == TYPE_RECYCLER) {
172 public int getItemViewType(int position) { method in class:SlowNestedRecyclerViewActivity.OuterAdapter
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
H A DHeaderRecyclerView.java162 public int getItemViewType(int position) { method in class:HeaderRecyclerView.HeaderAdapter
169 return mAdapter.getItemViewType(position);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DAddPrinterActivity.java350 public int getItemViewType(int position) { method in class:AddPrinterActivity.CombinedAdapter
358 return numLowerViewTypes + adapter.getItemViewType(position);
453 public int getItemViewType(int position) { method in class:AddPrinterActivity.PrintServiceInfoAdapter
659 public int getItemViewType(int position) { method in class:AddPrinterActivity.RecommendedServicesAdapter
861 public int getItemViewType(int position) { method in class:AddPrinterActivity.NoPrintServiceMessageAdapter
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java591 public int getItemViewType(int position) { method in class:ListScenario
655 public int getItemViewType(int position) { method in class:ListScenario.MyAdapter
656 return ListScenario.this.getItemViewType(position);
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java296 * consistent with the values returned by {@link #getItemViewType(int,int)}.
306 protected int getItemViewType(int partition, int position) { method in class:CompositeCursorAdapter
311 public int getItemViewType(int position) { method in class:CompositeCursorAdapter
324 return getItemViewType(i, offset);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopup.java148 final int positionType = adapter.getItemViewType(i);
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java110 public int getItemViewType(int position) { method in class:UsageLogActivity.Adapter
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
H A DRecyclerItemAdapter.java152 public int getItemViewType(int position) { method in class:RecyclerItemAdapter
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DMenuPopup.java151 final int positionType = adapter.getItemViewType(i);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActivityChooserView.java582 final int itemViewType = adapter.getItemViewType(position);
701 public int getItemViewType(int position) { method in class:ActivityChooserView.ActivityChooserViewAdapter
730 final int itemViewType = getItemViewType(position);
751 final int itemViewType = getItemViewType(position);

Completed in 112 milliseconds

123