Searched refs:child0 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ScrollViewTest.java | 106 TextView child0 = new TextView(mActivity); in testAddView() local 107 scrollView.addView(child0); in testAddView() 108 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 123 TextView child0 = new TextView(mActivity); in testAddViewWithIndex() local 124 scrollView.addView(child0, 0); in testAddViewWithIndex() 125 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 139 scrollView.addView(child0, -1); in testAddViewWithIndex() 140 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 155 scrollView.addView(child0, 1); in testAddViewWithIndex() 164 TextView child0 = new TextView(mActivity); in testAddViewWithLayoutParams() local [all …]
|
D | HorizontalScrollViewTest.java | 88 TextView child0 = new TextView(mActivity); in testAddView() local 89 scrollView.addView(child0); in testAddView() 90 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 105 TextView child0 = new TextView(mActivity); in testAddViewWithIndex() local 106 scrollView.addView(child0, 0); in testAddViewWithIndex() 107 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 121 scrollView.addView(child0, -1); in testAddViewWithIndex() 122 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 137 scrollView.addView(child0, 1); in testAddViewWithIndex() 146 TextView child0 = new TextView(mActivity); in testAddViewWithLayoutParams() local [all …]
|
D | GridViewTest.java | 267 View child0 = mGridView.getChildAt(0); in testSetHorizontalSpacing() local 270 assertEquals(0, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing() 272 assertEquals(0, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing() 282 child0 = mGridView.getChildAt(0); in testSetHorizontalSpacing() 285 assertEquals(5, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing() 287 assertEquals(5, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing() 303 View child0 = mGridView.getChildAt(0); in testSetVerticalSpacing() local 305 assertEquals(0, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing() 314 child0 = mGridView.getChildAt(0); in testSetVerticalSpacing() 316 assertEquals(5, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing() [all …]
|
D | TabHostTest.java | 292 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() local 294 child0.getText().toString()); in testGetTabContentView() 308 child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() 310 child0.getText().toString()); in testGetTabContentView()
|