Searched refs:findViewWithTag (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewGroupTest.java | 119 assertThat(root.findViewWithTag("tag1"), sameInstance(child1)); in shouldfindViewWithTag() 120 assertThat(root.findViewWithTag("tag2"), sameInstance(child2)); in shouldfindViewWithTag() 121 assertThat((ViewGroup) root.findViewWithTag("tag3"), sameInstance(child3)); in shouldfindViewWithTag() 133 assertThat(root.findViewWithTag("tag21"), equalTo(null)); in shouldNotfindViewWithTagReturnNull() 134 assertThat((ViewGroup) root.findViewWithTag("tag23"), equalTo(null)); in shouldNotfindViewWithTagReturnNull() 151 assertThat(root.findViewWithTag("tag1"), sameInstance(child1)); in shouldfindViewWithTagFromCorrectViewGroup() 152 assertThat(root.findViewWithTag("tag2"), sameInstance(child2)); in shouldfindViewWithTagFromCorrectViewGroup() 153 assertThat((ViewGroup) root.findViewWithTag("tag3"), sameInstance(child3)); in shouldfindViewWithTagFromCorrectViewGroup() 156 assertThat(child3.findViewWithTag("tag1"), sameInstance(child3a)); in shouldfindViewWithTagFromCorrectViewGroup() 157 assertThat(child3.findViewWithTag("tag2"), sameInstance(child3b)); in shouldfindViewWithTagFromCorrectViewGroup() [all …]
|
D | ViewTest.java | 244 assertThat(view.findViewWithTag("tagged"), sameInstance(view)); in shouldFindViewWithTag() 255 assertThat(view.findViewWithTag("blarg"), sameInstance(view)); in shouldFindViewWithTag_whenViewOverridesGetTag()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowViewGroup.java | 43 public View findViewWithTag(Object obj) { in findViewWithTag() method in ShadowViewGroup 49 View found = child.findViewWithTag(obj); in findViewWithTag()
|
D | ShadowView.java | 209 public View findViewWithTag(Object obj) { in findViewWithTag() method in ShadowView
|