Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp33 static void MinikinFontSkia_SetSkiaPaint(const minikin::MinikinFont* font, SkPaint* skPaint, in MinikinFontSkia_SetSkiaPaint() argument
35 skPaint->setTextEncoding(SkPaint::kGlyphID_TextEncoding); in MinikinFontSkia_SetSkiaPaint()
36 skPaint->setTextSize(paint.size); in MinikinFontSkia_SetSkiaPaint()
37 skPaint->setTextScaleX(paint.scaleX); in MinikinFontSkia_SetSkiaPaint()
38 skPaint->setTextSkewX(paint.skewX); in MinikinFontSkia_SetSkiaPaint()
39 MinikinFontSkia::unpackPaintFlags(skPaint, paint.paintFlags); in MinikinFontSkia_SetSkiaPaint()
41 MinikinFontSkia::populateSkPaint(skPaint, font, paint.fakery); in MinikinFontSkia_SetSkiaPaint()
46 SkPaint skPaint; in GetHorizontalAdvance() local
49 MinikinFontSkia_SetSkiaPaint(this, &skPaint, paint); in GetHorizontalAdvance()
50 skPaint.getTextWidths(&glyph16, sizeof(glyph16), &skWidth, NULL); in GetHorizontalAdvance()
[all …]
/frameworks/base/libs/hwui/tests/common/scenes/
DHwBitmap565.cpp39 SkPaint skPaint; in createContent() local
40 skPaint.setColor(Color::Red_500); in createContent()
41 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent()
42 skPaint.setColor(Color::Blue_500); in createContent()
43 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()
DBitmapShaders.cpp41 SkPaint skPaint; in createContent() local
42 skPaint.setColor(Color::Red_500); in createContent()
43 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent()
44 skPaint.setColor(Color::Blue_500); in createContent()
45 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()