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.java1714 int parentHeight = parentWindowView.getMeasuredHeight(); in testVerticallyClippedBeforeAdjusted() local
1719 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted()
1734 parentHeight - (anchorLocationInWindowXY[1] + anchor.getHeight()) in testVerticallyClippedBeforeAdjusted()
1773 int parentHeight = parentWindowView.getMeasuredHeight(); in testClipToScreenClipsToInsets() local
1775 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.java3021 final int parentHeight = 400; in testAddRemoveAffectsWrapContentLayout() local
3024 ViewGroup.LayoutParams.WRAP_CONTENT, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3041 checkBounds(viewGroup, parent, countDownLatch1, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3048 checkBounds(viewGroup, parent, countDownLatch2, 0, 0, childWidth, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3055 checkBounds(viewGroup, parent, countDownLatch3, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()