Searched refs:parentWidth (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 217 int parentWidth = parent.getWidth(); in testAccessWeightSum() local 218 assertEquals(Math.ceil(parentWidth * 0.2), weight02.getWidth(), 1.0); in testAccessWeightSum() 219 assertEquals(Math.ceil(parentWidth * 0.5), weight05.getWidth(), 1.0); in testAccessWeightSum() 220 assertEquals(Math.ceil(parentWidth * 0.3), weight03.getWidth(), 1.0); in testAccessWeightSum() 552 final int parentWidth = parent.getHeight(); in testHorizontalCenterGravityOnVerticalLayout() local 571 int horizontalOffset = (parentWidth - topView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout() 577 horizontalOffset = (parentWidth - centerView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout() 583 horizontalOffset = (parentWidth - bottomView.getWidth()) / 2; in testHorizontalCenterGravityOnVerticalLayout() 600 final int parentWidth = parent.getHeight(); in testRightGravityOnVerticalLayout() local 620 assertEquals(parentWidth - topView.getWidth(), topView.getLeft()); in testRightGravityOnVerticalLayout() [all …]
|
D | PopupWindowTest.java | 1740 int parentWidth = parentWindowView.getMeasuredWidth(); in testVerticallyClippedBeforeAdjusted() local 1746 mPopupWindow = createPopupWindow(createPopupContent(parentWidth*2, parentHeight*2)); in testVerticallyClippedBeforeAdjusted() 1802 int parentWidth = parentWindowView.getMeasuredWidth(); in testClipToScreenClipsToInsets() local 1806 createPopupContent(parentWidth * 2, parentHeight * 2)); in testClipToScreenClipsToInsets()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TranslateAnimationTest.java | 181 final int parentWidth = parent.getWidth(); in testInitialize() local 191 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight); in testInitialize()
|