Home
last modified time | relevance | path

Searched refs:gCaps (Results 1 – 12 of 12) sorted by relevance

/external/skia/gm/
Dquadpaths.cpp71 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()
Dlinepaths.cpp57 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()
Dcubicpaths.cpp182 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()
Ddegeneratesegments.cpp283 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/
Dquadpaths.cpp71 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()
Dlinepaths.cpp57 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()
Dcubicpaths.cpp182 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()
Ddegeneratesegments.cpp283 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/
DEmptyPathTest.cpp65 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/
DEmptyPathTest.cpp65 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/
DSkottie.cpp354 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/
DSkottie.cpp355 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()