Home
last modified time | relevance | path

Searched refs:emptyView (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAdapterViewBehavior.java118 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull() local
119 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
128 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty() local
129 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
138 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty() local
139 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
142 assertThat(emptyView.getVisibility(), is(View.GONE)); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
149 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() local
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAdapterView.java50 public void setEmptyView(View emptyView) { in setEmptyView() argument
51 this.mEmptyView = emptyView; in setEmptyView()