Searched refs:maxTextWidth (Results 1 – 2 of 2) sorted by relevance
1180 int maxTextWidth = 0; in tryComputeMaxWidth() local1195 maxTextWidth = (int) (numberOfDigits * maxDigitWidth); in tryComputeMaxWidth()1200 if (textWidth > maxTextWidth) { in tryComputeMaxWidth()1201 maxTextWidth = (int) textWidth; in tryComputeMaxWidth()1205 maxTextWidth += mInputText.getPaddingLeft() + mInputText.getPaddingRight(); in tryComputeMaxWidth()1206 if (mMaxWidth != maxTextWidth) { in tryComputeMaxWidth()1207 if (maxTextWidth > mMinWidth) { in tryComputeMaxWidth()1208 mMaxWidth = maxTextWidth; in tryComputeMaxWidth()
491 final int maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()); in onMeasure() local493 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right); in onMeasure()496 mThumbWidth = maxTextWidth + mThumbTextPadding * 2; in onMeasure()