Home
last modified time | relevance | path

Searched refs:kColors (Results 1 – 6 of 6) 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.cpp66 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()
Dimagetoyuvplanes.cpp28 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()
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()
Dimagefromyuvtextures.cpp41 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()
Dxfermodes3.cpp195 static const SkColor kColors[] = { SK_ColorTRANSPARENT, 0x80800000, in onOnceBeforeDraw() local
199 kColors, in onOnceBeforeDraw()
201 SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()