Searched refs:gStyles (Results 1 – 7 of 7) sorted by relevance
/external/skia/gm/ |
D | quadpaths.cpp | 61 constexpr StyleAndName gStyles[] = { in onDraw() local 105 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw() 113 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw() 120 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 135 canvas->drawText(gStyles[style].fName, in onDraw() 136 strlen(gStyles[style].fName), in onDraw() 204 constexpr StyleAndName gStyles[] = { in onDraw() local 249 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw() 257 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw() 264 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() [all …]
|
D | linepaths.cpp | 47 constexpr StyleAndName gStyles[] = { in draw() local 98 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in draw() 106 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in draw() 113 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw() 128 canvas->drawText(gStyles[style].fName, in draw() 129 strlen(gStyles[style].fName), in draw()
|
D | cubicpaths.cpp | 172 constexpr StyleAndName gStyles[] = { in onDraw() local 217 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw() 225 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw() 232 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 247 canvas->drawText(gStyles[style].fName, in onDraw() 248 strlen(gStyles[style].fName), in onDraw() 316 constexpr StyleAndName gStyles[] = { in onDraw() local 362 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw() 370 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw() 377 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() [all …]
|
D | emptypath.cpp | 58 constexpr StyleAndName gStyles[] = { in onDraw() local 82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw() 98 gStyles[style].fStyle, gFills[fill].fFill); in onDraw() 112 canvas->drawText(gStyles[style].fName, in onDraw() 113 strlen(gStyles[style].fName), in onDraw()
|
D | degeneratesegments.cpp | 273 constexpr StyleAndName gStyles[] = { in onDraw() local 309 unsigned numStyles = SK_ARRAY_COUNT(gStyles); in onDraw() 322 StyleAndName style = gStyles[(rand.nextU() >> 16) % numStyles]; in onDraw()
|
/external/skia/samplecode/ |
D | SampleAnimBlur.cpp | 40 static const SkBlurStyle gStyles[] = { in onDrawContent() local 48 for (size_t i = 0; i < SK_ARRAY_COUNT(gStyles); ++i) { in onDrawContent() 50 paint.setMaskFilter(SkBlurMaskFilter::Make(gStyles[i], in onDrawContent()
|
/external/skia/tests/ |
D | EmptyPathTest.cpp | 74 static const SkPaint::Style gStyles[] = { in iter_paint() local 81 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint() 83 && SkPaint::kFill_Style != gStyles[style]) { in iter_paint() 92 paint.setStyle(gStyles[style]); in iter_paint()
|