/frameworks/base/core/java/android/widget/ |
H A D | ListAdapter.java | 20 * Extended {@link Adapter} that is the bridge between a {@link ListView} 26 public interface ListAdapter extends Adapter {
|
H A D | SpinnerAdapter.java | 23 * Extended {@link Adapter} that is the bridge between a 29 public interface SpinnerAdapter extends Adapter {
|
H A D | Adapter.java | 25 * An Adapter object acts as a bridge between an {@link AdapterView} and the 26 * underlying data for that view. The Adapter provides access to the data items. 27 * The Adapter is also responsible for making a {@link android.view.View} for 34 public interface Adapter { interface 51 * How many items are in the data set represented by this Adapter.
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | AdapterListUpdateCallback.java | 24 * @see DiffUtil.DiffResult#dispatchUpdatesTo(RecyclerView.Adapter) 28 private final RecyclerView.Adapter mAdapter; 33 * @param adapter The Adapter to send updates to. 35 public AdapterListUpdateCallback(@NonNull RecyclerView.Adapter adapter) {
|
H A D | SortedListAdapterCallback.java | 21 * {@link RecyclerView.Adapter}. 25 final RecyclerView.Adapter mAdapter; 29 * Adapter. 31 * @param adapter The Adapter instance which should receive events from the SortedList. 33 public SortedListAdapterCallback(RecyclerView.Adapter adapter) {
|
H A D | ListAdapter.java | 25 * {@link RecyclerView.Adapter RecyclerView.Adapter} base class for presenting List data in a 28 * This class is a convenience wrapper around {@link AsyncListDiffer} that implements Adapter common 91 * @param <T> Type of the Lists this Adapter will receive. 95 extends RecyclerView.Adapter<VH> { 113 * will dispatch Adapter.notifyItem events on the main thread.
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | TrivialRecyclerViewActivity.java | 25 protected RecyclerView.Adapter createAdapter() {
|
H A D | SlowBindRecyclerViewActivity.java | 43 protected RecyclerView.Adapter createAdapter() {
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoDialog.java | 35 private final Adapter mAdapter; 40 mAdapter = new Adapter(getContext()); 60 private class Adapter extends RecyclerView.Adapter<Holder> { class in class:NekoDialog 65 public Adapter(Context context) { method in class:NekoDialog.Adapter
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | ListViewTest.java | 47 Adapter<String> adapter = new Adapter<String>(context, 0, items); 77 Adapter<String> adapter = new Adapter<String>(context, 0, items); 131 private class Adapter<T> extends ArrayAdapter<T> { class in class:ListViewTest 133 public Adapter(Context context, int resource, List<T> objects) { method in class:ListViewTest.Adapter
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | EventBridge.java | 33 * and to notify SelectionTracker when the underlying RecyclerView.Adapter data changes. 57 @NonNull RecyclerView.Adapter<?> adapter, 70 private final RecyclerView.Adapter<?> mAdapter; 75 @NonNull RecyclerView.Adapter<?> adapter) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailView.java | 37 protected Adapter mAdapter; 49 mAdapter = new Adapter(mContext, controller); 57 public static class Adapter extends UserSwitcherController.BaseUserAdapter class in class:UserDetailView 63 public Adapter(Context context, UserSwitcherController controller) { method in class:UserDetailView.Adapter
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | VerticalGridFragment.java | 40 private static class Adapter extends ArrayObjectAdapter { class in class:VerticalGridFragment 41 public Adapter(StringPresenter presenter) { method in class:VerticalGridFragment.Adapter 48 private Adapter mAdapter; 88 mAdapter = new Adapter(new StringPresenter());
|
H A D | VerticalGridSupportFragment.java | 43 private static class Adapter extends ArrayObjectAdapter { class in class:VerticalGridSupportFragment 44 public Adapter(StringPresenter presenter) { method in class:VerticalGridSupportFragment.Adapter 51 private Adapter mAdapter; 91 mAdapter = new Adapter(new StringPresenter());
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | VerticalGridFragment.java | 40 private static class Adapter extends ArrayObjectAdapter { class in class:VerticalGridFragment 41 public Adapter(StringPresenter presenter) { method in class:VerticalGridFragment.Adapter 48 private Adapter mAdapter; 88 mAdapter = new Adapter(new StringPresenter());
|
H A D | VerticalGridSupportFragment.java | 43 private static class Adapter extends ArrayObjectAdapter { class in class:VerticalGridSupportFragment 44 public Adapter(StringPresenter presenter) { method in class:VerticalGridSupportFragment.Adapter 51 private Adapter mAdapter; 91 mAdapter = new Adapter(new StringPresenter());
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | GlifRecyclerLayoutTest.java | 33 import android.support.v7.widget.RecyclerView.Adapter; 84 final RecyclerView.Adapter adapter = createTestAdapter(1); 87 final RecyclerView.Adapter gotAdapter = layout.getAdapter(); 89 assertSame("Adapter got from GlifRecyclerLayout should be same as set", 159 private Adapter createTestAdapter(final int itemCount) { 160 return new RecyclerView.Adapter() {
|
H A D | SetupWizardRecyclerLayoutTest.java | 33 import android.support.v7.widget.RecyclerView.Adapter; 85 final Adapter adapter = createTestAdapter(1); 88 final Adapter gotAdapter = layout.getAdapter(); 90 assertSame("Adapter got from SetupWizardLayout should be same as set", 163 private Adapter createTestAdapter(final int itemCount) { 164 return new Adapter() {
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
H A D | DataBoundAdapter.java | 11 extends RecyclerView.Adapter<DataBoundAdapter.DataBoundViewHolder<T>> {
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/ |
H A D | RecyclerMixin.java | 28 import android.support.v7.widget.RecyclerView.Adapter; 171 public Adapter<? extends ViewHolder> getAdapter() { 173 final RecyclerView.Adapter<? extends ViewHolder> adapter = mRecyclerView.getAdapter(); 183 public void setAdapter(Adapter<? extends ViewHolder> adapter) {
|
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/ |
H A D | ViewAdapterActivity.java | 31 mViewPager.setAdapter(new RecyclerView.Adapter<ViewHolder>() {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvCompatListActivity.java | 35 RecyclerView.Adapter adapter; 66 protected abstract RecyclerView.Adapter createAdapter();
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewCacheTest.java | 146 RecyclerView.Adapter mockAdapter = mock(RecyclerView.Adapter.class); 183 RecyclerView.Adapter mockAdapter = mock(RecyclerView.Adapter.class); 235 RecyclerView.Adapter mockAdapter = mock(RecyclerView.Adapter.class); 278 RecyclerView.Adapter mockAdapter = mock(RecyclerView.Adapter.class); 312 mRecyclerView.setAdapter(new RecyclerView.Adapter() { 353 RecyclerView.Adapter adapte [all...] |
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
H A D | HeaderRecyclerView.java | 64 extends RecyclerView.Adapter<ViewHolder> { 68 private RecyclerView.Adapter<CVH> mAdapter; 115 public HeaderAdapter(RecyclerView.Adapter<CVH> adapter) { 196 public RecyclerView.Adapter<CVH> getWrappedAdapter() { 268 public void setAdapter(Adapter adapter) {
|
/frameworks/support/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/ |
H A D | ContentPagerDemoActivity.java | 52 private Adapter mAdapter; 64 mAdapter = new Adapter(mPager, PAGE_SIZE); 150 private final class Adapter extends RecyclerView.Adapter<Holder> implements ContentCallback { class in class:ContentPagerDemoActivity 158 private Adapter(ContentPager pager, int pageSize) { method in class:ContentPagerDemoActivity.Adapter
|