Home
last modified time | relevance | path

Searched refs:parentWidth (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java208 int parentWidth = parent.getWidth(); in testAccessWeightSum() local
209 assertEquals(Math.ceil(parentWidth * 0.2), weight02.getWidth(), 1.0); in testAccessWeightSum()
210 assertEquals(Math.ceil(parentWidth * 0.5), weight05.getWidth(), 1.0); in testAccessWeightSum()
211 assertEquals(Math.ceil(parentWidth * 0.3), weight03.getWidth(), 1.0); in testAccessWeightSum()
543 final int parentWidth = parent.getHeight(); in testHorizontalCenterGravityOnVerticalLayout() local
562 int horizontalOffset = (parentWidth - topView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout()
568 horizontalOffset = (parentWidth - centerView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout()
574 horizontalOffset = (parentWidth - bottomView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout()
591 final int parentWidth = parent.getHeight(); in testRightGravityOnVerticalLayout() local
611 assertEquals(parentWidth - topView.getWidth(), topView.getLeft()); in testRightGravityOnVerticalLayout()
[all …]
DPopupWindowTest.java1667 int parentWidth = parentWindowView.getMeasuredWidth(); in testVerticallyClippedBeforeAdjusted() local
1673 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted()
1724 int parentWidth = parentWindowView.getMeasuredWidth(); in testClipToScreenClipsToInsets() local
1727 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testClipToScreenClipsToInsets()
/cts/tests/tests/view/src/android/view/animation/cts/
DTranslateAnimationTest.java168 final int parentWidth = parent.getWidth(); in testInitialize() local
178 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight); in testInitialize()