/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->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()
|
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->drawString(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->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()
|
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->drawString(gStyles[style].fName, in onDraw()
|
D | typeface.cpp | 76 static constexpr SkFontStyle gStyles[] = { variable 83 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles); 98 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
|
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/skqp/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->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()
|
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->drawString(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->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()
|
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->drawString(gStyles[style].fName, in onDraw()
|
D | typeface.cpp | 76 static constexpr SkFontStyle gStyles[] = { variable 83 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles); 98 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
|
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/skqp/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/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/skqp/tests/ |
D | EmptyPathTest.cpp | 75 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/ |
D | EmptyPathTest.cpp | 75 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()
|