/external/skia/gm/ |
H A D | imagesource2.cpp | 34 constexpr SkPMColor gColors[] = { variable 53 p.setColor(gColors[curColor]); 56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
|
H A D | gradientDirtyLaundry.cpp | 19 constexpr SkColor gColors[] = { variable 33 { 40, gColors, nullptr }, 34 // { 2, gColors, gPos },
|
H A D | drawatlascolor.cpp | 110 SkColor gColors[] = { variable 119 const int numColors = SK_ARRAY_COUNT(gColors); 131 quadColors[i] = gColors[i];
|
H A D | gradient_matrix.cpp | 23 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 D | megalooper.cpp | 78 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 D | dashing.cpp | 428 constexpr SkColor gColors[kIntervalLength] = { variable 455 paint.setColor(gColors[phase]); 466 paint.setColor(gColors[phase]);
|
H A D | gradients_2pt_conical.cpp | 20 constexpr SkColor gColors[] = { member in namespace:skiagm 35 { 2, gColors, gPos0 }, 36 { 2, gColors, gPos1 }, 37 { 5, gColors, gPos2 },
|
H A D | gradients_no_texture.cpp | 19 constexpr SkColor gColors[] = { variable 24 { 1, gColors, nullptr }, 25 { 2, gColors, nullptr }, 26 { 3, gColors, nullptr }, 27 { 4, gColors, nullptr },
|
H A D | shadertext.cpp | 41 constexpr SkColor gColors[] = { member in namespace:skiagm 46 { 2, gColors, nullptr }, 47 { 5, gColors, nullptr },
|
H A D | gradients.cpp | 22 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 D | SampleChart.cpp | 124 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 D | SampleGradients.cpp | 48 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 D | SampleColorFilter.cpp | 171 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 D | SampleShaderText.cpp | 48 static const SkColor gColors[] = { variable 53 { 2, gColors, nullptr }, 54 { 5, gColors, nullptr },
|
H A D | SampleSlides.cpp | 162 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 D | GradientBench.cpp | 24 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 D | GradientTest.cpp | 164 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 173 rec.fColorCount = SK_ARRAY_COUNT(gColors); 174 rec.fColors = gColors;
|