/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableLayoutTest.java | 384 View child2 = new RelativeLayout(mActivity); in testAddView() local 385 mTableEmpty.addView(child2); in testAddView() 387 assertSame(child2, mTableEmpty.getChildAt(1)); in testAddView() 396 assertSame(child2, mTableEmpty.getChildAt(1)); in testAddView() 419 View child2 = new RelativeLayout(mActivity); in testAddViewAtIndex() local 420 mTableEmpty.addView(child2, 0); in testAddViewAtIndex() 421 assertSame(child2, mTableEmpty.getChildAt(0)); in testAddViewAtIndex() 430 assertSame(child2, mTableEmpty.getChildAt(0)); in testAddViewAtIndex() 464 View child2 = new TableRow(mActivity); in testAddViewWithLayoutParams() local 465 assertNull(child2.getLayoutParams()); in testAddViewWithLayoutParams() [all …]
|
D | LayoutDirectionTest.java | 137 ViewGroup child2 = (ViewGroup) mActivity.findViewById(child2Id); in verifyDirectionForOneLayoutFromXml() local 138 assertEquals(child2ResDir, child2.getLayoutDirection()); in verifyDirectionForOneLayoutFromXml()
|
D | TabHostTest.java | 334 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() local 336 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, child2.getText().toString()); in testGetTabContentView() 350 child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() 352 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, child2.getText().toString()); in testGetTabContentView()
|
D | LinearLayoutTest.java | 658 final View child2 = new View(mActivity); in testVisibilityAffectsLayout() local 659 child2.setBackgroundColor(Color.RED); in testVisibilityAffectsLayout() 661 child2.setLayoutParams(childParams); in testVisibilityAffectsLayout() 669 parent.addView(child2); in testVisibilityAffectsLayout() 671 verifyBounds(viewGroup, child2, countDownLatch1, in testVisibilityAffectsLayout() 683 verifyBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight); in testVisibilityAffectsLayout() 695 verifyBounds(viewGroup, child2, countDownLatch3, in testVisibilityAffectsLayout()
|
D | GridViewTest.java | 537 View child2 = mGridView.getChildAt(2); in testAccessColumnWidth() local 539 assertEquals(child0.getLeft(), child2.getLeft()); in testAccessColumnWidth()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 130 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay() argument 133 long offsetTime2 = child2.getStartOffset(); in assertChildrenDelay() 145 child2.getTransformation(startTime + 500, transformation2); in assertChildrenDelay() 153 child2.getTransformation(startTime + 1200, transformation2); in assertChildrenDelay() 161 child2.getTransformation(startTime + 2000, transformation2); in assertChildrenDelay() 169 child2.getTransformation(startTime + 2700, transformation2); in assertChildrenDelay() 177 child2.getTransformation(startTime + 3500, transformation2); in assertChildrenDelay() 306 final View child2 = mGridView.getChildAt(INDEX_OF_CHILD2); 316 child2.setLayoutParams(layoutParams2); 330 assertEquals(1000, controller.getDelayForView(child2));
|
D | AnimatorInflaterTest.java | 132 final ObjectAnimator child2 = (ObjectAnimator) set.getChildAnimations().get(1); in testLoadAnimator() local 135 for (ObjectAnimator animator : new ObjectAnimator[]{child1, child2}) { in testLoadAnimator()
|
D | LayoutAnimationControllerTest.java | 367 final View child2 = mListView.getChildAt(INDEX_OF_CHILD2); 371 child2.setLayoutParams(layoutParams2); 379 assertEquals(1000, controller.getDelayForView(child2));
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1330 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveDetachedView() local 1335 parent.addView(child2); in testRemoveDetachedView() 1341 inOrder.verify(listener, times(1)).onChildViewAdded(parent, child2); in testRemoveDetachedView() 1409 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViews() local 1413 parent.addView(child2); in testRemoveViews() 1438 assertNull(child2.getParent()); in testRemoveViews() 1447 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViewsInLayout() local 1451 parent.addView(child2); in testRemoveViewsInLayout() 1476 assertNull(child2.getParent()); in testRemoveViewsInLayout() 1856 MockView child2 = new MockView(mContext); in testRequestTransparentRegion() local [all …]
|
D | TooltipTest.java | 779 final View child2 = mActivity.findViewById(R.id.overlap2); in testMouseHoverOverlap() local 787 assertTrue(hasTooltip(child2)); in testMouseHoverOverlap() 789 setTooltipText(child2, null); in testMouseHoverOverlap()
|
D | ViewTest.java | 483 View child2 = mActivity.findViewById(R.id.pointer_icon_overlap_child2); in testPointerIconOverlap() local 493 child2.setPointerIcon(iconChild2); in testPointerIconOverlap() 503 child2.setPointerIcon(null); in testPointerIconOverlap()
|