Home
last modified time | relevance | path

Searched refs:mTempPaint (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorText.java89 private final TextPaint mTempPaint = new TextPaint(); field in CalculatorText
199 mTempPaint.set(getPaint()); in getVariableTextSize()
204 mTempPaint.setTextSize(Math.min(lastFitTextSize + mStepTextSize, mMaximumTextSize)); in getVariableTextSize()
205 if (Layout.getDesiredWidth(text, mTempPaint) > mWidthConstraint) { in getVariableTextSize()
208 lastFitTextSize = mTempPaint.getTextSize(); in getVariableTextSize()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java66 private final Paint mTempPaint = new TextPaint(); field in CalculatorEditText
162 mTempPaint.set(getPaint()); in getVariableTextSize()
168 mTempPaint.setTextSize(nextSize); in getVariableTextSize()
169 if (mTempPaint.measureText(text) > mWidthConstraint) { in getVariableTextSize()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java96 Paint mTempPaint; field in DumbBitmapRegionDecoder
123 mTempPaint = new Paint(); in decodeRegion()
124 mTempPaint.setFilterBitmap(true); in decodeRegion()
134 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint); in decodeRegion()