Searched refs:gColors (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/skia/gm/
H A Dgradient_matrix.cpp22 static const SkColor gColors[] = { variable
65 return SkGradientShader::CreateLinear(pts, gColors, NULL, SK_ARRAY_COUNT(gColors),
74 return SkGradientShader::CreateRadial(center, radius, gColors, NULL, SK_ARRAY_COUNT(gColors),
H A Dmegalooper.cpp78 static const SkColor gColors[4]; member in class:MegaLooperGM
102 paint.setColor(gColors[i]);
134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i]))->unref();
225 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[i], SkXfermode::kSrcIn_Mode);
242 const SkColor MegaLooperGM::gColors[4] = { member in class:MegaLooperGM
H A Dgradients_no_texture.cpp18 static const SkColor gColors[] = { variable
23 { 1, gColors, NULL },
24 { 2, gColors, NULL },
25 { 3, gColors, NULL },
26 { 4, gColors, NULL },
H A DgradientDirtyLaundry.cpp19 static const SkColor gColors[] = { variable
33 { 40, gColors, NULL },
34 // { 2, gColors, gPos },
H A Dshadertext.cpp39 static const SkColor gColors[] = { member in namespace:skiagm
44 { 2, gColors, NULL },
45 { 5, gColors, NULL },
H A Dgradients.cpp19 static const SkColor gColors[] = { member in namespace:skiagm
34 { 2, gColors, NULL },
35 { 2, gColors, gPos0 },
36 { 2, gColors, gPos1 },
37 { 5, gColors, NULL },
38 { 5, gColors, gPos2 },
318 SkIntToScalar(200), gColors, NULL, 5,
/external/skia/gm/
H A Dgradient_matrix.cpp22 static const SkColor gColors[] = { variable
65 return SkGradientShader::CreateLinear(pts, gColors, NULL, SK_ARRAY_COUNT(gColors),
74 return SkGradientShader::CreateRadial(center, radius, gColors, NULL, SK_ARRAY_COUNT(gColors),
H A Dmegalooper.cpp78 static const SkColor gColors[4]; member in class:MegaLooperGM
102 paint.setColor(gColors[i]);
134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i]))->unref();
225 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[i], SkXfermode::kSrcIn_Mode);
242 const SkColor MegaLooperGM::gColors[4] = { member in class:MegaLooperGM
H A Dgradients_no_texture.cpp18 static const SkColor gColors[] = { variable
23 { 1, gColors, NULL },
24 { 2, gColors, NULL },
25 { 3, gColors, NULL },
26 { 4, gColors, NULL },
H A DgradientDirtyLaundry.cpp19 static const SkColor gColors[] = { variable
33 { 40, gColors, NULL },
34 // { 2, gColors, gPos },
H A Dshadertext.cpp48 static const SkColor gColors[] = { member in namespace:skiagm
53 { 2, gColors, NULL },
54 { 5, gColors, NULL },
H A Dgradients.cpp19 static const SkColor gColors[] = { member in namespace:skiagm
34 { 2, gColors, NULL },
35 { 2, gColors, gPos0 },
36 { 2, gColors, gPos1 },
37 { 5, gColors, NULL },
38 { 5, gColors, gPos2 },
322 SkIntToScalar(200), gColors, NULL, 5,
/external/chromium_org/third_party/skia/samplecode/
H A DSampleGradients.cpp49 static const SkColor gColors[] = { variable
59 { 2, gColors, NULL },
60 { 2, gColors, gPos0 },
61 { 2, gColors, gPos1 },
62 { 5, gColors, NULL },
63 { 5, gColors, gPos2 }
H A DSampleChart.cpp123 static SkColor gColors[kNumGraphs] = { 0x0 }; variable
124 if (0 == gColors[0]) {
126 gColors[i] = colorRand.nextU() | 0xff000000;
156 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
159 plotPaint.setColor(gColors[i]);
H A DSampleAnimatedGradient.cpp44 SkColor gColors[] = { local
53 GradData data = { 5, gColors, colorPositions };
H A DSampleColorFilter.cpp189 static const SkColor gColors[] = { local
201 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) {
203 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]);
H A DSampleShaderText.cpp47 static const SkColor gColors[] = { variable
52 { 2, gColors, NULL },
53 { 5, gColors, NULL },
/external/skia/samplecode/
H A DSampleGradients.cpp49 static const SkColor gColors[] = { variable
59 { 2, gColors, NULL },
60 { 2, gColors, gPos0 },
61 { 2, gColors, gPos1 },
62 { 5, gColors, NULL },
63 { 5, gColors, gPos2 }
H A DSampleChart.cpp123 static SkColor gColors[kNumGraphs] = { 0x0 }; variable
124 if (0 == gColors[0]) {
126 gColors[i] = colorRand.nextU() | 0xff000000;
156 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
159 plotPaint.setColor(gColors[i]);
H A DSampleAnimatedGradient.cpp44 SkColor gColors[] = { local
53 GradData data = { 5, gColors, colorPositions };
H A DSampleColorFilter.cpp189 static const SkColor gColors[] = { local
201 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) {
203 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]);
H A DSampleShaderText.cpp47 static const SkColor gColors[] = { variable
52 { 2, gColors, NULL },
53 { 5, gColors, NULL },
/external/chromium_org/third_party/skia/tests/
H A DGradientTest.cpp161 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
170 rec.fColorCount = SK_ARRAY_COUNT(gColors);
171 rec.fColors = gColors;
/external/skia/tests/
H A DGradientTest.cpp162 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
171 rec.fColorCount = SK_ARRAY_COUNT(gColors);
172 rec.fColors = gColors;
/external/chromium_org/third_party/skia/bench/
H A DGradientBench.cpp24 static const SkColor gColors[] = { variable
42 { 2, gColors, NULL, "" },
43 { 50, gColors, NULL, "_hicolor" }, // many color gradient
44 { 3, gColors, NULL, "_3color" },

Completed in 4742 milliseconds

12