Home
last modified time | relevance | path

Searched refs:gStyles (Results 1 – 16 of 16) sorted by relevance

/external/skia/gm/
Dquadpaths.cpp61 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->drawString(gStyles[style].fName, in onDraw()
201 constexpr StyleAndName gStyles[] = { in onDraw() local
246 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
254 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
261 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
276 canvas->drawString(gStyles[style].fName, in onDraw()
Dlinepaths.cpp47 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->drawString(gStyles[style].fName, in draw()
Dcubicpaths.cpp172 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->drawString(gStyles[style].fName, in onDraw()
313 constexpr StyleAndName gStyles[] = { in onDraw() local
359 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
367 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
374 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
389 canvas->drawString(gStyles[style].fName, in onDraw()
Demptypath.cpp58 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->drawString(gStyles[style].fName, in onDraw()
Dtypeface.cpp76 static constexpr SkFontStyle gStyles[] = { variable
83 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles);
98 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp273 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/skqp/gm/
Dquadpaths.cpp61 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->drawString(gStyles[style].fName, in onDraw()
201 constexpr StyleAndName gStyles[] = { in onDraw() local
246 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
254 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
261 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
276 canvas->drawString(gStyles[style].fName, in onDraw()
Dlinepaths.cpp47 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->drawString(gStyles[style].fName, in draw()
Dcubicpaths.cpp172 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->drawString(gStyles[style].fName, in onDraw()
313 constexpr StyleAndName gStyles[] = { in onDraw() local
359 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
367 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
374 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
389 canvas->drawString(gStyles[style].fName, in onDraw()
Demptypath.cpp58 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->drawString(gStyles[style].fName, in onDraw()
Dtypeface.cpp76 static constexpr SkFontStyle gStyles[] = { variable
83 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles);
98 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp273 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/skqp/samplecode/
DSampleAnimBlur.cpp40 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/samplecode/
DSampleAnimBlur.cpp40 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/skqp/tests/
DEmptyPathTest.cpp75 static const SkPaint::Style gStyles[] = { in iter_paint() local
82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
84 && SkPaint::kFill_Style != gStyles[style]) { in iter_paint()
93 paint.setStyle(gStyles[style]); in iter_paint()
/external/skia/tests/
DEmptyPathTest.cpp75 static const SkPaint::Style gStyles[] = { in iter_paint() local
82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
84 && SkPaint::kFill_Style != gStyles[style]) { in iter_paint()
93 paint.setStyle(gStyles[style]); in iter_paint()