Searched refs:parentHeight (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 467 final int parentHeight = parent.getHeight(); in testVerticalCenterGravityOnHorizontalLayout() local 469 int verticalOffset = (parentHeight - leftView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 475 verticalOffset = (parentHeight - centerView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 481 verticalOffset = (parentHeight - rightView.getHeight()) / 2; in testVerticalCenterGravityOnHorizontalLayout() 514 final int parentHeight = parent.getHeight(); in testBottomGravityOnHorizontalLayout() local 516 assertEquals(parentHeight - leftView.getHeight(), leftView.getTop()); in testBottomGravityOnHorizontalLayout() 517 assertEquals(parentHeight, leftView.getBottom()); in testBottomGravityOnHorizontalLayout() 521 assertEquals(parentHeight - centerView.getHeight(), centerView.getTop()); in testBottomGravityOnHorizontalLayout() 522 assertEquals(parentHeight, centerView.getBottom()); in testBottomGravityOnHorizontalLayout() 526 assertEquals(parentHeight - rightView.getHeight(), rightView.getTop()); in testBottomGravityOnHorizontalLayout() [all …]
|
D | PopupWindowTest.java | 1287 int parentHeight = parentWindowView.getMeasuredHeight(); in testVerticallyClippedBeforeAdjusted() local 1292 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted() 1307 parentHeight - (anchorLocationInWindowXY[1] + anchor.getHeight())); in testVerticallyClippedBeforeAdjusted() 1335 int parentHeight = parentWindowView.getMeasuredHeight(); in testClipToScreenClipsToInsets() local 1337 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testClipToScreenClipsToInsets()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TranslateAnimationTest.java | 168 final int parentHeight = parent.getHeight(); in testInitialize() local 170 final int actualHeight = parentHeight; in testInitialize() 177 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight); in testInitialize()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 2617 final int parentHeight = 400; in testAddRemoveAffectsWrapContentLayout() local 2620 ViewGroup.LayoutParams.WRAP_CONTENT, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2637 checkBounds(viewGroup, parent, countDownLatch1, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2644 checkBounds(viewGroup, parent, countDownLatch2, 0, 0, childWidth, parentHeight); in testAddRemoveAffectsWrapContentLayout() 2651 checkBounds(viewGroup, parent, countDownLatch3, 0, 0, 0, parentHeight); in testAddRemoveAffectsWrapContentLayout()
|