Home
last modified time | relevance | path

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

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