Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpanColors.java35 @Nullable private TextPaint mWorkPaint; field in SpanColors
50 mWorkPaint = workPaint; in init()
58 mWorkPaint = null; in recycle()
71 mWorkPaint.setColor(finalColor); in getColorAt()
76 span.updateDrawState(mWorkPaint); in getColorAt()
78 finalColor = calculateFinalColor(mWorkPaint); in getColorAt()
DTextLine.java122 private final TextPaint mWorkPaint = new TextPaint(); field in TextLine
1123 TextPaint wp = mWorkPaint; in getOffsetBeforeAfter()
1609 final TextPaint wp = mWorkPaint; in handleRun()
1636 final TextPaint wp = mWorkPaint; in handleRun()
1652 final TextPaint wp = mWorkPaint; in handleRun()
DLayout.java777 final TextPaint paint = mWorkPaint; in drawText()
1042 mSpanColors.init(mWorkPaint, ((Spanned) mText), start, end); in drawHighContrastBackground()
1280 final TextPaint paint = mWorkPaint; in computeDrawingBoundingBox()
2041 final TextPaint paint = mWorkPaint; in getLineExtent()
2096 final TextPaint paint = mWorkPaint; in getLineLetterSpacingUnitCount()
2129 final TextPaint paint = mWorkPaint; in getLineExtent()
3637 private final TextPaint mWorkPaint = new TextPaint(); local
/frameworks/base/core/tests/coretests/src/android/text/
DSpanColorsTest.java39 private final TextPaint mWorkPaint = new TextPaint(); field in SpanColorsTest
60 mSpanColors.init(mWorkPaint, mSpannedText, 25, 30); // Beyond the spans in testNoColorFound()
66 mSpanColors.init(mWorkPaint, mSpannedText, 1, 4); in testSingleColorSpan()
72 mSpanColors.init(mWorkPaint, mSpannedText, 0, mSpannedText.length()); in testMultipleColorSpans()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java169 private Paint mWorkPaint = new Paint(); field in RecipientEditTextView
900 mWorkPaint.reset(); in createChipBitmap()
901 mWorkPaint.setColor(backgroundColor); in createChipBitmap()
904 mWorkPaint); in createChipBitmap()
1100 canvas.drawCircle(dst.centerX(), dst.centerY(), dst.width() / 2f, mWorkPaint); in drawCircularIconOnCanvas() local
1105 mWorkPaint); in drawCircularIconOnCanvas() local
1107 mWorkPaint.reset(); in drawCircularIconOnCanvas()
1118 canvas.drawRect(dst, mWorkPaint); in drawRectanglularIconOnCanvas()
1122 canvas.drawRect(dst, mWorkPaint); in drawRectanglularIconOnCanvas()
1124 mWorkPaint.reset(); in drawRectanglularIconOnCanvas()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55555 Landroid/text/Layout;->mWorkPaint:Landroid/text/TextPaint;
56295 Landroid/text/TextLine;->mWorkPaint:Landroid/text/TextPaint;