Searched defs:gColors (Results 1 - 17 of 17) sorted by relevance

/external/skia/gm/
H A Dimagesource2.cpp34 constexpr SkPMColor gColors[] = { variable
53 p.setColor(gColors[curColor]);
56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
H A DgradientDirtyLaundry.cpp19 constexpr SkColor gColors[] = { variable
33 { 40, gColors, nullptr },
34 // { 2, gColors, gPos },
H A Ddrawatlascolor.cpp110 SkColor gColors[] = { variable
119 const int numColors = SK_ARRAY_COUNT(gColors);
131 quadColors[i] = gColors[i];
H A Dgradient_matrix.cpp23 constexpr SkColor gColors[] = { variable
66 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors),
75 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, 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]));
224 paint->setColorFilter(SkColorFilter::MakeModeFilter(gColors[i], SkBlendMode::kSrcIn));
240 const SkColor MegaLooperGM::gColors[4] = { member in class:MegaLooperGM
H A Ddashing.cpp428 constexpr SkColor gColors[kIntervalLength] = { variable
455 paint.setColor(gColors[phase]);
466 paint.setColor(gColors[phase]);
H A Dgradients_2pt_conical.cpp20 constexpr SkColor gColors[] = { member in namespace:skiagm
35 { 2, gColors, gPos0 },
36 { 2, gColors, gPos1 },
37 { 5, gColors, gPos2 },
H A Dgradients_no_texture.cpp19 constexpr SkColor gColors[] = { variable
24 { 1, gColors, nullptr },
25 { 2, gColors, nullptr },
26 { 3, gColors, nullptr },
27 { 4, gColors, nullptr },
H A Dshadertext.cpp41 constexpr SkColor gColors[] = { member in namespace:skiagm
46 { 2, gColors, nullptr },
47 { 5, gColors, nullptr },
H A Dgradients.cpp22 constexpr SkColor gColors[] = { member in namespace:skiagm
49 { 2, gColors, gColors4f, nullptr },
50 { 2, gColors, gColors4f, gPos0 },
51 { 2, gColors, gColors4f, gPos1 },
52 { 5, gColors, gColors4f, nullptr },
53 { 5, gColors, gColors4f, gPos2 },
491 SkIntToScalar(200), gColors, nullptr, 5,
629 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; variable
630 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2,
668 SK_ARRAY_COUNT(gColors), SkShade
[all...]
/external/skia/samplecode/
H A DSampleChart.cpp124 static SkColor gColors[kNumGraphs] = { 0x0 }; variable
125 if (0 == gColors[0]) {
127 gColors[i] = colorRand.nextU() | 0xff000000;
157 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
160 plotPaint.setColor(gColors[i]);
H A DSampleGradients.cpp48 static const SkColor gColors[] = { variable
58 { 2, gColors, nullptr },
59 { 2, gColors, gPos0 },
60 { 2, gColors, gPos1 },
61 { 5, gColors, nullptr },
62 { 5, gColors, gPos2 }
H A DSampleColorFilter.cpp171 static const SkColor gColors[] = { local
183 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) {
185 paint.setColorFilter(SkColorFilter::MakeModeFilter(gColors[y], gModes[x]));
H A DSampleShaderText.cpp48 static const SkColor gColors[] = { variable
53 { 2, gColors, nullptr },
54 { 5, gColors, nullptr },
H A DSampleSlides.cpp162 static const SkColor gColors[] = { variable
172 { 2, gColors, nullptr },
173 { 2, gColors, gPos0 },
174 { 2, gColors, gPos1 },
175 { 5, gColors, nullptr },
176 { 5, gColors, gPos2 }
/external/skia/bench/
H A DGradientBench.cpp24 static const SkColor gColors[] = { variable
42 { 2, gColors, nullptr, "" },
43 { 50, gColors, nullptr, "_hicolor" }, // many color gradient
44 { 3, gColors, nullptr, "_3color" },
/external/skia/tests/
H A DGradientTest.cpp164 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
173 rec.fColorCount = SK_ARRAY_COUNT(gColors);
174 rec.fColors = gColors;

Completed in 299 milliseconds