Home
last modified time | relevance | path

Searched refs:listView (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DListViewTest.java40 private ListView listView; field in ListViewTest
48 listView = new ListView(null); in setUp()
53 listView.setAdapter(new CountingAdapter(1)); in testSetSelection_ShouldFireOnItemSelectedListener()
56 listView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in testSetSelection_ShouldFireOnItemSelectedListener()
67 listView.setSelection(0); in testSetSelection_ShouldFireOnItemSelectedListener()
74 listView.setAdapter(new CountingAdapter(1)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()
76 listView.addHeaderView(new View(null)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()
83 listView.addHeaderView(new View(null), null, false); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()
100 listView.addHeaderView(view0); in addHeaderView_ShouldRecordHeaders()
101 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()
[all …]
DListActivityTest.java49 final ListView listView = new ListView(null); in shouldSetAdapterOnListView() local
50 listActivity.setContentView(listView); in shouldSetAdapterOnListView()
52 assertThat(listView.getAdapter(), sameInstance(adapter)); in shouldSetAdapterOnListView()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowListActivity.java22 private ListView listView; field in ShadowListActivity
27 if (listView == null) { in getListView()
28 if ((listView = findListView(getContentView())) == null) { in getListView()
32 return listView; in getListView()
36 listView = view; in setListView()
73 ListView listView = findListView(viewGroup.getChildAt(i)); in findListView() local
74 if (listView != null) { in findListView()
75 return listView; in findListView()
DShadowAlertDialog.java44 private ListView listView; field in ShadowAlertDialog
138 if (listView == null) { in getListView()
139 listView = new ListView(context); in getListView()
140 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in getListView()
155 return listView; in getListView()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...