/third_party/skia/gm/ |
D | fillrect_gradient.cpp | 100 {{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()
|
D | gradient_dirty_laundry.cpp | 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, 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,
|
D | daa.cpp | 31 paint.setColor(SK_ColorRED); 50 paint.setColor(SK_ColorRED); 72 paint.setColor(SK_ColorRED); 91 paint.setColor(SK_ColorRED); 110 paint.setColor(SK_ColorRED);
|
D | patch.cpp | 27 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,
|
D | backdrop.cpp | 29 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()
|
D | blend.cpp | 22 p.setColor(SK_ColorRED); 27 p.setColor(SK_ColorRED); 34 p.setColor(SK_ColorRED);
|
D | surface.cpp | 144 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};
|
D | colorfilterimagefilter.cpp | 69 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/ |
D | gradient_dirty_laundry.cpp | 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, 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,
|
D | backdrop.cpp | 28 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()
|
D | daa.cpp | 31 paint.setColor(SK_ColorRED); 50 paint.setColor(SK_ColorRED); 78 paint.setColor(SK_ColorRED); 100 paint.setColor(SK_ColorRED); 122 paint.setColor(SK_ColorRED);
|
D | blend.cpp | 22 p.setColor(SK_ColorRED); 27 p.setColor(SK_ColorRED); 34 p.setColor(SK_ColorRED);
|
D | patch.cpp | 27 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,
|
D | perspshaders.cpp | 36 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()
|
D | gradients.cpp | 40 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/ |
D | GradientBench.cpp | 26 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/ |
D | GradientBench.cpp | 26 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/ |
D | CCTonerEffect.cpp | 116 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/ |
D | Paint_copy_operator.cpp | 8 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()
|
D | picture_shader.cpp | 28 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/ |
D | Paint_copy_operator.cpp | 8 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/ |
D | PDFDocumentTest.cpp | 34 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()
|
D | SkParagraphTest.cpp | 216 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 …]
|
D | SpecialImageTest.cpp | 45 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/ |
D | PDFDocumentTest.cpp | 35 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()
|