Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSpinner.java52 final Rect mSpinnerPadding = new Rect(); field in AbsSpinner
183 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft in onMeasure()
185 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
187 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
189 mSpinnerPadding.bottom = mPaddingBottom > mSelectionBottomPadding ? mPaddingBottom in onMeasure()
224 … preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
225 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
233 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom; in onMeasure()
235 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right; in onMeasure()
DGallery.java650 int childrenLeft = mSpinnerPadding.left; in layout()
651 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
927 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); in setUpChild()
929 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); in setUpChild()
967 childTop = mSpinnerPadding.top; in calculateTop()
970 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop()
971 - mSpinnerPadding.top - childHeight; in calculateTop()
972 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
975 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
DSpinner.java646 int childrenLeft = mSpinnerPadding.left; in layout()
647 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
757 mSpinnerPadding.top + mSpinnerPadding.bottom, lp.height); in setUpChild()
759 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); in setUpChild()
768 int childTop = mSpinnerPadding.top in setUpChild()
769 + ((getMeasuredHeight() - mSpinnerPadding.bottom - in setUpChild()
770 mSpinnerPadding.top - child.getMeasuredHeight()) / 2); in setUpChild()