Home
last modified time | relevance | path

Searched refs:MyAdapter (Results 1 – 20 of 20) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DDividerItemDecorationTest.java47 rv.setAdapter(new MyAdapter(STRINGS)); in testNullListDivider()
56 private static class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { class in DividerItemDecorationTest
67 MyAdapter(String[] myDataset) { in MyAdapter() method in DividerItemDecorationTest.MyAdapter
72 public MyAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { in onCreateViewHolder()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java37 private MyAdapter mMyAdapter;
53 mMyAdapter = new MyAdapter(this); in onCreate()
72 static class MyAdapter extends BaseAdapter { class in ListWithFooterViewAndNewLabels
77 public MyAdapter(Context context) { in MyAdapter() method in ListWithFooterViewAndNewLabels.MyAdapter
DListOfButtons.java41 setListAdapter(new MyAdapter(this, mLabels)); in onCreate()
54 public static class MyAdapter extends ArrayAdapter<String> { class in ListOfButtons
57 public MyAdapter(Context context, String[] labels) { in MyAdapter() method in ListOfButtons.MyAdapter
DListOfEditTexts.java78 mListView.setAdapter(new MyAdapter(this, bodies)); in onCreate()
105 private static class MyAdapter extends ArrayAdapter<String> { class in ListOfEditTexts
107 public MyAdapter(Context context, List<String> bodies) { in MyAdapter() method in ListOfEditTexts.MyAdapter
DListWithMailMessages.java63 setListAdapter(new MyAdapter(this, R.layout.mail_message, messages)); in onCreate()
115 public static class MyAdapter extends ArrayAdapter<MailMessage> { class in ListWithMailMessages
117 public MyAdapter(Context context, int resource, in MyAdapter() method in ListWithMailMessages.MyAdapter
DListOfInternalSelectionViews.java129 mListView.setAdapter(new MyAdapter()); in onCreate()
150 private class MyAdapter extends BaseAdapter { class in ListOfInternalSelectionViews
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DFragmentPagerSupport.java44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getFragmentManager()); in onCreate()
75 public static class MyAdapter extends FragmentPagerAdapter { class in FragmentPagerSupport
76 public MyAdapter(FragmentManager fm) { in MyAdapter() method in FragmentPagerSupport.MyAdapter
DFragmentStatePagerSupport.java44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getFragmentManager()); in onCreate()
75 public static class MyAdapter extends FragmentStatePagerAdapter { class in FragmentStatePagerSupport
76 public MyAdapter(FragmentManager fm) { in MyAdapter() method in FragmentStatePagerSupport.MyAdapter
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentStatePagerSupport.java44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getSupportFragmentManager()); in onCreate()
75 public static class MyAdapter extends FragmentStatePagerAdapter { class in FragmentStatePagerSupport
76 public MyAdapter(FragmentManager fm) { in MyAdapter() method in FragmentStatePagerSupport.MyAdapter
DFragmentPagerSupport.java44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getSupportFragmentManager()); in onCreate()
75 public static class MyAdapter extends FragmentPagerAdapter { class in FragmentPagerSupport
76 public MyAdapter(FragmentManager fm) { in MyAdapter() method in FragmentPagerSupport.MyAdapter
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DHorizontalGridTestActivity.java79 RecyclerView.Adapter adapter = new MyAdapter(); in onCreate()
83 mHorizontalGridView.setAdapter(new MyAdapter()); in onCreate()
120 class MyAdapter extends RecyclerView.Adapter { class in HorizontalGridTestActivity
124 MyAdapter() { in MyAdapter() method in HorizontalGridTestActivity.MyAdapter
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DMainActivity.java59 mListView.setAdapter(new MyAdapter()); in onCreate()
62 private class MyAdapter extends BaseAdapter { class in MainActivity
81 public MyAdapter() { in MyAdapter() method in MainActivity.MyAdapter
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DInstanceAdapterTest.java22 import android.databinding.testapp.adapter.NameClashAdapter.MyAdapter;
43 public MyAdapter getMyAdapter1() { in initNormal()
48 public android.databinding.testapp.adapter2.NameClashAdapter.MyAdapter getMyAdapter2() { in initNormal()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DNameClashAdapter.java26 public static class MyAdapter { class in NameClashAdapter
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter2/
DNameClashAdapter.java26 public static class MyAdapter { class in NameClashAdapter
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridActivity.java180 RecyclerView.Adapter adapter = new MyAdapter(); in onCreate()
203 mGridView.setAdapter(new MyAdapter()); in rebindToNewAdapter()
305 mGridView.setAdapter(new MyAdapter()); in attachToNewAdapter()
335 class MyAdapter extends RecyclerView.Adapter implements FacetProviderAdapter { class in GridActivity
/frameworks/base/core/tests/coretests/src/android/util/
DGridScenario.java209 return new MyAdapter(); in createAdapter()
343 private class MyAdapter extends BaseAdapter { class in GridScenario
DListScenario.java453 listView.setAdapter(new MyAdapter()); in setAdapter()
610 private class MyAdapter extends BaseAdapter { class in ListScenario
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java51 MyAdapter mAdapter;
75 mAdapter = new MyAdapter(mItems); in onCreate()
666 class MyAdapter extends RecyclerView.Adapter { class
672 public MyAdapter(List<String> data) { in MyAdapter() method in MyAdapter
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java146 private MyAdapter mAdapter;
379 mAdapter = new MyAdapter(); in createDialog()
833 private class MyAdapter extends BaseAdapter {
1355 private final MyAdapter mAdapter;
1364 public ActionsDialog(Context context, OnClickListener clickListener, MyAdapter adapter,