Home
last modified time | relevance | path

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

/external/skia/gm/
Dtexturedomaineffect.cpp58 SkColor colors2[] = { SK_ColorMAGENTA, SK_ColorLTGRAY, SK_ColorYELLOW }; in onOnceBeforeDraw() local
59 paint.setShader(SkGradientShader::CreateSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
60 SK_ARRAY_COUNT(colors2)))->unref(); 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 SkAutoTUnref<SkShader> gradient2(SkGradientShader::CreateLinear(pts2, colors2, pos2, in draw_vector_logo()
Dgradients.cpp420 const SkColor colors2[] = { 0xFF000000, 0x00000000 }; in onDraw() local
441 SkGradientShader::CreateRadial(center, radius, colors2, in onDraw()
442 nullptr, SK_ARRAY_COUNT(colors2), in onDraw()
/external/libgdx/tests/gdx-tests-android/assets/data/
Dtest.p100 colors2: 1.0
240 colors2: 0.0
390 colors2: 1.0
542 colors2: 0.0
DsingleTextureAllAdditive.p123 colors2: 1.0
275 colors2: 0.0
427 colors2: 0.36078432
/external/skia/samplecode/
DSampleAll.cpp509 SkColor colors2[] = {SK_ColorBLACK, SkColorSetARGB(0x80, 0, 0, 0)}; in shaderTest() local
510 SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors2, nullptr, in shaderTest()