/third_party/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 | lighting.cpp | 109 pointLocation, SK_ColorWHITE, surfaceScale, kd, input, cr)); in onDraw() 113 distantDirection, SK_ColorWHITE, surfaceScale, kd, input, cr)); in onDraw() 117 spotLocation, spotTarget, spotExponent1, cutoffAngleSmall, SK_ColorWHITE, in onDraw() 123 spotLocation, spotTarget, spotExponent10, cutoffAngleNone, SK_ColorWHITE, in onDraw() 129 spotLocation, spotTarget, spotExponent1, cutoffAngleNone, SK_ColorWHITE, in onDraw() 142 pointLocation, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw() 146 distantDirection, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw() 150 spotLocation, spotTarget, spotExponent1, cutoffAngleSmall, SK_ColorWHITE, in onDraw() 156 spotLocation, spotTarget, spotExponent10, cutoffAngleNone, SK_ColorWHITE, in onDraw() 162 spotLocation, spotTarget, spotExponent1, cutoffAngleNone, SK_ColorWHITE, in onDraw()
|
D | fillrect_gradient.cpp | 96 this->drawGradient(canvas, {{0.0f, SK_ColorGREEN}, {1.0f, SK_ColorWHITE}}); in onDraw() 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() 119 {0.5f, SK_ColorWHITE}, in onDraw() 126 {0.5f, SK_ColorWHITE}, in onDraw() 135 {{0.5f, SK_ColorWHITE}, in onDraw()
|
D | gradients_no_texture.cpp | 34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, 198 SK_ColorBLACK, SK_ColorWHITE, SK_ColorBLACK, SK_ColorWHITE, in make1() 199 SK_ColorBLACK, SK_ColorWHITE, SK_ColorBLACK, SK_ColorWHITE, in make1() 207 SK_ColorBLACK, SK_ColorWHITE, SK_ColorBLACK, SK_ColorWHITE, in make2() 208 SK_ColorBLACK, SK_ColorWHITE, SK_ColorBLACK, SK_ColorWHITE, in make2()
|
D | gm.h | 39 DEF_SIMPLE_GM_BG_NAME(NAME, CANVAS, W, H, SK_ColorWHITE, SkString(#NAME)) 51 DEF_SIMPLE_GM_BG_NAME_CAN_FAIL(NAME, CANVAS, ERR_MSG, W, H, SK_ColorWHITE, SkString(#NAME)) 63 DEF_SIMPLE_GPU_GM_BG(NAME, GR_CONTEXT, CANVAS, W, H, SK_ColorWHITE) 74 DEF_SIMPLE_GPU_GM_BG_CAN_FAIL(NAME, GR_CONTEXT, CANVAS, ERR_MSG, W, H, SK_ColorWHITE) 96 GM(SkColor backgroundColor = SK_ColorWHITE); 198 GpuGM(SkColor backgroundColor = SK_ColorWHITE) : GM(backgroundColor) {} in GM()
|
D | lcdblendmodes.cpp | 61 fCheckerboard = ToolUtils::create_checkerboard_shader(SK_ColorBLACK, SK_ColorWHITE, 4); in onOnceBeforeDraw() 79 this->drawColumn(surfCanvas, SK_ColorBLACK, SK_ColorWHITE, false); in onDraw() 81 this->drawColumn(surfCanvas, SK_ColorWHITE, SK_ColorBLACK, false); in onDraw()
|
D | mac_aa_explorer.cpp | 138 SK_ColorBLACK, SK_ColorWHITE, 140 SK_ColorWHITE, SK_ColorBLACK, 141 SK_ColorWHITE, GRAY,
|
D | imagefiltersclipped.cpp | 45 colors[0] = SK_ColorWHITE; in make_gradient_circle() 57 paint.setColor(SK_ColorWHITE); in draw_clipped_filter() 114 SkImageFilters::PointLitDiffuse(pointLocation, SK_ColorWHITE, SK_Scalar1, in onDraw()
|
D | filterbug.cpp | 30 bm.eraseColor(SK_ColorWHITE); in make_image() 80 p2.setColor(SK_ColorWHITE); in onDraw()
|
/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 [all …]
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 74 gParagraph = {{"monospace", true, false, 14, SK_ColorWHITE, SK_ColorRED, true, in drawTest() 76 {"Assyrian", false, false, 20, SK_ColorWHITE, SK_ColorBLUE, false, in drawTest() 78 {"serif", true, true, 10, SK_ColorWHITE, SK_ColorRED, true, in drawTest() 82 {"sans-serif", false, false, 8, SK_ColorWHITE, SK_ColorRED, false, in drawTest() 87 canvas->drawColor(SK_ColorWHITE); in drawTest() 166 drawTest(canvas, this->width(), this->height(), SK_ColorRED, SK_ColorWHITE); in onDrawContent() 195 white.setColor(SK_ColorWHITE); in drawCode() 252 SkColor fg = SK_ColorDKGRAY, SkColor bg = SK_ColorWHITE, in drawText() 314 canvas->drawColor(SK_ColorWHITE); in drawLine() 401 drawText(canvas, width, height, long_word, SK_ColorBLACK, SK_ColorWHITE, "Google Sans", 30); in onDrawContent() [all …]
|
/third_party/skia/tests/ |
D | FontMgrFontConfigTest.cpp | 54 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 59 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 95 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 98 canvasClone.drawColor(SK_ColorWHITE); in DEF_TEST()
|
D | DrawTextTest.cpp | 28 static const SkColor bgColor = SK_ColorWHITE; 92 drawTextCanvas.drawColor(SK_ColorWHITE); in DEF_TEST() 101 drawDashedTextCanvas.drawColor(SK_ColorWHITE); in DEF_TEST() 105 emptyCanvas.drawColor(SK_ColorWHITE); in DEF_TEST()
|
/third_party/skia/experimental/sktext/samples/ |
D | Text.cpp | 31 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 56 canvas->drawColor(SK_ColorWHITE); in drawLine() 129 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 160 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 174 canvas->drawColor(SK_ColorWHITE); in onDrawContent()
|
/third_party/skia/docs/examples/ |
D | Paint_setImageFilter.cpp | 13 paint.setColor(SK_ColorWHITE); 19 SK_ColorWHITE, 1, 2, nullptr, nullptr));
|
D | setimagefilter.cpp | 11 paint.setColor(SK_ColorWHITE); in draw() 16 SkPoint3::Make(80, 100, 10), SK_ColorWHITE, 1, 2, nullptr, nullptr)); in draw()
|
D | Canvas_drawImageRect_4.cpp | 7 uint32_t pixels[][2] = { { SK_ColorBLACK, SK_ColorWHITE }, in draw() 8 { SK_ColorWHITE, SK_ColorBLACK } }; in draw()
|
D | measure_text_bounds.cpp | 6 canvas->clear(SK_ColorWHITE); in draw() 21 paint.setColor(SK_ColorWHITE); in draw()
|
D | draw_patch.cpp | 7 canvas->clear(SK_ColorWHITE); in draw() 10 const SkColor colors[] = {SK_ColorRED, SK_ColorCYAN, SK_ColorGREEN, SK_ColorWHITE, in draw()
|
D | Canvas_SrcRectConstraint.cpp | 11 uint32_t checkers[][2] = { { SK_ColorBLACK, SK_ColorWHITE }, in draw() 12 { SK_ColorWHITE, SK_ColorBLACK } }; in draw()
|
D | 50_percent_srgb.cpp | 7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make() 16 canvas->drawColor(SK_ColorWHITE); in draw()
|
D | 50_percent_gray.cpp | 7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make_bw_dither() 16 canvas->drawColor(SK_ColorWHITE); in draw()
|
/third_party/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 192 paint.setColor(SK_ColorWHITE); in onDrawContent() 228 paint.setColor(SK_ColorWHITE); in onDrawContent() 234 paint.setColor(SK_ColorWHITE); in onDrawContent() 240 paint.setColor(SK_ColorWHITE); in onDrawContent() 272 paint.setColor(SK_ColorWHITE); in onDrawContent()
|
D | SampleRepeatTile.cpp | 19 canvas.drawColor(SK_ColorWHITE); in make_bitmap() 22 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE in make_bitmap()
|
D | SampleTextBox.cpp | 103 drawTest(canvas, width, this->height(), SK_ColorBLACK, SK_ColorWHITE); in onDrawContent() 105 drawTest(canvas, width, this->height(), SK_ColorWHITE, SK_ColorBLACK); in onDrawContent() 107 drawTest(canvas, width, this->height()/2, SK_ColorGRAY, SK_ColorWHITE); in onDrawContent()
|