Home
last modified time | relevance | path

Searched refs:kColors (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dtransparency.cpp18 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()
Dconstcolorprocessor.cpp58 static const GrColor kColors[] = { in onDraw() local
83 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()
Dcoloremoji.cpp25 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()
Dxfermodes3.cpp203 static const SkColor kColors[] = { SK_ColorTRANSPARENT, 0x80800000, in onOnceBeforeDraw() local
207 kColors, in onOnceBeforeDraw()
209 SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()