/external/skia/src/utils/ |
D | SkParseColor.cpp | 163 } gColors[] = { variable 320 *color = SkColorSetRGB(gColors[index].r, gColors[index].g, gColors[index].b); in FindNamedColor()
|
/external/skia/gm/ |
D | gradient_matrix.cpp | 22 constexpr SkColor gColors[] = { variable 65 return SkGradientShader::MakeLinear(pts, gColors, nullptr, std::size(gColors), in make_linear_gradient() 74 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, std::size(gColors), in make_radial_gradient()
|
D | imagesource2.cpp | 45 constexpr SkPMColor gColors[] = { in onOnceBeforeDraw() local 64 p.setColor(gColors[curColor]); in onOnceBeforeDraw() 67 curColor = (curColor+1) % std::size(gColors); in onOnceBeforeDraw()
|
D | gradients_no_texture.cpp | 33 constexpr SkColor gColors[] = { variable 38 { 1, gColors, nullptr }, 39 { 2, gColors, nullptr }, 40 { 3, gColors, nullptr }, 41 { 4, gColors, nullptr },
|
D | drawatlascolor.cpp | 120 SkColor gColors[] = { in onDraw() local 129 const int numColors = std::size(gColors); in onDraw() 141 quadColors[i] = gColors[i]; in onDraw()
|
D | gradient_dirty_laundry.cpp | 31 constexpr SkColor gColors[] = { variable 45 { 40, gColors, nullptr },
|
D | gradients.cpp | 40 constexpr SkColor gColors[] = { variable 67 { 2, gColors, gColors4f, nullptr }, 68 { 2, gColors, gColors4f, gPos0 }, 69 { 2, gColors, gColors4f, gPos1 }, 70 { 5, gColors, gColors4f, nullptr }, 71 { 5, gColors, gColors4f, gPos2 }, 482 SkIntToScalar(200), gColors, nullptr, 5, in onDraw() 644 std::size(gColors), SkTileMode::kClamp); in onOnceBeforeDraw() 692 std::size(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
|
D | gradients_2pt_conical.cpp | 32 constexpr SkColor gColors[] = { variable 47 { 2, gColors, gPos0 }, 48 { 2, gColors, gPos1 }, 49 { 5, gColors, gPos2 },
|
D | dashing.cpp | 422 constexpr SkColor gColors[kIntervalLength] = { in onDraw() local 449 paint.setColor(gColors[phase]); in onDraw() 460 paint.setColor(gColors[phase]); in onDraw()
|
/external/skia/tools/viewer/ |
D | ChartSlide.cpp | 117 static SkColor gColors[kNumGraphs] = { 0x0 }; in draw() local 118 if (0 == gColors[0]) { in draw() 120 gColors[i] = colorRand.nextU() | 0xff000000; in draw() 149 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in draw() 152 plotPaint.setColor(gColors[i]); in draw()
|
D | SlidesSlide.cpp | 159 static const SkColor gColors[] = { variable 169 { 2, gColors, nullptr }, 170 { 2, gColors, gPos0 }, 171 { 2, gColors, gPos1 }, 172 { 5, gColors, nullptr }, 173 { 5, gColors, gPos2 }
|
/external/skia/tests/ |
D | TextureStripAtlasManagerTest.cpp | 42 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local 52 gColors, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
|
D | GradientTest.cpp | 210 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; in TestGradientShaders() local 219 rec.fColorCount = std::size(gColors); in TestGradientShaders() 220 rec.fColors = gColors; in TestGradientShaders()
|
/external/skia/bench/ |
D | GradientBench.cpp | 25 static const SkColor gColors[] = { variable 44 { 2, gColors, nullptr, "" }, 45 { 50, gColors, nullptr, "_hicolor" }, // many color gradient 46 { 3, gColors, nullptr, "_3color" }, 48 { 2, gColors, gPos, "_pos" },
|