Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/gm/
Dquadpaths.cpp61 static const 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()
207 static const StyleAndName gStyles[] = { in onDraw() local
252 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
260 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
267 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
[all …]
Dlinepaths.cpp61 static const StyleAndName gStyles[] = { in onDraw() local
104 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
112 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
119 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
134 canvas->drawText(gStyles[style].fName, in onDraw()
135 strlen(gStyles[style].fName), in onDraw()
202 static const 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()
[all …]
Dcubicpaths.cpp104 static const StyleAndName gStyles[] = { in onDraw() local
149 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
157 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
164 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
179 canvas->drawText(gStyles[style].fName, in onDraw()
180 strlen(gStyles[style].fName), in onDraw()
251 static const StyleAndName gStyles[] = { in onDraw() local
297 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
305 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
312 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
[all …]
Demptypath.cpp57 static const StyleAndName gStyles[] = { in onDraw() local
81 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
96 gStyles[style].fStyle, gFills[fill].fFill); in onDraw()
110 canvas->drawText(gStyles[style].fName, in onDraw()
111 strlen(gStyles[style].fName), in onDraw()
Dfontcache.cpp19 const SkTypeface::Style gStyles[] = { variable
27 #define TYPEFACE_COUNT (SK_ARRAY_COUNT(gFamilyNames)*SK_ARRAY_COUNT(gStyles))
61 for (size_t j = 0; j < SK_ARRAY_COUNT(gStyles); ++j) { in onOnceBeforeDraw()
63 gStyles[j]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp275 static const StyleAndName gStyles[] = { in onDraw() local
311 unsigned numStyles = SK_ARRAY_COUNT(gStyles); in onDraw()
324 StyleAndName style = gStyles[(rand.nextU() >> 16) % numStyles]; in onDraw()
/external/skia/gm/
Dquadpaths.cpp61 static const 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()
207 static const StyleAndName gStyles[] = { in onDraw() local
252 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
260 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
267 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
[all …]
Dlinepaths.cpp61 static const StyleAndName gStyles[] = { in onDraw() local
104 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
112 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
119 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
134 canvas->drawText(gStyles[style].fName, in onDraw()
135 strlen(gStyles[style].fName), in onDraw()
202 static const 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()
[all …]
Dcubicpaths.cpp104 static const StyleAndName gStyles[] = { in onDraw() local
149 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
157 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
164 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
179 canvas->drawText(gStyles[style].fName, in onDraw()
180 strlen(gStyles[style].fName), in onDraw()
251 static const StyleAndName gStyles[] = { in onDraw() local
297 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
305 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
312 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
[all …]
Demptypath.cpp57 static const StyleAndName gStyles[] = { in onDraw() local
81 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
96 gStyles[style].fStyle, gFills[fill].fFill); in onDraw()
110 canvas->drawText(gStyles[style].fName, in onDraw()
111 strlen(gStyles[style].fName), in onDraw()
Dfontcache.cpp19 const SkTypeface::Style gStyles[] = { variable
27 #define TYPEFACE_COUNT (SK_ARRAY_COUNT(gFamilyNames)*SK_ARRAY_COUNT(gStyles))
61 for (size_t j = 0; j < SK_ARRAY_COUNT(gStyles); ++j) { in onOnceBeforeDraw()
63 gStyles[j]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp275 static const StyleAndName gStyles[] = { in onDraw() local
311 unsigned numStyles = SK_ARRAY_COUNT(gStyles); in onDraw()
324 StyleAndName style = gStyles[(rand.nextU() >> 16) % numStyles]; in onDraw()
/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 gStyles[i], in onDrawContent()
DSampleEmptyPath.cpp60 static const StyleAndName gStyles[] = { in onDrawContent() local
83 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDrawContent()
98 gStyles[style].fStyle, gFills[fill].fFill); in onDrawContent()
108 label.appendf("%s, %s", gStyles[style].fName, gFills[fill].fName); in onDrawContent()
/external/chromium_org/third_party/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 gStyles[i], in onDrawContent()
DSampleEmptyPath.cpp60 static const StyleAndName gStyles[] = { in onDrawContent() local
83 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDrawContent()
98 gStyles[style].fStyle, gFills[fill].fFill); in onDrawContent()
108 label.appendf("%s, %s", gStyles[style].fName, gFills[fill].fName); in onDrawContent()
/external/skia/tests/
DEmptyPathTest.cpp68 static const SkPaint::Style gStyles[] = { in iter_paint() local
75 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
81 paint.setStyle(gStyles[style]); in iter_paint()
/external/chromium_org/third_party/skia/tests/
DEmptyPathTest.cpp68 static const SkPaint::Style gStyles[] = { in iter_paint() local
75 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
81 paint.setStyle(gStyles[style]); in iter_paint()