Home
last modified time | relevance | path

Searched refs:SK_ColorRED (Results 1 – 25 of 812) sorted by relevance

12345678910>>...33

/third_party/skia/gm/
Dfillrect_gradient.cpp100 {{0.0f, SK_ColorGREEN}, {0.5f, SK_ColorWHITE}, {1.0f, SK_ColorRED}}); in onDraw()
104 {{0.4f, SK_ColorGREEN}, {0.5f, SK_ColorWHITE}, {0.6f, SK_ColorRED}}); in onDraw()
107 this->drawGradient(canvas, {{0.0f, SK_ColorRED}}); in onDraw()
110 this->drawGradient(canvas, {{1.0f, SK_ColorRED}}); in onDraw()
113 this->drawGradient(canvas, {{0.5f, SK_ColorRED}}); in onDraw()
120 {0.5f, SK_ColorRED}, in onDraw()
129 {0.5f, SK_ColorRED}, in onDraw()
139 {0.5f, SK_ColorRED}, in onDraw()
Dgradient_dirty_laundry.cpp32 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
33 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
35 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
36 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
37 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
38 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
39 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
Ddaa.cpp31 paint.setColor(SK_ColorRED);
50 paint.setColor(SK_ColorRED);
72 paint.setColor(SK_ColorRED);
91 paint.setColor(SK_ColorRED);
110 paint.setColor(SK_ColorRED);
Dpatch.cpp27 SK_ColorRED, SK_ColorCYAN, SK_ColorGREEN, SK_ColorWHITE, SK_ColorMAGENTA, SK_ColorBLUE, in make_shader()
63 paint.setColor(SK_ColorRED); in draw_control_points()
158 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
164 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
170 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
179 SK_ColorRED, 0x0000FF00, SK_ColorBLUE, 0x00FF00FF,
Dbackdrop.cpp29 SK_ColorRED, SK_ColorRED, SK_ColorBLUE, SK_ColorBLUE, SK_ColorGREEN, SK_ColorGREEN, in make_shader()
30 SK_ColorRED, SK_ColorRED, SK_ColorBLUE, SK_ColorBLUE, SK_ColorGREEN, SK_ColorGREEN, in make_shader()
Dblend.cpp22 p.setColor(SK_ColorRED);
27 p.setColor(SK_ColorRED);
34 p.setColor(SK_ColorRED);
Dsurface.cpp144 canvas->drawColor(SK_ColorRED); in drawInto()
245 surf->getCanvas()->clear(SK_ColorRED);
269 surf->getCanvas()->clear(SK_ColorRED);
283 surf->getCanvas()->clear(SK_ColorRED);
294 surf->getCanvas()->clear(SK_ColorRED);
304 surf->getCanvas()->clear(SK_ColorRED);
331 SkColor colors[] = {SK_ColorRED, SK_ColorBLUE};
Dcolorfilterimagefilter.cpp69 const SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; in sh_make_lineargradient0()
75 const SkColor colors[] = { SK_ColorRED, 0x0000FF00, SK_ColorBLUE }; in sh_make_lineargradient1()
132 paint.setColor(SK_ColorRED);
194 canvas->clear(SK_ColorRED);
211 const SkColor colors[] = { SK_ColorRED, SK_ColorBLUE };
/third_party/flutter/skia/gm/
Dgradient_dirty_laundry.cpp32 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
33 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
35 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
36 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
37 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
38 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
39 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
Dbackdrop.cpp28 SK_ColorRED, SK_ColorRED, SK_ColorBLUE, SK_ColorBLUE, SK_ColorGREEN, SK_ColorGREEN, in make_shader()
29 SK_ColorRED, SK_ColorRED, SK_ColorBLUE, SK_ColorBLUE, SK_ColorGREEN, SK_ColorGREEN, in make_shader()
Ddaa.cpp31 paint.setColor(SK_ColorRED);
50 paint.setColor(SK_ColorRED);
78 paint.setColor(SK_ColorRED);
100 paint.setColor(SK_ColorRED);
122 paint.setColor(SK_ColorRED);
Dblend.cpp22 p.setColor(SK_ColorRED);
27 p.setColor(SK_ColorRED);
34 p.setColor(SK_ColorRED);
Dpatch.cpp27 SK_ColorRED, SK_ColorCYAN, SK_ColorGREEN, SK_ColorWHITE, SK_ColorMAGENTA, SK_ColorBLUE, in make_shader()
63 paint.setColor(SK_ColorRED); in draw_control_points()
157 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
163 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
169 SK_ColorRED, 0x0000FF00, SK_ColorBLUE, 0x00FF00FF,
Dperspshaders.cpp36 ToolUtils::draw_checkerboard(canvas, SK_ColorRED, SK_ColorGREEN, w / 10); in make_image()
72 SK_ColorRED, SK_ColorGREEN, SK_ColorRED, SK_ColorGREEN, SK_ColorRED in onOnceBeforeDraw()
Dgradients.cpp40 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK
57 SK_ColorRED, SK_ColorGREEN, SK_ColorGREEN, SK_ColorBLUE
398 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorGREEN, SK_ColorRED }; in onDraw()
438 SkColor colors[] = { SK_ColorGREEN, SK_ColorRED, SK_ColorYELLOW };
639 const SkColor colors[] = { SK_ColorRED, SK_ColorRED, SK_ColorWHITE, SK_ColorWHITE, in onOnceBeforeDraw()
640 SK_ColorRED }; in onOnceBeforeDraw()
725 const SkColor colors[kStopCount] = { SK_ColorGREEN, SK_ColorRED, SK_ColorGREEN }; in onDraw()
860 case 0: colors[i] = SK_ColorRED; break; in draw_many_stops()
864 case 4: colors[i] = SK_ColorRED; break; in draw_many_stops()
1023 static const SkColor colors2[] = { SK_ColorRED, SK_ColorBLUE };
[all …]
/third_party/flutter/skia/bench/
DGradientBench.cpp26 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
27 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
28 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
29 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
30 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
31 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
32 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
33 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
35 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
/third_party/skia/bench/
DGradientBench.cpp26 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
27 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
28 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
29 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
30 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
31 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
32 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
33 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK,
35 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
/third_party/skia/modules/skottie/src/effects/
DCCTonerEffect.cpp116 sksg::Color::Make(SK_ColorRED), in attachCCTonerEffect()
117 sksg::Color::Make(SK_ColorRED), in attachCCTonerEffect()
118 sksg::Color::Make(SK_ColorRED), in attachCCTonerEffect()
119 sksg::Color::Make(SK_ColorRED), in attachCCTonerEffect()
120 sksg::Color::Make(SK_ColorRED) in attachCCTonerEffect()
/third_party/skia/docs/examples/
DPaint_copy_operator.cpp8 paint1.setColor(SK_ColorRED); in draw()
10 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!'); in draw()
11 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!'); in draw()
Dpicture_shader.cpp28 const SkColor sweep_colors[] = {SK_ColorRED, SK_ColorYELLOW, SK_ColorGREEN, SK_ColorCYAN, in draw_wheel()
29 SK_ColorBLUE, SK_ColorMAGENTA, SK_ColorRED}; in draw_wheel()
40 draw_centered("R", f, SK_ColorRED, from_polar_deg(0.3f * scale, 90), c); in draw_wheel()
/third_party/flutter/skia/docs/examples/
DPaint_copy_operator.cpp8 paint1.setColor(SK_ColorRED); in draw()
10 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!'); in draw()
11 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!'); in draw()
/third_party/flutter/skia/tests/
DPDFDocumentTest.cpp34 canvas->drawColor(SK_ColorRED); in test_abort()
63 canvas->drawColor(SK_ColorRED); in test_abortWithFile()
94 canvas->drawColor(SK_ColorRED); in test_file()
112 canvas->drawColor(SK_ColorRED); in test_close()
163 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST()
182 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST()
DSkParagraphTest.cpp216 text_style.setColor(SK_ColorRED); in DEF_TEST()
234 REPORTER_ASSERT(reporter, style.getColor() == SK_ColorRED); in DEF_TEST()
268 text_style1.setColor(SK_ColorRED); in DEF_TEST()
409 text_style.setColor(SK_ColorRED); in DEF_TEST()
479 paint.setColor(SK_ColorRED); in DEF_TEST()
481 canvas.drawRects(SK_ColorRED, boxes); in DEF_TEST()
800 canvas.drawRects(SK_ColorRED, boxes); in DEF_TEST()
890 canvas.drawRects(SK_ColorRED, boxes); in DEF_TEST()
949 text_style.setDecorationColor(SK_ColorRED); in DEF_TEST()
1002 REPORTER_ASSERT(reporter, style.getDecorationColor() == SK_ColorRED); in DEF_TEST()
[all …]
DSpecialImageTest.cpp45 p.setColor(SK_ColorRED); in create_bm()
101 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad)); in test_image()
102 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
294 p.setColor(SK_ColorRED); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
315 REPORTER_ASSERT(reporter, redBM.getColor(0, 0) == SK_ColorRED, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
316 "0x%08x != 0x%08x", redBM.getColor(0, 0), SK_ColorRED); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/
DPDFDocumentTest.cpp35 canvas->drawColor(SK_ColorRED); in test_abort()
64 canvas->drawColor(SK_ColorRED); in test_abortWithFile()
95 canvas->drawColor(SK_ColorRED); in test_file()
113 canvas->drawColor(SK_ColorRED); in test_close()
164 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST()
183 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST()

12345678910>>...33