Searched refs:maxTextWidth (Results 1 – 3 of 3) sorted by relevance
1306 int maxTextWidth = 0; in tryComputeMaxWidth() local1321 maxTextWidth = (int) (numberOfDigits * maxDigitWidth); in tryComputeMaxWidth()1326 if (textWidth > maxTextWidth) { in tryComputeMaxWidth()1327 maxTextWidth = (int) textWidth; in tryComputeMaxWidth()1331 maxTextWidth += mInputText.getPaddingLeft() + mInputText.getPaddingRight(); in tryComputeMaxWidth()1332 if (mMaxWidth != maxTextWidth) { in tryComputeMaxWidth()1333 if (maxTextWidth > mMinWidth) { in tryComputeMaxWidth()1334 mMaxWidth = maxTextWidth; in tryComputeMaxWidth()
836 final int maxTextWidth; in onMeasure() local838 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()841 maxTextWidth = 0; in onMeasure()844 mThumbWidth = Math.max(maxTextWidth, thumbWidth); in onMeasure()
816 final int maxTextWidth; in onMeasure() local818 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()821 maxTextWidth = 0; in onMeasure()824 mThumbWidth = Math.max(maxTextWidth, thumbWidth); in onMeasure()