Home
last modified time | relevance | path

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

/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
H A DAnimationActivity.java39 int[] colors2 = { in onSurfaceInitialized()
50 colors2, pos, TileMode.REPEAT); in onSurfaceInitialized()
54 mSweepGradient = new SweepGradient(sw/2, sh/4, 0, 90, colors2, pos, TileMode.REPEAT); in onSurfaceInitialized()
/third_party/skia/gm/
H A 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()
H A 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()
H A Dgradients.cpp545 const SkColor colors2[] = { 0xFF000000, 0x00000000 }; variable
563 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2,
564 nullptr, SK_ARRAY_COUNT(colors2),
900 SkColor colors2[] = { 0xff000000, 0xff000000, in DEF_SIMPLE_GM()
905 static_assert(SK_ARRAY_COUNT(colors2) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in DEF_SIMPLE_GM()
918 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in DEF_SIMPLE_GM()
1023 static const SkColor colors2[] = { SK_ColorRED, SK_ColorBLUE }; in DEF_SIMPLE_GM() local
1037 { colors2, nullptr, 2 }, // kTwo_ColorType in DEF_SIMPLE_GM()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DSimpleOperationTest.cpp827 std::vector<GLColor> colors2; in TEST_P() local
832 colors2.push_back(baseColors2[index]); in TEST_P()
843 glBufferData(GL_ARRAY_BUFFER, colors2.size() * sizeof(GLColor), colors2.data(), GL_STATIC_DRAW); in TEST_P()

Completed in 5 milliseconds