Home
last modified time | relevance | path

Searched refs:originalTextSize (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/widget/
DResizingTextEditText.java28 private final int originalTextSize; field in ResizingTextEditText
33 originalTextSize = (int) getTextSize(); in ResizingTextEditText()
36 (int) a.getDimension(R.styleable.ResizingText_resizing_text_min_size, originalTextSize); in ResizingTextEditText()
43 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onTextChanged()
49 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onSizeChanged()
DResizingTextTextView.java28 private final int originalTextSize; field in ResizingTextTextView
33 originalTextSize = (int) getTextSize(); in ResizingTextTextView()
36 (int) a.getDimension(R.styleable.ResizingText_resizing_text_min_size, originalTextSize); in ResizingTextTextView()
43 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onTextChanged()
49 ViewUtil.resizeText(this, originalTextSize, minTextSize); in onSizeChanged()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java95 public static void resizeText(TextView textView, int originalTextSize, int minTextSize) { in resizeText() argument
99 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText()
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
80 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText()
84 TypedValue.COMPLEX_UNIT_PX, Math.max(minTextSize, originalTextSize * ratio)); in resizeText()