Home
last modified time | relevance | path

Searched refs:Adapter (Results 1 – 25 of 171) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java47 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testRequestLayout()
77 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testNoSelectableItems()
131 private class Adapter<T> extends ArrayAdapter<T> { class in ListViewTest
133 public Adapter(Context context, int resource, List<T> objects) { in Adapter() method in ListViewTest.Adapter
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java34 private final Adapter mAdapter;
39 mAdapter = new Adapter(getContext()); in NekoDialog()
58 private class Adapter extends RecyclerView.Adapter<Holder> { class in NekoDialog
63 public Adapter(Context context) { in Adapter() method in NekoDialog.Adapter
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java37 private Adapter mAdapter;
49 mAdapter = new Adapter(mContext, controller); in createAndSetAdapter()
57 public static class Adapter extends UserSwitcherController.BaseUserAdapter class in UserDetailView
63 public Adapter(Context context, UserSwitcherController controller) { in Adapter() method in UserDetailView.Adapter
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java61 public static class HeaderAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
65 private RecyclerView.Adapter mAdapter;
97 public HeaderAdapter(RecyclerView.Adapter adapter) { in HeaderAdapter()
159 public RecyclerView.Adapter getWrappedAdapter() { in getWrappedAdapter()
230 public void setAdapter(Adapter adapter) { in setAdapter()
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
DAppListFragment.java44 private Adapter mAdapter;
53 mAdapter = new Adapter(); in onActivityCreated()
86 private class Adapter extends BaseAdapter { class in AppListFragment
89 Adapter() { in Adapter() method in AppListFragment.Adapter
DBrowserListFragment.java52 private Adapter mAdapter;
73 mAdapter = new Adapter(); in onActivityCreated()
162 private class Adapter extends BaseAdapter { class in BrowserListFragment
165 Adapter() { in Adapter() method in BrowserListFragment.Adapter
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java352 RecyclerView.Adapter mPrevAdapter;
354 RecyclerView.Adapter mNextAdapter;
359 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged()
360 RecyclerView.Adapter newAdapter) { in onAdapterChanged()
393 public void assertPrevNextAdapters(String message, RecyclerView.Adapter prevAdapter, in assertPrevNextAdapters()
394 RecyclerView.Adapter nextAdapter) { in assertPrevNextAdapters()
399 public void assertPrevNextAdapters(RecyclerView.Adapter prevAdapter, in assertPrevNextAdapters()
400 RecyclerView.Adapter nextAdapter) { in assertPrevNextAdapters()
464 static class MockAdapter extends RecyclerView.Adapter {
DDefaultItemAnimatorTest.java53 Adapter mAdapter;
112 mAdapter = new Adapter(20); in setUp()
399 private class Adapter extends RecyclerView.Adapter<ViewHolder> { class in DefaultItemAnimatorTest
403 private Adapter(int count) { in Adapter() method in DefaultItemAnimatorTest.Adapter
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridView.java39 private Adapter mAdapter;
49 mAdapter = new Adapter(mUserSwitcherController); in init()
130 private final class Adapter extends UserSwitcherController.BaseUserAdapter { class in UserGridView
131 public Adapter(UserSwitcherController controller) { in Adapter() method in UserGridView.Adapter
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/
DSortedListAdapterCallback.java28 final RecyclerView.Adapter mAdapter;
36 public SortedListAdapterCallback(RecyclerView.Adapter adapter) { in SortedListAdapterCallback()
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DSetupWizardRecyclerLayoutTest.java70 final RecyclerView.Adapter adapter = new RecyclerView.Adapter() { in testAdapter()
87 final RecyclerView.Adapter gotAdapter = layout.getAdapter(); in testAdapter()
DGlifRecyclerLayoutTest.java70 final RecyclerView.Adapter adapter = new RecyclerView.Adapter() { in testAdapter()
87 final RecyclerView.Adapter gotAdapter = layout.getAdapter(); in testAdapter()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java43 private Adapter mAdapter;
55 mAdapter = new Adapter(); in onCreate()
92 private class Adapter extends BaseAdapter { class in UsageStatsActivity
DUsageLogActivity.java35 private Adapter mAdapter;
45 mAdapter = new Adapter(); in onCreate()
72 private class Adapter extends BaseAdapter { class in UsageLogActivity
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd26 an Adapter</a>.</p>
120 // create a new ImageView for each item referenced by the Adapter
155 android.widget.Adapter#getCount()} are self-explanatory. Normally, {@link
156 android.widget.Adapter#getItem(int)} should return the actual object at the specified position in
158 android.widget.Adapter#getItemId(int)} should return the row id of the item, but it's not
161 <p>The first method necessary is {@link android.widget.Adapter#getView(int,View,ViewGroup)
180 android.widget.Adapter#getView(int,View,ViewGroup) getView()} is <em>not</em> null, then the local
184 <p>At the end of the {@link android.widget.Adapter#getView(int,View,ViewGroup) getView()} method,
Dlistview.jd14 <li>{@link android.widget.Adapter}</li>
27 android.widget.Adapter} that pulls content from a source such as an array or database query and
32 an Adapter</a>.</p>
46 android.widget.Adapter} with the new {@link android.database.Cursor} and the list view then
75 // This is the Adapter being used to display the list's data
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
DGlifRecyclerLayout.java152 public void setAdapter(RecyclerView.Adapter adapter) { in setAdapter()
156 public RecyclerView.Adapter getAdapter() { in getAdapter()
157 final RecyclerView.Adapter adapter = getRecyclerView().getAdapter(); in getAdapter()
DSetupWizardRecyclerLayout.java51 private RecyclerView.Adapter mAdapter;
110 public RecyclerView.Adapter getAdapter() { in getAdapter()
114 public void setAdapter(RecyclerView.Adapter adapter) { in setAdapter()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvCompatListActivity.java36 RecyclerView.Adapter adapter;
67 protected abstract RecyclerView.Adapter createAdapter(); in createAdapter()
/frameworks/support/v17/preference-leanback/api/
Dcurrent.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
D23.1.0.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
D23.1.1.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
D23.0.0.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java49 private final Adapter mAdapter;
70 mAdapter = new Adapter(context, userSwitcherController, this); in KeyguardUserSwitcher()
250 public static class Adapter extends UserSwitcherController.BaseUserAdapter implements class in KeyguardUserSwitcher
256 public Adapter(Context context, UserSwitcherController controller, in Adapter() method in KeyguardUserSwitcher.Adapter
/frameworks/base/docs/html/training/wearables/ui/
Dlists.jd12 <li><a href="#adapter">Create an Adapter to Populate the List</a></li>
13 <li><a href="#adapter-listener">Associate the Adapter and Set a Click Listener</a></li>
198 <h2 id="adapter">Create an Adapter to Populate the List</h2>
206 private static final class Adapter extends WearableListView.Adapter {
212 public Adapter(Context context, String[] dataset) {
262 <h2 id="adapter-listener">Associate the Adapter and Set a Click Listener</h2>
286 listView.setAdapter(new Adapter(this, elements));

1234567