Home
last modified time | relevance | path

Searched refs:SK_ColorWHITE (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/third_party/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,
Dlighting.cpp109 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()
Dfillrect_gradient.cpp96 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()
Dgradients_no_texture.cpp34 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()
Dgm.h39 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()
Dlcdblendmodes.cpp61 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()
Dmac_aa_explorer.cpp138 SK_ColorBLACK, SK_ColorWHITE,
140 SK_ColorWHITE, SK_ColorBLACK,
141 SK_ColorWHITE, GRAY,
Dimagefiltersclipped.cpp45 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()
Dfilterbug.cpp30 bm.eraseColor(SK_ColorWHITE); in make_image()
80 p2.setColor(SK_ColorWHITE); in onDraw()
/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
[all …]
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp74 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/
DFontMgrFontConfigTest.cpp54 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()
DDrawTextTest.cpp28 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/
DText.cpp31 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/
DPaint_setImageFilter.cpp13 paint.setColor(SK_ColorWHITE);
19 SK_ColorWHITE, 1, 2, nullptr, nullptr));
Dsetimagefilter.cpp11 paint.setColor(SK_ColorWHITE); in draw()
16 SkPoint3::Make(80, 100, 10), SK_ColorWHITE, 1, 2, nullptr, nullptr)); in draw()
DCanvas_drawImageRect_4.cpp7 uint32_t pixels[][2] = { { SK_ColorBLACK, SK_ColorWHITE }, in draw()
8 { SK_ColorWHITE, SK_ColorBLACK } }; in draw()
Dmeasure_text_bounds.cpp6 canvas->clear(SK_ColorWHITE); in draw()
21 paint.setColor(SK_ColorWHITE); in draw()
Ddraw_patch.cpp7 canvas->clear(SK_ColorWHITE); in draw()
10 const SkColor colors[] = {SK_ColorRED, SK_ColorCYAN, SK_ColorGREEN, SK_ColorWHITE, in draw()
DCanvas_SrcRectConstraint.cpp11 uint32_t checkers[][2] = { { SK_ColorBLACK, SK_ColorWHITE }, in draw()
12 { SK_ColorWHITE, SK_ColorBLACK } }; in draw()
D50_percent_srgb.cpp7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make()
16 canvas->drawColor(SK_ColorWHITE); in draw()
D50_percent_gray.cpp7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make_bw_dither()
16 canvas->drawColor(SK_ColorWHITE); in draw()
/third_party/skia/samplecode/
DSampleAndroidShadows.cpp192 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()
DSampleRepeatTile.cpp19 canvas.drawColor(SK_ColorWHITE); in make_bitmap()
22 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE in make_bitmap()
DSampleTextBox.cpp103 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()

12345678910>>...14