/external/skia/gm/ |
D | gradient_matrix.cpp | 23 constexpr SkColor gColors[] = { variable 66 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_linear_gradient() 75 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_radial_gradient()
|
D | imagesource2.cpp | 34 constexpr SkPMColor gColors[] = { in onOnceBeforeDraw() local 53 p.setColor(gColors[curColor]); in onOnceBeforeDraw() 56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
|
D | megalooper.cpp | 78 static const SkColor gColors[4]; member in MegaLooperGM 102 paint.setColor(gColors[i]); in draw0x0() 134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i])); in draw4x1() 224 paint->setColorFilter(SkColorFilter::MakeModeFilter(gColors[i], SkBlendMode::kSrcIn)); in create4Looper() 240 const SkColor MegaLooperGM::gColors[4] = { member in MegaLooperGM
|
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 },
|
D | drawatlascolor.cpp | 110 SkColor gColors[] = { in onDraw() local 119 const int numColors = SK_ARRAY_COUNT(gColors); in onDraw() 131 quadColors[i] = gColors[i]; in onDraw()
|
D | gradients.cpp | 21 constexpr SkColor gColors[] = { variable 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, in onDraw() 628 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; in onOnceBeforeDraw() local 629 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw() 667 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode); in onOnceBeforeDraw() [all …]
|
D | shadertext.cpp | 41 constexpr SkColor gColors[] = { variable 46 { 2, gColors, nullptr }, 47 { 5, gColors, nullptr },
|
D | gradientDirtyLaundry.cpp | 19 constexpr SkColor gColors[] = { variable 33 { 40, gColors, nullptr },
|
D | gradients_2pt_conical.cpp | 20 constexpr SkColor gColors[] = { variable 35 { 2, gColors, gPos0 }, 36 { 2, gColors, gPos1 }, 37 { 5, gColors, gPos2 },
|
D | dashing.cpp | 440 constexpr SkColor gColors[kIntervalLength] = { in onDraw() local 467 paint.setColor(gColors[phase]); in onDraw() 478 paint.setColor(gColors[phase]); in onDraw()
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 124 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local 125 if (0 == gColors[0]) { in onDrawContent() 127 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent() 157 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent() 160 plotPaint.setColor(gColors[i]); in onDrawContent()
|
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 }
|
D | SampleColorFilter.cpp | 171 static const SkColor gColors[] = { in onDrawContent() local 183 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) { in onDrawContent() 185 paint.setColorFilter(SkColorFilter::MakeModeFilter(gColors[y], gModes[x])); in onDrawContent()
|
D | SampleShaderText.cpp | 48 static const SkColor gColors[] = { variable 53 { 2, gColors, nullptr }, 54 { 5, gColors, nullptr },
|
D | SampleSlides.cpp | 163 static const SkColor gColors[] = { variable 173 { 2, gColors, nullptr }, 174 { 2, gColors, gPos0 }, 175 { 2, gColors, gPos1 }, 176 { 5, gColors, nullptr }, 177 { 5, gColors, gPos2 }
|
/external/skia/bench/ |
D | GradientBench.cpp | 23 static const SkColor gColors[] = { variable 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/ |
D | GradientTest.cpp | 162 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; in TestGradientShaders() local 171 rec.fColorCount = SK_ARRAY_COUNT(gColors); in TestGradientShaders() 172 rec.fColors = gColors; in TestGradientShaders()
|