Searched refs:child2 (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableLayoutTest.java | 385 View child2 = new RelativeLayout(mContext); in testAddView1() local 386 tableLayout.addView(child2); in testAddView1() 388 assertSame(child2, tableLayout.getChildAt(1)); in testAddView1() 397 assertSame(child2, tableLayout.getChildAt(1)); in testAddView1() 421 View child2 = new RelativeLayout(mContext); in testAddView2() local 422 tableLayout.addView(child2, 0); in testAddView2() 423 assertSame(child2, tableLayout.getChildAt(0)); in testAddView2() 432 assertSame(child2, tableLayout.getChildAt(0)); in testAddView2() 465 View child2 = new TableRow(mContext); in testAddView3() local 466 assertNull(child2.getLayoutParams()); in testAddView3() [all …]
|
D | LinearLayoutTest.java | 433 final View child2 = new View(mActivity); in testVisibilityAffectsLayout() local 434 child2.setBackgroundColor(Color.RED); in testVisibilityAffectsLayout() 436 child2.setLayoutParams(childParams); in testVisibilityAffectsLayout() 445 parent.addView(child2); in testVisibilityAffectsLayout() 447 checkBounds(viewGroup, child2, countDownLatch1, in testVisibilityAffectsLayout() 457 checkBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight); in testVisibilityAffectsLayout() 467 checkBounds(viewGroup, child2, countDownLatch3, in testVisibilityAffectsLayout()
|
D | TabHostTest.java | 291 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() local 293 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, child2.getText().toString()); in testGetTabContentView() 307 child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() 309 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, child2.getText().toString()); in testGetTabContentView()
|
D | LayoutDirectionTest.java | 112 ViewGroup child2 = (ViewGroup) getActivity().findViewById(child2Id); in checkDirectionForOneLayoutFromXml() local 113 assertEquals(child2ResDir, child2.getLayoutDirection()); in checkDirectionForOneLayoutFromXml()
|
D | GridViewTest.java | 553 View child2 = mGridView.getChildAt(2); 555 assertEquals(child0.getLeft(), child2.getLeft());
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 120 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay() argument 123 long offsetTime2 = child2.getStartOffset(); in assertChildrenDelay() 135 child2.getTransformation(startTime + 500, transformation2); in assertChildrenDelay() 143 child2.getTransformation(startTime + 1200, transformation2); in assertChildrenDelay() 151 child2.getTransformation(startTime + 2000, transformation2); in assertChildrenDelay() 159 child2.getTransformation(startTime + 2700, transformation2); in assertChildrenDelay() 167 child2.getTransformation(startTime + 3500, transformation2); in assertChildrenDelay() 294 final View child2 = mGridView.getChildAt(INDEX_OF_CHILD2); 305 child2.setLayoutParams(layoutParams2); 320 assertEquals(1000, controller.getDelayForView(child2));
|
D | AnimatorInflaterTest.java | 100 final ObjectAnimator child2 = (ObjectAnimator) set.getChildAnimations().get(1); in testLoadAnimator() local 105 for (ObjectAnimator animator : new ObjectAnimator[]{child1, child2}) { in testLoadAnimator()
|
D | LayoutAnimationControllerTest.java | 355 final View child2 = mListView.getChildAt(INDEX_OF_CHILD2); 360 child2.setLayoutParams(layoutParams2); 369 assertEquals(1000, controller.getDelayForView(child2));
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1160 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveDetachedView() local 1164 parent.addView(child2); in testRemoveDetachedView() 1240 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViews() local 1244 parent.addView(child2); in testRemoveViews() 1269 assertNull(child2.getParent()); in testRemoveViews() 1275 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViewsInLayout() local 1279 parent.addView(child2); in testRemoveViewsInLayout() 1304 assertNull(child2.getParent()); in testRemoveViewsInLayout() 1345 MockView child2 = new MockView(mContext); in testRequestTransparentRegion() local 1346 child1.addView(child2); in testRequestTransparentRegion() [all …]
|