Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DCanvas.cpp42 SkPaint paintCopy(paint); in drawTextDecorations() local
43 drawFilter->filter(&paintCopy, SkDrawFilter::kText_Type); in drawTextDecorations()
44 flags = paintCopy.getFlags(); in drawTextDecorations()
207 Paint paintCopy(paint); in drawTextOnPath() local
209 &paintCopy, bidiFlags, typeface, text, 0, count, count); in drawTextOnPath()
210 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); in drawTextOnPath()
215 paintCopy.setTextAlign(Paint::kLeft_Align); in drawTextOnPath()
217 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path); in drawTextOnPath()
218 MinikinUtils::forFontRun(layout, &paintCopy, f); in drawTextOnPath()
/frameworks/base/libs/hwui/
DTextDropShadowCache.cpp154 SkPaint paintCopy(*paint); in get() local
155 paintCopy.setTextAlign(SkPaint::kLeft_Align); in get()
156 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, in get()
DSkiaCanvas.cpp696 SkPaint paintCopy(paint); in drawGlyphs() local
697 paintCopy.setTextAlign(SkPaint::kLeft_Align); in drawGlyphs()
703 const SkTextBlobBuilder::RunBuffer& buffer = builder.allocRunPos(paintCopy, count, &bounds); in drawGlyphs()
710 mCanvas->drawTextBlob(textBlob, 0, 0, paintCopy); in drawGlyphs()
711 drawTextDecorations(x, y, totalAdvance, paintCopy); in drawGlyphs()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp725 SkPaint paintCopy(paint); in OPENGL_PIPELINE_TEST() local
726 canvas.drawRect(0, 10, 200, 20, paintCopy); in OPENGL_PIPELINE_TEST()