Home
last modified time | relevance | path

Searched refs:listAdapter (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DListActivityTest.java47 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testAdapter() local
53 mActivity.setListAdapter(listAdapter); in testAdapter()
56 assertEquals(listAdapter, mActivity.getListAdapter()); in testAdapter()
57 assertEquals(listAdapter, mActivity.getListView().getAdapter()); in testAdapter()
61 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testSelection() local
67 mActivity.setListAdapter(listAdapter); in testSelection()
84 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testItemClick() local
90 mActivity.setListAdapter(listAdapter); in testItemClick()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java44 ListAdapter listAdapter = new BaseAdapter() { in onCreate() local
70 listView.setAdapter(listAdapter); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java907 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
908 if (listAdapter == null) { in getContentWidth()
916 for (int i = 0; i < listAdapter.getCount(); i++) { in getContentWidth()
917 final int positionType = listAdapter.getItemViewType(i); in getContentWidth()
922 itemView = listAdapter.getView(i, itemView, null); in getContentWidth()