Home
last modified time | relevance | path

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

/external/skia/gm/
Dhighcontrastfilter.cpp97 SkColor colors2[] = { SK_ColorGREEN, SK_ColorWHITE }; in draw_scene() local
99 pts, colors2, pos, in draw_scene()
100 SK_ARRAY_COUNT(colors2), SkTileMode::kClamp)); in draw_scene()
Dpictureimagegenerator.cpp100 const SkColor colors2[] = { in draw_vector_logo() local
110 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); in draw_vector_logo()
111 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2), in draw_vector_logo()
Dgradients.cpp545 const SkColor colors2[] = { 0xFF000000, 0x00000000 }; in onDraw() local
563 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, in onDraw()
564 nullptr, SK_ARRAY_COUNT(colors2), in onDraw()
900 SkColor colors2[] = { 0xff000000, 0xff000000, in __anon1de21a9d0302() local
905 static_assert(SK_ARRAY_COUNT(colors2) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon1de21a9d0302()
918 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in __anon1de21a9d0302()
1023 static const SkColor colors2[] = { SK_ColorRED, SK_ColorBLUE }; variable
1037 { colors2, nullptr, 2 }, // kTwo_ColorType
/external/skqp/gm/
Dhighcontrastfilter.cpp80 SkColor colors2[] = { SK_ColorGREEN, SK_ColorWHITE }; in draw_scene() local
82 pts, colors2, pos, in draw_scene()
83 SK_ARRAY_COUNT(colors2), SkShader::kClamp_TileMode)); in draw_scene()
Dtexturedomaineffect.cpp68 SkColor colors2[] = { SK_ColorMAGENTA, SK_ColorLTGRAY, SK_ColorYELLOW }; in onOnceBeforeDraw() local
69 paint.setShader(SkGradientShader::MakeSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
70 SK_ARRAY_COUNT(colors2))); in onOnceBeforeDraw()
Dpictureimagegenerator.cpp83 const SkColor colors2[] = { in draw_vector_logo() local
93 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); in draw_vector_logo()
94 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2), in draw_vector_logo()
Dgradients.cpp568 const SkColor colors2[] = { 0xFF000000, 0x00000000 }; in onDraw() local
586 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, in onDraw()
587 nullptr, SK_ARRAY_COUNT(colors2), in onDraw()
940 SkColor colors2[] = { 0xff000000, 0xff000000, in __anon98014c940202() local
945 static_assert(SK_ARRAY_COUNT(colors2) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon98014c940202()
958 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in __anon98014c940202()
1064 static const SkColor colors2[] = { SK_ColorRED, SK_ColorBLUE }; variable
1078 { colors2, nullptr, 2 }, // kTwo_ColorType
/external/angle/src/tests/gl_tests/
DSimpleOperationTest.cpp830 std::vector<GLColor> colors2; in TEST_P() local
835 colors2.push_back(baseColors2[index]); in TEST_P()
846 glBufferData(GL_ARRAY_BUFFER, colors2.size() * sizeof(GLColor), colors2.data(), GL_STATIC_DRAW); in TEST_P()