Searched refs:child0 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HorizontalScrollViewTest.java | 89 TextView child0 = new TextView(mActivity); in testAddView() local 90 scrollView.addView(child0); in testAddView() 91 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 106 TextView child0 = new TextView(mActivity); in testAddViewWithIndex() local 107 scrollView.addView(child0, 0); in testAddViewWithIndex() 108 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 122 scrollView.addView(child0, -1); in testAddViewWithIndex() 123 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 138 scrollView.addView(child0, 1); in testAddViewWithIndex() 147 TextView child0 = new TextView(mActivity); in testAddViewWithLayoutParams() local [all …]
|
D | ScrollViewTest.java | 110 TextView child0 = new TextView(mActivity); in testAddView() local 111 scrollView.addView(child0); in testAddView() 112 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 127 TextView child0 = new TextView(mActivity); in testAddViewWithIndex() local 128 scrollView.addView(child0, 0); in testAddViewWithIndex() 129 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 143 scrollView.addView(child0, -1); in testAddViewWithIndex() 144 assertSame(child0, scrollView.getChildAt(0)); in testAddViewWithIndex() 159 scrollView.addView(child0, 1); in testAddViewWithIndex() 168 TextView child0 = new TextView(mActivity); in testAddViewWithLayoutParams() local [all …]
|
D | GridViewTest.java | 269 View child0 = mGridView.getChildAt(0); in testSetHorizontalSpacing() local 272 assertEquals(0, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing() 274 assertEquals(0, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing() 284 child0 = mGridView.getChildAt(0); in testSetHorizontalSpacing() 287 assertEquals(5, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing() 289 assertEquals(5, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing() 305 View child0 = mGridView.getChildAt(0); in testSetVerticalSpacing() local 307 assertEquals(0, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing() 316 child0 = mGridView.getChildAt(0); in testSetVerticalSpacing() 318 assertEquals(5, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing() [all …]
|
D | TabHostTest.java | 287 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() local 289 child0.getText().toString()); in testGetTabContentView() 303 child0 = (TextView) tabHost.getTabContentView().getChildAt(0); in testGetTabContentView() 305 child0.getText().toString()); in testGetTabContentView()
|