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.java477 final int parentHeight = parent.getHeight(); in testVerticalCenterGravityOnHorizontalLayout() local
479 int verticalOffset = (parentHeight - leftView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout()
485 verticalOffset = (parentHeight - centerView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout()
491 verticalOffset = (parentHeight - rightView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout()
524 final int parentHeight = parent.getHeight(); in testBottomGravityOnHorizontalLayout() local
526 assertEquals(parentHeight - leftView.getHeight(), leftView.getTop()); in testBottomGravityOnHorizontalLayout()
527 assertEquals(parentHeight, leftView.getBottom()); in testBottomGravityOnHorizontalLayout()
531 assertEquals(parentHeight - centerView.getHeight(), centerView.getTop()); in testBottomGravityOnHorizontalLayout()
532 assertEquals(parentHeight, centerView.getBottom()); in testBottomGravityOnHorizontalLayout()
536 assertEquals(parentHeight - rightView.getHeight(), rightView.getTop()); in testBottomGravityOnHorizontalLayout()
[all …]
DPopupWindowTest.java1741 int parentHeight = parentWindowView.getMeasuredHeight(); in testVerticallyClippedBeforeAdjusted() local
1746 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted()
1761 parentHeight - (anchorLocationInWindowXY[1] + anchor.getHeight()) in testVerticallyClippedBeforeAdjusted()
1803 int parentHeight = parentWindowView.getMeasuredHeight(); in testClipToScreenClipsToInsets() local
1806 createPopupContent(parentWidth * 2, parentHeight * 2)); in testClipToScreenClipsToInsets()
/cts/tests/tests/view/src/android/view/animation/cts/
DTranslateAnimationTest.java182 final int parentHeight = parent.getHeight(); in testInitialize() local
184 final int actualHeight = parentHeight; in testInitialize()
191 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight); in testInitialize()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3152 final int parentHeight = 400; in testAddRemoveAffectsWrapContentLayout() local
3155 ViewGroup.LayoutParams.WRAP_CONTENT, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3172 checkBounds(viewGroup, parent, countDownLatch1, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3179 checkBounds(viewGroup, parent, countDownLatch2, 0, 0, childWidth, parentHeight); in testAddRemoveAffectsWrapContentLayout()
3186 checkBounds(viewGroup, parent, countDownLatch3, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()