Home
last modified time | relevance | path

Searched refs:mMaximumTextSize (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java61 private final float mMaximumTextSize; field in CalculatorEditText
85 mMaximumTextSize = a.getDimension( in CalculatorEditText()
90 (mMaximumTextSize - mMinimumTextSize) / 3); in CalculatorEditText()
98 setTextSize(TypedValue.COMPLEX_UNIT_PX, mMaximumTextSize); in CalculatorEditText()
156 if (mWidthConstraint < 0 || mMaximumTextSize <= mMinimumTextSize) { in getVariableTextSize()
166 while (lastFitTextSize < mMaximumTextSize) { in getVariableTextSize()
167 final float nextSize = Math.min(lastFitTextSize + mStepTextSize, mMaximumTextSize); in getVariableTextSize()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorText.java91 private final float mMaximumTextSize; field in CalculatorText
115 mMaximumTextSize = a.getDimension( in CalculatorText()
120 (mMaximumTextSize - mMinimumTextSize) / 3); in CalculatorText()
149 setTextSizeInternal(TypedValue.COMPLEX_UNIT_PX, mMaximumTextSize, in onMeasure()
189 return mMaximumTextSize; in getMaximumTextSize()
193 if (mWidthConstraint < 0 || mMaximumTextSize <= mMinimumTextSize) { in getVariableTextSize()
203 while (lastFitTextSize < mMaximumTextSize) { in getVariableTextSize()
204 mTempPaint.setTextSize(Math.min(lastFitTextSize + mStepTextSize, mMaximumTextSize)); in getVariableTextSize()