Searched defs:adapterView (Results 1 - 9 of 9) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DAdapterViewBehavior.java20 private AdapterView adapterView; field in class:AdapterViewBehavior
25 adapterView = createAdapterView();
33 adapterView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
46 adapterView.setSelection(AdapterView.INVALID_POSITION);
52 adapterView.setAdapter(new ShadowCountingAdapter(2));
54 assertThat(adapterView.getCount()).isEqualTo(2);
55 assertThat(adapterView.getChildCount()).isEqualTo(0);
57 shadowOf(adapterView).populateItems();
58 assertThat(adapterView.getChildCount()).isEqualTo(2);
59 assertThat(((TextView) adapterView
[all...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAdapterViewBehavior.java22 public static void shouldActAsAdapterView(AdapterView adapterView) throws Exception { argument
25 testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously(adapterView);
26 testSetAdapter_ShouldSelectFirstItemAsynchronously(adapterView);
27 testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero(adapterView);
29 shouldIgnoreSetSelectionCallsWithInvalidPosition(adapterView);
30 shouldOnlyUpdateOnceIfInvalidatedMultipleTimes(adapterView);
32 testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull(adapterView);
33 testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty(adapterView);
34 testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty(adapterView);
35 testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem(adapterView);
38 shouldIgnoreSetSelectionCallsWithInvalidPosition(AdapterView adapterView) argument
59 testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously(AdapterView adapterView) argument
71 testSetAdapter_ShouldSelectFirstItemAsynchronously(final AdapterView adapterView) argument
93 testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero(final AdapterView adapterView) argument
115 testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull(final AdapterView adapterView) argument
125 testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty(final AdapterView adapterView) argument
135 testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty(final AdapterView adapterView) argument
145 testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem(final AdapterView adapterView) argument
163 testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty(final AdapterView adapterView) argument
181 shouldOnlyUpdateOnceIfInvalidatedMultipleTimes(final AdapterView adapterView) argument
[all...]
H A DAbsSpinnerTest.java29 private AdapterView adapterView; field in class:AbsSpinnerTest
37 adapterView = new Gallery(context);
46 AdapterViewBehavior.shouldActAsAdapterView(adapterView);
/external/robolectric/v3/runtime/
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.3_r2-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/ ...

Completed in 265 milliseconds