Home
last modified time | relevance | path

Searched refs:parentHeight (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java468 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 …]
DPopupWindowTest.java1668 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/
DTranslateAnimationTest.java169 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/
DViewTest.java2958 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()