Home
last modified time | relevance | path

Searched refs:colors2 (Results 1 – 5 of 5) sorted by relevance

/external/skia/gm/
Dhighcontrastfilter.cpp75 SkColor colors2[] = { SK_ColorGREEN, SK_ColorWHITE }; in draw_scene() local
77 pts, colors2, pos, in draw_scene()
78 SK_ARRAY_COUNT(colors2), SkShader::kClamp_TileMode)); in draw_scene()
Dtexturedomaineffect.cpp60 SkColor colors2[] = { SK_ColorMAGENTA, SK_ColorLTGRAY, SK_ColorYELLOW }; in onOnceBeforeDraw() local
61 paint.setShader(SkGradientShader::MakeSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
62 SK_ARRAY_COUNT(colors2))); in onOnceBeforeDraw()
Dpictureimagegenerator.cpp80 const SkColor colors2[] = { in draw_vector_logo() local
90 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); in draw_vector_logo()
91 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2), in draw_vector_logo()
Dgradients.cpp569 const SkColor colors2[] = { 0xFF000000, 0x00000000 }; in onDraw() local
587 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, in onDraw()
588 nullptr, SK_ARRAY_COUNT(colors2), in onDraw()
954 SkColor colors2[] = { 0xff000000, 0xff000000, in __anon178efadc0202() local
959 static_assert(SK_ARRAY_COUNT(colors2) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon178efadc0202()
972 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in __anon178efadc0202()
/external/skia/samplecode/
DSampleAll.cpp463 SkColor colors2[] = {SK_ColorBLACK, SkColorSetARGB(0x80, 0, 0, 0)}; in shaderTest() local
464 auto shaderB = SkGradientShader::MakeLinear(pts, colors2, nullptr, in shaderTest()