Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemAdapterTest.java67 viewTypes.add(adapter.getItemViewType(0)); in testAdapter()
68 viewTypes.add(adapter.getItemViewType(1)); in testAdapter()
69 viewTypes.add(adapter.getItemViewType(2)); in testAdapter()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java86 return getItemViewType(position) == TYPE_LOCALE; in isEnabled()
90 public int getItemViewType(int position) { in getItemViewType() method in SuggestedLocaleAdapter
168 int itemType = getItemViewType(position); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java195 public int getItemViewType(int position) { in getItemViewType() method in TileAdapter
243 if (holder.getItemViewType() == TYPE_HEADER) { in onBindViewHolder()
246 if (holder.getItemViewType() == TYPE_DIVIDER) { in onBindViewHolder()
251 if (holder.getItemViewType() == TYPE_EDIT) { in onBindViewHolder()
265 if (holder.getItemViewType() == TYPE_ACCESSIBLE_DROP) { in onBindViewHolder()
517 final int type = getItemViewType(position);
612 switch (viewHolder.getItemViewType()) {
/frameworks/base/core/java/android/widget/
DAdapter.java124 int getItemViewType(int position); in getItemViewType() method
DHeaderViewListAdapter.java232 public int getItemViewType(int position) { in getItemViewType() method in HeaderViewListAdapter
238 return mAdapter.getItemViewType(adjPosition); in getItemViewType()
DBaseAdapter.java78 public int getItemViewType(int position) { in getItemViewType() method in BaseAdapter
DActivityChooserView.java590 final int itemViewType = adapter.getItemViewType(position); in onItemClick()
717 public int getItemViewType(int position) { in getItemViewType() method in ActivityChooserView.ActivityChooserViewAdapter
744 final int itemViewType = getItemViewType(position); in getItem()
763 final int itemViewType = getItemViewType(position); in getView()
DRemoteViewsListAdapter.java104 public int getItemViewType(int position) { in getItemViewType() method in RemoteViewsListAdapter
DYearPickerView.java201 public int getItemViewType(int position) { in getItemViewType() method in YearPickerView.YearAdapter
/frameworks/base/core/java/com/android/internal/widget/
DWatchHeaderListView.java183 public int getItemViewType(int position) { in getItemViewType() method in WatchHeaderListView.WatchHeaderListAdapter
189 return getWrappedAdapter().getItemViewType(adjPosition); in getItemViewType()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListInterleaveFocusables.java54 public int getItemViewType(int position) { in getItemViewType() method in ListInterleaveFocusables
DListHeterogeneous.java72 public int getItemViewType(int position) { in getItemViewType() method in ListHeterogeneous
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java164 if (getItemViewType(position) == TYPE_RECYCLER) { in onBindViewHolder()
172 public int getItemViewType(int position) { in getItemViewType() method in SlowNestedRecyclerViewActivity.OuterAdapter
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DAddPrinterActivity.java350 public int getItemViewType(int position) { in getItemViewType() method in AddPrinterActivity.CombinedAdapter
358 return numLowerViewTypes + adapter.getItemViewType(position); in getItemViewType()
453 public int getItemViewType(int position) { in getItemViewType() method in AddPrinterActivity.PrintServiceInfoAdapter
659 public int getItemViewType(int position) { in getItemViewType() method in AddPrinterActivity.RecommendedServicesAdapter
861 public int getItemViewType(int position) { in getItemViewType() method in AddPrinterActivity.NoPrintServiceMessageAdapter
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java162 public int getItemViewType(int position) { in getItemViewType() method in HeaderRecyclerView.HeaderAdapter
169 return adapter.getItemViewType(position); in getItemViewType()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java252 (getItemViewType(position) == getHighlightItemViewType())) { in getView()
298 public int getItemViewType(int position) { in getItemViewType() method in PreferenceGroupAdapter
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java306 protected int getItemViewType(int partition, int position) { in getItemViewType() method in CompositeCursorAdapter
311 public int getItemViewType(int position) { in getItemViewType() method in CompositeCursorAdapter
324 return getItemViewType(i, offset); in getItemViewType()
/frameworks/base/core/tests/coretests/src/android/util/
DListScenario.java591 public int getItemViewType(int position) { in getItemViewType() method in ListScenario
655 public int getItemViewType(int position) { in getItemViewType() method in ListScenario.MyAdapter
656 return ListScenario.this.getItemViewType(position); in getItemViewType()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemAdapter.java57 public int getItemViewType(int position) { in getItemViewType() method in ItemAdapter
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java105 public int getItemViewType(int position) { in getItemViewType() method in FakeAdapter
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java176 Method getItemViewType = in setUpPreferencesListView() local
188 Integer type = (Integer) invoke(getItemViewType, preferenceGroupAdapter, i); in setUpPreferencesListView()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopup.java148 final int positionType = adapter.getItemViewType(i); in measureIndividualMenuWidth()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java111 public int getItemViewType(int position) { in getItemViewType() method in UsageLogActivity.Adapter
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java75 assertEquals("Second item should have view type 21", 21, adapter.getItemViewType(2)); in testAdapter()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java155 public int getItemViewType(int position) { in getItemViewType() method in RecyclerItemAdapter

12