/external/skia/gm/ |
D | quadpaths.cpp | 71 constexpr CapAndName gCaps[] = { in onDraw() local 103 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 120 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 141 canvas->drawString(gCaps[cap].fName, in onDraw() 211 constexpr CapAndName gCaps[] = { in onDraw() local 244 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 261 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 282 canvas->drawString(gCaps[cap].fName, in onDraw()
|
D | linepaths.cpp | 57 constexpr CapAndName gCaps[] = { in draw() local 96 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in draw() 113 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw() 134 canvas->drawString(gCaps[cap].fName, in draw()
|
D | cubicpaths.cpp | 182 constexpr CapAndName gCaps[] = { in onDraw() local 215 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 232 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 253 canvas->drawString(gCaps[cap].fName, in onDraw() 323 constexpr CapAndName gCaps[] = { in onDraw() local 357 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 374 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 395 canvas->drawString(gCaps[cap].fName, in onDraw()
|
D | degeneratesegments.cpp | 283 constexpr CapAndName gCaps[] = { in onDraw() local 308 unsigned numCaps = SK_ARRAY_COUNT(gCaps); in onDraw() 323 CapAndName cap = gCaps[(rand.nextU() >> 16) % numCaps]; in onDraw()
|
/external/skqp/gm/ |
D | quadpaths.cpp | 71 constexpr CapAndName gCaps[] = { in onDraw() local 103 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 120 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 141 canvas->drawString(gCaps[cap].fName, in onDraw() 211 constexpr CapAndName gCaps[] = { in onDraw() local 244 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 261 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 282 canvas->drawString(gCaps[cap].fName, in onDraw()
|
D | linepaths.cpp | 57 constexpr CapAndName gCaps[] = { in draw() local 96 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in draw() 113 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw() 134 canvas->drawString(gCaps[cap].fName, in draw()
|
D | cubicpaths.cpp | 182 constexpr CapAndName gCaps[] = { in onDraw() local 215 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 232 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 253 canvas->drawString(gCaps[cap].fName, in onDraw() 323 constexpr CapAndName gCaps[] = { in onDraw() local 357 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw() 374 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw() 395 canvas->drawString(gCaps[cap].fName, in onDraw()
|
D | degeneratesegments.cpp | 283 constexpr CapAndName gCaps[] = { in onDraw() local 308 unsigned numCaps = SK_ARRAY_COUNT(gCaps); in onDraw() 323 CapAndName cap = gCaps[(rand.nextU() >> 16) % numCaps]; in onDraw()
|
/external/skqp/tests/ |
D | EmptyPathTest.cpp | 65 static const SkPaint::Cap gCaps[] = { in iter_paint() local 80 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in iter_paint() 83 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint() 91 paint.setStrokeCap(gCaps[cap]); in iter_paint()
|
/external/skia/tests/ |
D | EmptyPathTest.cpp | 65 static const SkPaint::Cap gCaps[] = { in iter_paint() local 80 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in iter_paint() 83 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint() 91 paint.setStrokeCap(gCaps[cap]); in iter_paint()
|
/external/skqp/experimental/skottie/ |
D | Skottie.cpp | 354 static constexpr SkPaint::Cap gCaps[] = { in AttachStroke() local 359 stroke_node->setStrokeCap(gCaps[SkTPin<int>(ParseDefault(jstroke["lc"], 1) - 1, in AttachStroke() 360 0, SK_ARRAY_COUNT(gCaps) - 1)]); in AttachStroke()
|
/external/skia/experimental/skottie/ |
D | Skottie.cpp | 355 static constexpr SkPaint::Cap gCaps[] = { in AttachStroke() local 360 stroke_node->setStrokeCap(gCaps[SkTPin<int>(ParseDefault(jstroke["lc"], 1) - 1, in AttachStroke() 361 0, SK_ARRAY_COUNT(gCaps) - 1)]); in AttachStroke()
|