Home | History | Annotate | Download | only in shadows

Lines Matching refs:child3

35     private ViewGroup child3;
49 child3 = new FrameLayout(context);
55 root.addView(child3);
57 child3.addView(child3a);
58 child3.addView(child3b);
94 assertThat(root.getChildAt(1), sameInstance((View) child3));
104 root.addView(child3, 1);
106 assertThat(root.getChildAt(1), sameInstance((View) child3));
115 child3.setTag("tag3");
118 root.addView(child3, 1);
121 assertThat((ViewGroup) root.findViewWithTag("tag3"), sameInstance(child3));
129 child3.setTag("tag3");
132 root.addView(child3, 1);
142 child3.setTag("tag3");
145 root.addView(child3);
153 assertThat((ViewGroup) root.findViewWithTag("tag3"), sameInstance(child3));
155 //can find views by tag from child3
156 assertThat(child3.findViewWithTag("tag1"), sameInstance(child3a));
157 assertThat(child3.findViewWithTag("tag2"), sameInstance(child3b));
198 assertFalse(child3.hasFocus());
216 child3.requestFocus();
218 assertSame(child3, root.findFocus());
223 child3.setId(R.id.snippet_text);
245 assertThat(root.getChildAt(1), sameInstance((View) child3));
250 assertThat(root.getChildAt(1), sameInstance((View) child3));
253 root.removeView(child3);
265 assertThat(root.getChildAt(1), sameInstance((View) child3));
270 assertThat(root.getChildAt(1), sameInstance((View) child3));
273 root.removeViewInLayout(child3);
296 root.addView(child3);
301 assertThat(root.getChildAt(1), sameInstance((View) child3));
326 root.addView(child3);
331 assertThat(root.getChildAt(1), sameInstance((View) child3));