Searched defs:setAdapter (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
H A DViewAdapterActivity.java30 protected void setAdapter() { method in class:ViewAdapterActivity
31 mViewPager.setAdapter(new RecyclerView.Adapter<ViewHolder>() {
H A DFragmentAdapterActivity.java38 protected void setAdapter() { method in class:FragmentAdapterActivity
79 mViewPager.setAdapter(getSupportFragmentManager(), fragmentProvider,
H A DBaseActivity.java42 setAdapter();
45 protected abstract void setAdapter(); method in class:BaseActivity
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DAutoSizingList.java52 public void setAdapter(ListAdapter adapter) { method in class:AutoSizingList
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
H A DRecyclerViewUtil.java56 public static void setAdapter(@NonNull View recyclerView, @NonNull BridgeContext context, method in class:RecyclerViewUtil
66 setProperty(recyclerView, adapterClassName, adapter, "setAdapter");
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java140 public void setAdapter(Adapter adapter) { method in class:AdapterViewFlipper
141 super.setAdapter(adapter);
H A DAbsSpinner.java91 setAdapter(adapter);
112 public void setAdapter(SpinnerAdapter adapter) { method in class:AbsSpinner
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifListLayout.java107 public void setAdapter(ListAdapter adapter) { method in class:GlifListLayout
108 mListMixin.setAdapter(adapter);
H A DSetupWizardListLayout.java99 public void setAdapter(ListAdapter adapter) { method in class:SetupWizardListLayout
100 mListMixin.setAdapter(adapter);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DListMixin.java71 setAdapter(new ItemAdapter(inflated));
141 public void setAdapter(ListAdapter adapter) { method in class:ListMixin
144 listView.setAdapter(adapter);
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
H A DGlifRecyclerLayout.java138 * @see RecyclerMixin#setAdapter(Adapter)
140 public void setAdapter(Adapter<? extends ViewHolder> adapter) { method in class:GlifRecyclerLayout
141 mRecyclerMixin.setAdapter(adapter);
H A DSetupWizardRecyclerLayout.java89 * @see RecyclerMixin#setAdapter(Adapter)
91 public void setAdapter(Adapter<? extends ViewHolder> adapter) { method in class:SetupWizardRecyclerLayout
92 mRecyclerMixin.setAdapter(adapter);
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
H A DRecyclerMixin.java114 setAdapter(adapter);
183 public void setAdapter(Adapter<? extends ViewHolder> adapter) { method in class:RecyclerMixin
184 mRecyclerView.setAdapter(adapter);
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
H A DHeaderRecyclerView.java249 * Note: This must be called before setAdapter.
267 @SuppressWarnings("rawtypes,unchecked") // RecyclerView.setAdapter uses raw type :(
268 public void setAdapter(Adapter adapter) { method in class:HeaderRecyclerView
274 super.setAdapter(adapter);
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
H A DViewPagerActions.java314 public static ViewAction setAdapter(final PagerAdapter adapter) { method in class:ViewPagerActions
331 viewPager.setAdapter(adapter);
/frameworks/base/core/java/com/android/internal/widget/
H A DWatchHeaderListView.java70 public void setAdapter(ListAdapter adapter) { method in class:WatchHeaderListView
71 super.setAdapter(adapter);
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DBaseRowFragment.java142 mVerticalGridView.setAdapter(mBridgeAdapter);
187 public final void setAdapter(ObjectAdapter rowsAdapter) { method in class:BaseRowFragment
250 mBridgeAdapter.setAdapter(mAdapter);
H A DBaseRowSupportFragment.java137 mVerticalGridView.setAdapter(mBridgeAdapter);
182 public final void setAdapter(ObjectAdapter rowsAdapter) { method in class:BaseRowSupportFragment
245 mBridgeAdapter.setAdapter(mAdapter);
H A DVerticalGridFragment.java105 public void setAdapter(ObjectAdapter adapter) { method in class:VerticalGridFragment
H A DVerticalGridSupportFragment.java100 public void setAdapter(ObjectAdapter adapter) { method in class:VerticalGridSupportFragment
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DWearableNavigationDrawerView.java172 public void setAdapter(final WearableNavigationDrawerAdapter adapter) { method in class:WearableNavigationDrawerView
270 // If this method is called before drawer.setAdapter, then we will not yet have a
276 "adapter.notifyDataSetChanged called before drawer.setAdapter; ignoring.");
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemBridgeAdapter.java192 setAdapter(adapter);
206 public void setAdapter(ObjectAdapter adapter) { method in class:ItemBridgeAdapter
259 setAdapter(null);
/frameworks/support/viewpager2/src/main/java/androidx/viewpager2/widget/
H A DViewPager2.java223 * @see RecyclerView#setAdapter(Adapter)
225 public <VH extends ViewHolder> void setAdapter(final Adapter<VH> adapter) { method in class:ViewPager2
226 mRecyclerView.setAdapter(new Adapter<VH>() {
266 public void setAdapter(FragmentManager fragmentManager, FragmentProvider fragmentProvider, method in class:ViewPager2
272 mRecyclerView.setAdapter(new FragmentStateAdapter(fragmentManager, fragmentProvider));
/frameworks/base/core/java/android/app/
H A DAlertDialog.java775 public Builder setAdapter(final ListAdapter adapter, final OnClickListener listener) { method in class:AlertDialog.Builder
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java338 setAdapter(mListView);
452 protected void setAdapter(ListView listView) { method in class:ListScenario
453 listView.setAdapter(new MyAdapter());

Completed in 200 milliseconds

123