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

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

Completed in 167 milliseconds