Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java165 float lastFitTextSize = mMinimumTextSize; in getVariableTextSize() local
166 while (lastFitTextSize < mMaximumTextSize) { in getVariableTextSize()
167 final float nextSize = Math.min(lastFitTextSize + mStepTextSize, mMaximumTextSize); in getVariableTextSize()
172 lastFitTextSize = nextSize; in getVariableTextSize()
176 return lastFitTextSize; in getVariableTextSize()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorText.java202 float lastFitTextSize = mMinimumTextSize; in getVariableTextSize() local
203 while (lastFitTextSize < mMaximumTextSize) { in getVariableTextSize()
204 mTempPaint.setTextSize(Math.min(lastFitTextSize + mStepTextSize, mMaximumTextSize)); in getVariableTextSize()
208 lastFitTextSize = mTempPaint.getTextSize(); in getVariableTextSize()
211 return lastFitTextSize; in getVariableTextSize()