Home
last modified time | relevance | path

Searched refs:minTextSize (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java50 private float minTextSize = DEFAULT_MIN_TEXT_SIZE; field in AutoResizeTextView
116 float minTextSize = TypedValue.applyDimension(unit, size, displayMetrics); in setMinTextSize() local
117 if (this.minTextSize != minTextSize) { in setMinTextSize()
118 this.minTextSize = minTextSize; in setMinTextSize()
144 minTextSize = (int) typedArray.getDimension( in readAttrs()
160 int minSizeInStepSizeUnits = (int) Math.ceil(convertToResizeStepUnits(minTextSize)); in adjustTextSize()
/packages/apps/Dialer/java/com/android/dialer/widget/
DResizingTextEditText.java29 private final int minTextSize; field in ResizingTextEditText
35 minTextSize = in ResizingTextEditText()
43 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onTextChanged()
49 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onSizeChanged()
DResizingTextTextView.java29 private final int minTextSize; field in ResizingTextTextView
35 minTextSize = in ResizingTextTextView()
43 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onTextChanged()
49 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onSizeChanged()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java96 float minTextSize = 1f; in adjustTextSize() local
98 while (maxTextSize >= minTextSize) { in adjustTextSize()
99 final float midTextSize = Math.round((maxTextSize + minTextSize) / 2f); in adjustTextSize()
108 minTextSize = midTextSize + 1f; in adjustTextSize()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java95 public static void resizeText(TextView textView, int originalTextSize, int minTextSize) { in resizeText() argument
103 Math.max(minTextSize, originalTextSize * ratio)); in resizeText()
/packages/apps/Dialer/java/com/android/dialer/util/
DViewUtil.java74 public static void resizeText(TextView textView, int originalTextSize, int minTextSize) { in resizeText() argument
84 TypedValue.COMPLEX_UNIT_PX, Math.max(minTextSize, originalTextSize * ratio)); in resizeText()