Searched refs:parentHeight (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 468 final int parentHeight = parent.getHeight(); in testVerticalCenterGravityOnHorizontalLayout() local 470 int verticalOffset = (parentHeight - leftView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 476 verticalOffset = (parentHeight - centerView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 482 verticalOffset = (parentHeight - rightView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 515 final int parentHeight = parent.getHeight(); in testBottomGravityOnHorizontalLayout() local 517 assertEquals(parentHeight - leftView.getHeight(), leftView.getTop()); in testBottomGravityOnHorizontalLayout() 518 assertEquals(parentHeight, leftView.getBottom()); in testBottomGravityOnHorizontalLayout() 522 assertEquals(parentHeight - centerView.getHeight(), centerView.getTop()); in testBottomGravityOnHorizontalLayout() 523 assertEquals(parentHeight, centerView.getBottom()); in testBottomGravityOnHorizontalLayout() 527 assertEquals(parentHeight - rightView.getHeight(), rightView.getTop()); in testBottomGravityOnHorizontalLayout() [all …]
|
D | PopupWindowTest.java | 1668 int parentHeight = parentWindowView.getMeasuredHeight(); in testVerticallyClippedBeforeAdjusted() local 1673 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted() 1688 parentHeight - (anchorLocationInWindowXY[1] + anchor.getHeight()) in testVerticallyClippedBeforeAdjusted() 1725 int parentHeight = parentWindowView.getMeasuredHeight(); in testClipToScreenClipsToInsets() local 1727 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testClipToScreenClipsToInsets()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TranslateAnimationTest.java | 169 final int parentHeight = parent.getHeight(); in testInitialize() local 171 final int actualHeight = parentHeight; in testInitialize() 178 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight); in testInitialize()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 2958 final int parentHeight = 400; in testAddRemoveAffectsWrapContentLayout() local 2961 ViewGroup.LayoutParams.WRAP_CONTENT, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2978 checkBounds(viewGroup, parent, countDownLatch1, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2985 checkBounds(viewGroup, parent, countDownLatch2, 0, 0, childWidth, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2992 checkBounds(viewGroup, parent, countDownLatch3, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()
|