/cts/tests/tests/widget/src/android/widget/cts/ |
D | TableLayoutTest.java | 387 View child2 = new RelativeLayout(mActivity); in testAddView() local 388 mTableEmpty.addView(child2); in testAddView() 390 assertSame(child2, mTableEmpty.getChildAt(1)); in testAddView() 399 assertSame(child2, mTableEmpty.getChildAt(1)); in testAddView() 422 View child2 = new RelativeLayout(mActivity); in testAddViewAtIndex() local 423 mTableEmpty.addView(child2, 0); in testAddViewAtIndex() 424 assertSame(child2, mTableEmpty.getChildAt(0)); in testAddViewAtIndex() 433 assertSame(child2, mTableEmpty.getChildAt(0)); in testAddViewAtIndex() 467 View child2 = new TableRow(mActivity); in testAddViewWithLayoutParams() local 468 assertNull(child2.getLayoutParams()); in testAddViewWithLayoutParams() [all …]
|
D | LayoutDirectionTest.java | 138 ViewGroup child2 = (ViewGroup) mActivity.findViewById(child2Id); in verifyDirectionForOneLayoutFromXml() local 139 assertEquals(child2ResDir, child2.getLayoutDirection()); in verifyDirectionForOneLayoutFromXml()
|
D | TabHostTest.java | 335 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() local 337 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, child2.getText().toString()); in testGetTabContentView() 351 child2 = (TextView) tabHost.getTabContentView().getChildAt(2); in testGetTabContentView() 353 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 | 523 View child2 = mGridView.getChildAt(2); in testAccessColumnWidth() local 525 assertEquals(child0.getLeft(), child2.getLeft()); in testAccessColumnWidth()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 131 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay() argument 134 long offsetTime2 = child2.getStartOffset(); in assertChildrenDelay() 146 child2.getTransformation(startTime + 500, transformation2); in assertChildrenDelay() 154 child2.getTransformation(startTime + 1200, transformation2); in assertChildrenDelay() 162 child2.getTransformation(startTime + 2000, transformation2); in assertChildrenDelay() 170 child2.getTransformation(startTime + 2700, transformation2); in assertChildrenDelay() 178 child2.getTransformation(startTime + 3500, transformation2); in assertChildrenDelay() 307 final View child2 = mGridView.getChildAt(INDEX_OF_CHILD2); 317 child2.setLayoutParams(layoutParams2); 331 assertEquals(1000, controller.getDelayForView(child2));
|
D | AnimatorInflaterTest.java | 133 final ObjectAnimator child2 = (ObjectAnimator) set.getChildAnimations().get(1); in testLoadAnimator() local 136 for (ObjectAnimator animator : new ObjectAnimator[]{child1, child2}) { in testLoadAnimator()
|
D | LayoutAnimationControllerTest.java | 368 final View child2 = mListView.getChildAt(INDEX_OF_CHILD2); 372 child2.setLayoutParams(layoutParams2); 380 assertEquals(1000, controller.getDelayForView(child2));
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomViewActivityTest.java | 197 final ViewStructure child2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_oneLevel() 198 child2.setText("child2"); in testVirtualView_oneLevel() 199 final AutofillId child2Id = child2.getAutofillId(); in testVirtualView_oneLevel() 203 session.notifyViewAppeared(child2); in testVirtualView_oneLevel() 382 final ViewStructure child2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_batchDisappear() 383 child2.setText("child2"); in testVirtualView_batchDisappear() 384 final AutofillId child2Id = child2.getAutofillId(); in testVirtualView_batchDisappear() 387 session.notifyViewAppeared(child2); in testVirtualView_batchDisappear()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1498 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveDetachedView() local 1503 parent.addView(child2); in testRemoveDetachedView() 1509 inOrder.verify(listener, times(1)).onChildViewAdded(parent, child2); in testRemoveDetachedView() 1577 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViews() local 1581 parent.addView(child2); in testRemoveViews() 1606 assertNull(child2.getParent()); in testRemoveViews() 1615 MockViewGroup child2 = new MockViewGroup(mContext); in testRemoveViewsInLayout() local 1619 parent.addView(child2); in testRemoveViewsInLayout() 1644 assertNull(child2.getParent()); in testRemoveViewsInLayout() 2024 MockView child2 = new MockView(mContext); in testRequestTransparentRegion() local [all …]
|
D | TooltipTest.java | 780 final View child2 = mActivity.findViewById(R.id.overlap2); in testMouseHoverOverlap() local 788 assertTrue(hasTooltip(child2)); in testMouseHoverOverlap() 790 setTooltipText(child2, null); in testMouseHoverOverlap()
|
D | ViewTest.java | 552 View child2 = mActivity.findViewById(R.id.pointer_icon_overlap_child2); in testPointerIconOverlap() local 562 child2.setPointerIcon(iconChild2); in testPointerIconOverlap() 572 child2.setPointerIcon(null); in testPointerIconOverlap()
|