Searched refs:getPositionForView (Results 1 – 2 of 2) sorted by relevance
337 assertThat(listView.getPositionForView(childViewOfListItem), equalTo(1)); in getPositionForView_shouldReturnThePositionInTheListForTheView()343 … assertThat(listView.getPositionForView(new View(null)), equalTo(AdapterView.INVALID_POSITION)); in getPositionForView_shouldReturnInvalidPostionForViewThatIsNotFound()
56 public int getPositionForView(android.view.View view) { in getPositionForView() method in ShadowAdapterView