HomeSort by relevance Sort by last modified time
    Searched refs:gColors (Results 1 - 17 of 17) sorted by null

  /external/skia/gm/
imagesource2.cpp 34 constexpr SkPMColor gColors[] = {
53 p.setColor(gColors[curColor]);
56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
gradient_matrix.cpp 23 constexpr SkColor gColors[] = {
66 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors),
75 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors),
megalooper.cpp 78 static const SkColor gColors[4];
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] = {
gradientDirtyLaundry.cpp 19 constexpr SkColor gColors[] = {
33 { 40, gColors, nullptr },
34 // { 2, gColors, gPos },
drawatlascolor.cpp 110 SkColor gColors[] = {
119 const int numColors = SK_ARRAY_COUNT(gColors);
131 quadColors[i] = gColors[i];
shadertext.cpp 41 constexpr SkColor gColors[] = {
46 { 2, gColors, nullptr },
47 { 5, gColors, nullptr },
gradients_no_texture.cpp 19 constexpr SkColor gColors[] = {
24 { 1, gColors, nullptr },
25 { 2, gColors, nullptr },
26 { 3, gColors, nullptr },
27 { 4, gColors, nullptr },
gradients.cpp 21 constexpr SkColor gColors[] = {
48 { 2, gColors, gColors4f, nullptr },
49 { 2, gColors, gColors4f, gPos0 },
50 { 2, gColors, gColors4f, gPos1 },
51 { 5, gColors, gColors4f, nullptr },
52 { 5, gColors, gColors4f, gPos2 },
490 SkIntToScalar(200), gColors, nullptr, 5,
628 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 };
629 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2,
667 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode)
    [all...]
gradients_2pt_conical.cpp 20 constexpr SkColor gColors[] = {
35 { 2, gColors, gPos0 },
36 { 2, gColors, gPos1 },
37 { 5, gColors, gPos2 },
dashing.cpp 440 constexpr SkColor gColors[kIntervalLength] = {
467 paint.setColor(gColors[phase]);
478 paint.setColor(gColors[phase]);
  /external/skia/samplecode/
SampleGradients.cpp 48 static const SkColor gColors[] = {
58 { 2, gColors, nullptr },
59 { 2, gColors, gPos0 },
60 { 2, gColors, gPos1 },
61 { 5, gColors, nullptr },
62 { 5, gColors, gPos2 }
SampleChart.cpp 124 static SkColor gColors[kNumGraphs] = { 0x0 };
125 if (0 == gColors[0]) {
127 gColors[i] = colorRand.nextU() | 0xff000000;
157 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
160 plotPaint.setColor(gColors[i]);
SampleColorFilter.cpp 171 static const SkColor gColors[] = {
183 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) {
185 paint.setColorFilter(SkColorFilter::MakeModeFilter(gColors[y], gModes[x]));
SampleShaderText.cpp 48 static const SkColor gColors[] = {
53 { 2, gColors, nullptr },
54 { 5, gColors, nullptr },
SampleSlides.cpp 163 static const SkColor gColors[] = {
173 { 2, gColors, nullptr },
174 { 2, gColors, gPos0 },
175 { 2, gColors, gPos1 },
176 { 5, gColors, nullptr },
177 { 5, gColors, gPos2 }
  /external/skia/bench/
GradientBench.cpp 23 static const SkColor gColors[] = {
42 { 2, gColors, nullptr, "" },
43 { 50, gColors, nullptr, "_hicolor" }, // many color gradient
44 { 3, gColors, nullptr, "_3color" },
46 { 2, gColors, gPos, "_pos" },
  /external/skia/tests/
GradientTest.cpp 162 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE };
171 rec.fColorCount = SK_ARRAY_COUNT(gColors);
172 rec.fColors = gColors;

Completed in 142 milliseconds