Home
last modified time | relevance | path

Searched refs:containerWidth (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/percent/tests/java/android/support/percent/
DPercentDynamicLayoutTest.java113 final int containerWidth = percentFrameLayout.getWidth();
116 final int availableWidth = containerWidth - percentFrameLayout.getPaddingLeft()
143 final int containerWidth = percentFrameLayout.getWidth();
146 final int availableWidth = containerWidth - percentFrameLayout.getPaddingLeft()
173 final int containerWidth = percentRelativeLayout.getWidth();
176 final int availableWidth = containerWidth - percentRelativeLayout.getPaddingLeft()
203 final int containerWidth = percentRelativeLayout.getWidth();
206 final int availableWidth = containerWidth - percentRelativeLayout.getPaddingLeft()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DWeightSumTest.java53 final int containerWidth = mContainer.getWidth(); in testLayout() local
55 assertEquals(containerWidth / 2, childWidth); in testLayout()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDelayedTransition.java46 int containerWidth = container.getWidth(); in onCreate()
47 if (buttonWidth < containerWidth) { in onCreate()
/frameworks/base/core/java/android/widget/
DFastScroller.java655 final int containerWidth = container.width(); in measureViewToSide() local
658 maxWidth = containerWidth; in measureViewToSide()
662 maxWidth = containerWidth - adjacent.getRight(); in measureViewToSide()
705 final int containerWidth = container.width(); in measureFloating() local
707 final int adjMaxWidth = Math.max(0, containerWidth - marginLeft - marginRight); in measureFloating()
718 final int left = (containerWidth - width) / 2 + container.left; in measureFloating()