Searched refs:listAdapter (Results 1 – 3 of 3) sorted by relevance
47 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testAdapter() local53 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() local67 mActivity.setListAdapter(listAdapter); in testSelection()84 final ListAdapter listAdapter = new ArrayAdapter<String>(mActivity, in testItemClick() local90 mActivity.setListAdapter(listAdapter); in testItemClick()
44 ListAdapter listAdapter = new BaseAdapter() { in onCreate() local70 listView.setAdapter(listAdapter); in onCreate()
907 private int getContentWidth(ListAdapter listAdapter, Drawable background) { in getContentWidth() argument908 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()