Searched refs:kColors (Results 1 – 6 of 6) sorted by relevance
/external/skia/gm/ |
D | transparency.cpp | 18 const SkColor kColors[] = { in make_transparency() local 29 const SkScalar kRowHeight = height / SK_ARRAY_COUNT(kColors); in make_transparency() 30 for (size_t i = 0; i < SK_ARRAY_COUNT(kColors); ++i) { in make_transparency() 33 shaderColors[1] = kColors[i]; in make_transparency()
|
D | constcolorprocessor.cpp | 66 static const GrColor kColors[] = { in onDraw() local 91 for (size_t procColor = 0; procColor < SK_ARRAY_COUNT(kColors); ++procColor) { in onDraw() 111 GrColor color = kColors[procColor]; in onDraw() 137 procLabel.printf("Proc: [0x%08x, %s]", kColors[procColor], kModeStrs[m]); in onDraw()
|
D | imagetoyuvplanes.cpp | 28 static const SkColor kColors[] = in create_image() local 31 paint.setShader(SkGradientShader::CreateRadial(SkPoint::Make(0,0), r, kColors, in create_image() 32 nullptr, SK_ARRAY_COUNT(kColors), in create_image()
|
D | coloremoji.cpp | 25 static const SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 }; in MakeLinear() local 26 return SkGradientShader::CreateLinear(kPts, kColors, kPos, in MakeLinear() 27 SK_ARRAY_COUNT(kColors), SkShader::kClamp_TileMode); in MakeLinear()
|
D | imagefromyuvtextures.cpp | 41 static const SkColor kColors[] = in onOnceBeforeDraw() local 43 paint.setShader(SkGradientShader::CreateRadial(SkPoint::Make(0,0), kBmpSize / 2.f, kColors, in onOnceBeforeDraw() 44 nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | xfermodes3.cpp | 195 static const SkColor kColors[] = { SK_ColorTRANSPARENT, 0x80800000, in onOnceBeforeDraw() local 199 kColors, in onOnceBeforeDraw() 201 SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|