Searched refs:listView (Results 1 - 13 of 13) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowListViewTest.java33 private ListView listView; field in class:ShadowListViewTest
41 listView = new ListView(RuntimeEnvironment.application);
54 listView.addHeaderView(view0);
55 listView.addHeaderView(view1);
56 listView.addHeaderView(view2, null, false);
57 listView.addHeaderView(view3, null, false);
58 listView.setAdapter(new ShadowCountingAdapter(2));
59 assertThat(listView.getHeaderViewsCount()).isEqualTo(4);
60 assertThat(shadowOf(listView).getHeaderViews().get(0)).isSameAs(view0);
61 assertThat(shadowOf(listView)
[all...]
H A DShadowLayoutInflaterTest.java461 ListView listView =
463 assertThat(listView).isInstanceOf((Class<? extends ListView>) ListView.class);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DListViewTest.java40 private ListView listView; field in class:ListViewTest
48 listView = new ListView(null);
53 listView.setAdapter(new CountingAdapter(1));
56 listView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
67 listView.setSelection(0);
74 listView.setAdapter(new CountingAdapter(1));
76 listView.addHeaderView(new View(null));
83 listView.addHeaderView(new View(null), null, false);
100 listView.addHeaderView(view0);
101 listView
[all...]
H A DListActivityTest.java49 final ListView listView = new ListView(null);
50 listActivity.setContentView(listView);
52 assertThat(listView.getAdapter(), sameInstance(adapter));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowListActivity.java22 private ListView listView; field in class:ShadowListActivity
27 if (listView == null) {
28 if ((listView = findListView(getContentView())) == null) {
32 return listView;
36 listView = view;
73 ListView listView = findListView(viewGroup.getChildAt(i));
74 if (listView != null) {
75 return listView;
H A DShadowAlertDialog.java44 private ListView listView; field in class:ShadowAlertDialog
138 if (listView == null) {
139 listView = new ListView(context);
140 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
155 return listView;
/external/robolectric/v3/runtime/
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 262 milliseconds