/external/skia/docs/examples/ |
D | Colors.cpp | 6 const struct { SkColor4f fColor; const char* fName; } kColors[] = { in draw() local 20 constexpr float kSize = 256.0f / (sizeof(kColors) / sizeof(kColors[0])); in draw() 22 for (const auto& c : kColors) { in draw()
|
D | Color_Wheel.cpp | 16 static const SkColor4f kColors[kColorCount] = { in draw_color_wheel() local 19 sweep.setShader(SkGradientShader::MakeSweep(0, 0, kColors, nullptr, nullptr, in draw_color_wheel()
|
/external/tensorflow/tensorflow/core/graph/ |
D | colors.cc | 25 static const char* kColors[] = { variable 38 return kColors[dindex % TF_ARRAYSIZE(kColors)]; in ColorFor()
|
/external/skia/gm/ |
D | transparency.cpp | 27 const SkColor kColors[] = { in make_transparency() local 38 const SkScalar kRowHeight = height / SK_ARRAY_COUNT(kColors); in make_transparency() 39 for (size_t i = 0; i < SK_ARRAY_COUNT(kColors); ++i) { in make_transparency() 42 shaderColors[1] = kColors[i]; in make_transparency()
|
D | constcolorprocessor.cpp | 73 constexpr GrColor kColors[] = { in onDraw() local 98 for (size_t procColor = 0; procColor < SK_ARRAY_COUNT(kColors); ++procColor) { in onDraw() 119 SkPMColor4f color = SkPMColor4f::FromBytes_RGBA(kColors[procColor]); in onDraw() 143 procLabel.printf("Proc: [0x%08x, %s]", kColors[procColor], kModeStrs[m]); in onDraw()
|
D | stroke_rect_shader.cpp | 31 constexpr SkColor kColors[] {SK_ColorRED, SK_ColorBLUE}; variable 33 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | coloremoji.cpp | 42 constexpr SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 }; in MakeLinear() local 43 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | xfermodes3.cpp | 193 const SkColor kColors[] = { in onOnceBeforeDraw() local 197 kColors, nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | imagefromyuvtextures.cpp | 70 constexpr SkColor kColors[] = in onOnceBeforeDraw() local 72 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(0,0), kBmpSize / 2.f, kColors, in onOnceBeforeDraw() 73 nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | crbug_224618.cpp | 39 static const SkColor kColors[2] = {SK_ColorTRANSPARENT, SkColorSetARGB(128, 255, 255, 255)}; in onOnceBeforeDraw() local 41 {200.f, 200.f}, 25.f, kColors, nullptr, 2, SkTileMode::kMirror, in onOnceBeforeDraw()
|
D | skinning.cpp | 44 static const SkColor kColors[] = { variable 111 kColors, in onOnceBeforeDraw()
|
D | compressed_textures.cpp | 113 static const SkColor kColors[] = { in make_compressed_data() local 126 SkBitmap bm = render_level(dimensions, kColors[i%7], colorType, opaque); in make_compressed_data() 137 GrTwoColorBC1Compress(bm.pixmap(), kColors[i%7], &pixels[offset]); in make_compressed_data()
|
D | drawimageset.cpp | 111 static constexpr SkColor kColors[] = {SK_ColorCYAN, SK_ColorBLACK, in onOnceBeforeDraw() local 113 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 213 static constexpr SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE, in onOnceBeforeDraw() local 215 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
|
/external/skqp/gm/ |
D | transparency.cpp | 16 const SkColor kColors[] = { in make_transparency() local 27 const SkScalar kRowHeight = height / SK_ARRAY_COUNT(kColors); in make_transparency() 28 for (size_t i = 0; i < SK_ARRAY_COUNT(kColors); ++i) { in make_transparency() 31 shaderColors[1] = kColors[i]; in make_transparency()
|
D | constcolorprocessor.cpp | 60 constexpr GrColor kColors[] = { in onDraw() local 85 for (size_t procColor = 0; procColor < SK_ARRAY_COUNT(kColors); ++procColor) { in onDraw() 106 SkPMColor4f color = SkPMColor4f::FromBytes_RGBA(kColors[procColor]); in onDraw() 130 procLabel.printf("Proc: [0x%08x, %s]", kColors[procColor], kModeStrs[m]); in onDraw()
|
D | stroke_rect_shader.cpp | 19 constexpr SkColor kColors[] {SK_ColorRED, SK_ColorBLUE}; variable 21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | coloremoji.cpp | 28 constexpr SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 }; in MakeLinear() local 29 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | xfermodes3.cpp | 177 const SkColor kColors[] = { in onOnceBeforeDraw() local 181 kColors, nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | imagefromyuvtextures.cpp | 41 constexpr SkColor kColors[] = in onOnceBeforeDraw() local 43 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(0,0), kBmpSize / 2.f, kColors, in onOnceBeforeDraw() 44 nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | skinning.cpp | 39 static const SkColor kColors[] = { variable 106 kColors, in onOnceBeforeDraw()
|
D | drawimageset.cpp | 91 static constexpr SkColor kColors[] = {SK_ColorCYAN, SK_ColorBLACK, in onOnceBeforeDraw() local 93 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 180 static constexpr SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE, in onOnceBeforeDraw() local 182 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
|
/external/skia/bench/ |
D | ClearBench.cpp | 25 static const SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE}; in make_shader() local 26 return SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, SkTileMode::kClamp); in make_shader()
|
/external/skqp/bench/ |
D | ClearBench.cpp | 25 static const SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE}; in make_shader() local 26 return SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader()
|
/external/skqp/modules/skottie/gm/ |
D | SkottieGM.cpp | 135 static constexpr SkColor kColors[] = { in onHandleKey() local 144 fColorIndex = (fColorIndex + 1) % SK_ARRAY_COUNT(kColors); in onHandleKey() 146 fPropManager->setColor(prop, kColors[fColorIndex]); in onHandleKey()
|
/external/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 134 static constexpr SkColor kColors[] = { in onChar() local 143 fColorIndex = (fColorIndex + 1) % SK_ARRAY_COUNT(kColors); in onChar() 145 fPropManager->setColor(prop, kColors[fColorIndex]); in onChar()
|