Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DListActivityTest.java49 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testAdapter() local
55 mActivity.setListAdapter(listAdapter); in testAdapter()
58 assertEquals(listAdapter, mActivity.getListAdapter()); in testAdapter()
59 assertEquals(listAdapter, mActivity.getListView().getAdapter()); in testAdapter()
63 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testItemClick() local
69 mActivity.setListAdapter(listAdapter); in testItemClick()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestActivity.java48 ArrayAdapter<String> listAdapter = new ArrayAdapter<String>(this, in onCreate() local
52 listView.setAdapter(listAdapter); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java49 ListAdapter listAdapter = new BaseAdapter() { in onCreate() local
75 listView.setAdapter(listAdapter); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java1056 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument
1057 if (listAdapter == null) { in getContentWidth()
1065 for (int i = 0; i < listAdapter.getCount(); i++) { in getContentWidth()
1066 final int positionType = listAdapter.getItemViewType(i); in getContentWidth()
1071 itemView = listAdapter.getView(i, itemView, null); in getContentWidth()