Home
last modified time | relevance | path

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

123

/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/opt/localepicker/src/com/android/localepicker/
DSuggestedLocaleAdapter.java91 return getItemViewType(position) == TYPE_LOCALE; in isEnabled()
95 public int getItemViewType(int position) { in getItemViewType() method in SuggestedLocaleAdapter
129 if (getItemViewType(position) != TYPE_LOCALE) { in getItem()
177 int itemType = getItemViewType(position); in getView()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java108 return getItemViewType(position) == TYPE_LOCALE in isEnabled()
109 || getItemViewType(position) == TYPE_SYSTEM_LANGUAGE_FOR_APP_LANGUAGE_PICKER in isEnabled()
110 || getItemViewType(position) == TYPE_CURRENT_LOCALE; in isEnabled()
114 public int getItemViewType(int position) { in getItemViewType() method in SuggestedLocaleAdapter
221 int itemType = getItemViewType(position); in getView()
/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()
/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/core/tests/coretests/src/android/widget/
DListScenario.java586 public int getItemViewType(int position) { in getItemViewType() method in ListScenario
650 public int getItemViewType(int position) { in getItemViewType() method in ListScenario.MyAdapter
651 return ListScenario.this.getItemViewType(position); in getItemViewType()
/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/CompanionDeviceManager/src/com/android/companiondevicemanager/
DPermissionListAdapter.java98 int type = getItemViewType(position); in onBindViewHolder()
107 public int getItemViewType(int position) { in getItemViewType() method in PermissionListAdapter
DDeviceListAdapter.java84 public int getItemViewType(int position) { in getItemViewType() method in DeviceListAdapter
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java289 public int getItemViewType(int position) { in getItemViewType() method in TileAdapter
365 if (holder.getItemViewType() == TYPE_HEADER) { in onBindViewHolder()
369 if (holder.getItemViewType() == TYPE_DIVIDER) { in onBindViewHolder()
374 if (holder.getItemViewType() == TYPE_EDIT) { in onBindViewHolder()
390 if (holder.getItemViewType() == TYPE_ACCESSIBLE_DROP) { in onBindViewHolder()
703 final int type = getItemViewType(position);
855 switch (viewHolder.getItemViewType()) {
/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/base/core/java/android/preference/
DPreferenceGroupAdapter.java252 (getItemViewType(position) == getHighlightItemViewType())) { in getView()
298 public int getItemViewType(int position) { in getItemViewType() method in PreferenceGroupAdapter
/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/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/packages/SystemUI/src/com/android/systemui/controls/management/
DStructureAdapter.kt73 return if (adapter?.getItemViewType(position) in setUpRecyclerView()
/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/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelSlicesAdapter.java78 public int getItemViewType(int position) { in getItemViewType() method in VolumePanelSlicesAdapter
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopup.java148 final int positionType = adapter.getItemViewType(i); in measureIndividualMenuWidth()

123