Home
last modified time | relevance | path

Searched refs:mSpinnerPadding (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerCompat.java45 final Rect mSpinnerPadding = new Rect(); field in AbsSpinnerCompat
156 mSpinnerPadding.left = paddingLeft > mSelectionLeftPadding ? paddingLeft in onMeasure()
158 mSpinnerPadding.top = paddingTop > mSelectionTopPadding ? paddingTop in onMeasure()
160 mSpinnerPadding.right = paddingRight > mSelectionRightPadding ? paddingRight in onMeasure()
162 mSpinnerPadding.bottom = paddingBottom > mSelectionBottomPadding ? paddingBottom in onMeasure()
193 … preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
194 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
202 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
204 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
DSpinnerCompat.java461 int childrenLeft = mSpinnerPadding.left; in layout()
462 int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
572 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); in setUpChild()
574 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); in setUpChild()
583 int childTop = mSpinnerPadding.top in setUpChild()
584 + ((getMeasuredHeight() - mSpinnerPadding.bottom - in setUpChild()
585 mSpinnerPadding.top - child.getMeasuredHeight()) / 2); in setUpChild()
/frameworks/base/core/java/android/widget/
DAbsSpinner.java50 final Rect mSpinnerPadding = new Rect(); field in AbsSpinner
174 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft in onMeasure()
176 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
178 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
180 mSpinnerPadding.bottom = mPaddingBottom > mSelectionBottomPadding ? mPaddingBottom in onMeasure()
215 … preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
216 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
224 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
226 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
DGallery.java630 int childrenLeft = mSpinnerPadding.left; in layout()
631 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
904 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); in setUpChild()
906 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); in setUpChild()
944 childTop = mSpinnerPadding.top; in calculateTop()
947 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop()
948 - mSpinnerPadding.top - childHeight; in calculateTop()
949 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
952 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
DSpinner.java539 int childrenLeft = mSpinnerPadding.left; in layout()
540 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
652 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); in setUpChild()
654 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); in setUpChild()
663 int childTop = mSpinnerPadding.top in setUpChild()
664 + ((getMeasuredHeight() - mSpinnerPadding.bottom - in setUpChild()
665 mSpinnerPadding.top - child.getMeasuredHeight()) / 2); in setUpChild()