/external/skia/src/utils/ |
D | SkParseColor.cpp | 156 } gColors[] = { variable 313 *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, SK_ARRAY_COUNT(gColors), in make_linear_gradient() 74 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_radial_gradient()
|
D | imagesource2.cpp | 46 constexpr SkPMColor gColors[] = { in onOnceBeforeDraw() local 65 p.setColor(gColors[curColor]); in onOnceBeforeDraw() 68 curColor = (curColor+1) % SK_ARRAY_COUNT(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 = SK_ARRAY_COUNT(gColors); in onDraw() 141 quadColors[i] = gColors[i]; in onDraw()
|
D | gradients.cpp | 39 constexpr SkColor gColors[] = { variable 66 { 2, gColors, gColors4f, nullptr }, 67 { 2, gColors, gColors4f, gPos0 }, 68 { 2, gColors, gColors4f, gPos1 }, 69 { 5, gColors, gColors4f, nullptr }, 70 { 5, gColors, gColors4f, gPos2 }, 481 SkIntToScalar(200), gColors, nullptr, 5, in onDraw() 604 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; in onOnceBeforeDraw() local 605 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw() 643 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw() [all …]
|
D | gradient_dirty_laundry.cpp | 31 constexpr SkColor gColors[] = { variable 45 { 40, gColors, nullptr },
|
D | gradients_2pt_conical.cpp | 32 constexpr SkColor gColors[] = { variable 47 { 2, gColors, gPos0 }, 48 { 2, gColors, gPos1 }, 49 { 5, gColors, gPos2 },
|
/external/skqp/gm/ |
D | gradient_matrix.cpp | 22 constexpr SkColor gColors[] = { variable 65 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_linear_gradient() 74 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() 133 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i])); in draw4x1() 223 paint->setColorFilter(SkColorFilter::MakeModeFilter(gColors[i], SkBlendMode::kSrcIn)); in create4Looper() 239 const SkColor MegaLooperGM::gColors[4] = { member in MegaLooperGM
|
D | gradients_no_texture.cpp | 18 constexpr SkColor gColors[] = { variable 23 { 1, gColors, nullptr }, 24 { 2, gColors, nullptr }, 25 { 3, gColors, nullptr }, 26 { 4, gColors, nullptr },
|
D | drawatlascolor.cpp | 107 SkColor gColors[] = { in onDraw() local 116 const int numColors = SK_ARRAY_COUNT(gColors); in onDraw() 128 quadColors[i] = gColors[i]; in onDraw()
|
D | gradientDirtyLaundry.cpp | 18 constexpr SkColor gColors[] = { variable 32 { 40, gColors, nullptr },
|
D | gradients.cpp | 20 constexpr SkColor gColors[] = { variable 47 { 2, gColors, gColors4f, nullptr }, 48 { 2, gColors, gColors4f, gPos0 }, 49 { 2, gColors, gColors4f, gPos1 }, 50 { 5, gColors, gColors4f, nullptr }, 51 { 5, gColors, gColors4f, gPos2 }, 489 SkIntToScalar(200), gColors, nullptr, 5, in onDraw() 627 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; in onOnceBeforeDraw() local 628 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw() 666 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode); in onOnceBeforeDraw() [all …]
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 115 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local 116 if (0 == gColors[0]) { in onDrawContent() 118 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent() 147 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent() 150 plotPaint.setColor(gColors[i]); in onDrawContent()
|
D | SampleSlides.cpp | 160 static const SkColor gColors[] = { variable 170 { 2, gColors, nullptr }, 171 { 2, gColors, gPos0 }, 172 { 2, gColors, gPos1 }, 173 { 5, gColors, nullptr }, 174 { 5, gColors, gPos2 }
|
/external/skqp/samplecode/ |
D | SampleChart.cpp | 123 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local 124 if (0 == gColors[0]) { in onDrawContent() 126 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent() 156 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent() 159 plotPaint.setColor(gColors[i]); in onDrawContent()
|
D | SampleGradients.cpp | 47 static const SkColor gColors[] = { variable 57 { 2, gColors, nullptr }, 58 { 2, gColors, gPos0 }, 59 { 2, gColors, gPos1 }, 60 { 5, gColors, nullptr }, 61 { 5, gColors, gPos2 }
|
D | SampleColorFilter.cpp | 169 static const SkColor gColors[] = { in onDrawContent() local 181 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) { in onDrawContent() 183 paint.setColorFilter(SkColorFilter::MakeModeFilter(gColors[y], gModes[x])); in onDrawContent()
|
D | SampleSlides.cpp | 161 static const SkColor gColors[] = { variable 171 { 2, gColors, nullptr }, 172 { 2, gColors, gPos0 }, 173 { 2, gColors, gPos1 }, 174 { 5, gColors, nullptr }, 175 { 5, gColors, gPos2 }
|
/external/skqp/tests/ |
D | TextureStripAtlasManagerTest.cpp | 23 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 33 gColors, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | TextureStripAtlasManagerTest.cpp | 24 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 34 gColors, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/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" },
|
/external/skqp/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" },
|