Home
last modified time | relevance | path

Searched refs:setColor (Results 1 – 25 of 1246) sorted by relevance

12345678910>>...50

/external/skia/gm/
Ddaa.cpp27 paint.setColor(SK_ColorBLACK);
31 paint.setColor(SK_ColorRED);
40 paint.setColor(SK_ColorGREEN);
46 paint.setColor(SK_ColorBLACK);
50 paint.setColor(SK_ColorRED);
58 paint.setColor(SK_ColorBLUE);
67 paint.setColor(SK_ColorGREEN);
74 paint.setColor(SK_ColorBLACK);
78 paint.setColor(SK_ColorRED);
89 paint.setColor(SK_ColorGREEN);
[all …]
Drects.cpp58 p.setColor(SK_ColorWHITE); in makePaints()
65 p.setColor(SK_ColorWHITE); in makePaints()
73 p.setColor(SK_ColorWHITE); in makePaints()
82 p.setColor(SK_ColorWHITE); in makePaints()
93 p.setColor(SK_ColorWHITE); in makePaints()
107 p.setColor(kLooperColorSentinel); in makePaints()
114 p.setColor(SK_ColorWHITE); in makePaints()
124 p.setColor(SK_ColorWHITE); in makePaints()
135 p.setColor(SK_ColorWHITE); in makePaints()
146 p.setColor(SK_ColorWHITE); in makePaints()
[all …]
Dblend.cpp22 p.setColor(SK_ColorRED);
24 p.setColor(0xFC208000);
27 p.setColor(SK_ColorRED);
30 p.setColor(0xFC208000);
34 p.setColor(SK_ColorRED);
37 p.setColor(ToolUtils::color_to_565(0xFF208000));
Dlattice.cpp57 paint.setColor(0xFFFFFF00); in make_image()
61 paint.setColor(0x8800FF00); in make_image()
64 paint.setColor(0x880000FF); in make_image()
67 paint.setColor(0x88FF00FF); in make_image()
71 paint.setColor(0x8800FF00); in make_image()
74 paint.setColor(0x880000FF); in make_image()
77 paint.setColor(0x88FF00FF); in make_image()
242 paint.setColor(0xFF00FF00); in makeImage()
246 paint.setColor(0xFF0000FF); in makeImage()
250 paint.setColor(0xFFFF0000); in makeImage()
[all …]
Dpixelsnap.cpp53 labelPaint.setColor(SK_ColorWHITE); in onDraw()
56 linePaint.setColor(SK_ColorWHITE); in onDraw()
119 paint.setColor(SK_ColorBLUE); in drawElement()
132 paint.setColor(SK_ColorGREEN); in drawElement()
147 paint.setColor(SK_ColorRED); in drawElement()
165 paint.setColor(SK_ColorGREEN); in drawElement()
181 paint.setColor(SK_ColorBLUE); in drawElement()
184 paint.setColor(SK_ColorRED); in drawElement()
Dcomplexclip.cpp77 pathPaint.setColor(gPathColor); in onDraw()
113 boundPaint.setColor(SK_ColorRED); in onDraw()
153 paint.setColor(gClipAColor); in onDraw()
157 paint.setColor(SK_ColorBLACK); in onDraw()
161 paint.setColor(gClipBColor); in onDraw()
184 paint.setColor(gPathColor); paint.setAlpha(fade); in drawHairlines()
188 paint.setColor(gClipAColor); paint.setAlpha(fade); in drawHairlines()
190 paint.setColor(gClipBColor); paint.setAlpha(fade); in drawHairlines()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DSegmentFormatter.java63 getLabelPaint().setColor(DEFAULT_LABEL_COLOR);
71 getLabelMarkerPaint().setColor(DEFAULT_LABEL_COLOR);
82 getFillPaint().setColor(fillColor); in SegmentFormatter()
84 getFillPaint().setColor(DEFAULT_FILL_COLOR); in SegmentFormatter()
90 getInnerEdgePaint().setColor(borderColor); in SegmentFormatter()
91 getOuterEdgePaint().setColor(borderColor); in SegmentFormatter()
92 getRadialEdgePaint().setColor(borderColor); in SegmentFormatter()
101 getOuterEdgePaint().setColor(outerEdgeColor); in SegmentFormatter()
104 getOuterEdgePaint().setColor(DEFAULT_EDGE_COLOR); in SegmentFormatter()
108 getInnerEdgePaint().setColor(innerEdgeColor); in SegmentFormatter()
[all …]
/external/skqp/gm/
Drects.cpp42 p.setColor(SK_ColorWHITE); in makePaints()
49 p.setColor(SK_ColorWHITE); in makePaints()
57 p.setColor(SK_ColorWHITE); in makePaints()
66 p.setColor(SK_ColorWHITE); in makePaints()
77 p.setColor(SK_ColorWHITE); in makePaints()
91 p.setColor(SK_ColorWHITE); in makePaints()
102 p.setColor(SK_ColorWHITE); in makePaints()
112 p.setColor(SK_ColorWHITE); in makePaints()
123 p.setColor(SK_ColorWHITE); in makePaints()
134 p.setColor(SK_ColorWHITE); in makePaints()
[all …]
Dcolorwheel.cpp47 paint.setColor(SK_ColorRED);
49 paint.setColor(SK_ColorGREEN);
51 paint.setColor(SK_ColorBLUE);
53 paint.setColor(SK_ColorCYAN);
55 paint.setColor(SK_ColorMAGENTA);
57 paint.setColor(SK_ColorYELLOW);
59 paint.setColor(SK_ColorBLACK);
Dblend.cpp18 p.setColor(SK_ColorRED);
20 p.setColor(0xFC208000);
23 p.setColor(SK_ColorRED);
26 p.setColor(0xFC208000);
30 p.setColor(SK_ColorRED);
33 p.setColor(sk_tool_utils::color_to_565(0xFF208000));
Dlattice.cpp44 paint.setColor(0xFFFFFF00); in make_image()
48 paint.setColor(0x8800FF00); in make_image()
51 paint.setColor(0x880000FF); in make_image()
54 paint.setColor(0x88FF00FF); in make_image()
58 paint.setColor(0x8800FF00); in make_image()
61 paint.setColor(0x880000FF); in make_image()
64 paint.setColor(0x88FF00FF); in make_image()
229 paint.setColor(0xFF00FF00); in makeImage()
233 paint.setColor(0xFF0000FF); in makeImage()
237 paint.setColor(0xFFFF0000); in makeImage()
[all …]
Dpixelsnap.cpp44 labelPaint.setColor(SK_ColorWHITE); in onDraw()
47 linePaint.setColor(SK_ColorWHITE); in onDraw()
110 paint.setColor(SK_ColorBLUE); in drawElement()
123 paint.setColor(SK_ColorGREEN); in drawElement()
138 paint.setColor(SK_ColorRED); in drawElement()
156 paint.setColor(SK_ColorGREEN); in drawElement()
172 paint.setColor(SK_ColorBLUE); in drawElement()
175 paint.setColor(SK_ColorRED); in drawElement()
Dcomplexclip.cpp64 pathPaint.setColor(gPathColor); in onDraw()
100 boundPaint.setColor(SK_ColorRED); in onDraw()
140 paint.setColor(gClipAColor); in onDraw()
144 paint.setColor(SK_ColorBLACK); in onDraw()
148 paint.setColor(gClipBColor); in onDraw()
171 paint.setColor(gPathColor); paint.setAlpha(fade); in drawHairlines()
175 paint.setColor(gClipAColor); paint.setAlpha(fade); in drawHairlines()
177 paint.setColor(gClipBColor); paint.setAlpha(fade); in drawHairlines()
/external/skia/samplecode/
DSampleComplexClip.cpp41 pathPaint.setColor(pathColor); in onDrawContent()
72 paint.setColor(colorA); in onDrawContent()
74 paint.setColor(colorB); in onDrawContent()
112 paint.setColor(pathColor); in onDrawContent()
116 paint.setColor(colorA); in onDrawContent()
118 paint.setColor(colorB); in onDrawContent()
122 paint.setColor(colorA); in onDrawContent()
126 paint.setColor(SK_ColorBLACK); in onDrawContent()
130 paint.setColor(colorB); in onDrawContent()
DSampleParagraph.cpp85 paint.setColor(fg); in drawTest()
88 blue.setColor(SK_ColorBLUE); in drawTest()
114 background.setColor(std::get<4>(para)); in drawTest()
117 foreground.setColor(std::get<5>(para)); in drawTest()
172 comment.setColor(SK_ColorGRAY); in drawCode()
174 constant.setColor(SK_ColorMAGENTA); in drawCode()
176 null.setColor(SK_ColorMAGENTA); in drawCode()
178 literal.setColor(SK_ColorGREEN); in drawCode()
180 code.setColor(SK_ColorDKGRAY); in drawCode()
182 number.setColor(SK_ColorBLUE); in drawCode()
[all …]
DSampleAndroidShadows.cpp172 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
192 paint.setColor(SK_ColorWHITE); in onDrawContent()
198 paint.setColor(SK_ColorRED); in onDrawContent()
204 paint.setColor(SK_ColorBLUE); in onDrawContent()
210 paint.setColor(SK_ColorGREEN); in onDrawContent()
216 paint.setColor(SK_ColorYELLOW); in onDrawContent()
222 paint.setColor(SK_ColorCYAN); in onDrawContent()
228 paint.setColor(SK_ColorWHITE); in onDrawContent()
234 paint.setColor(SK_ColorWHITE); in onDrawContent()
240 paint.setColor(SK_ColorWHITE); in onDrawContent()
[all …]
/external/skqp/samplecode/
DSampleComplexClip.cpp49 pathPaint.setColor(pathColor); in onDrawContent()
80 paint.setColor(colorA); in onDrawContent()
82 paint.setColor(colorB); in onDrawContent()
120 paint.setColor(pathColor); in onDrawContent()
124 paint.setColor(colorA); in onDrawContent()
126 paint.setColor(colorB); in onDrawContent()
130 paint.setColor(colorA); in onDrawContent()
134 paint.setColor(SK_ColorBLACK); in onDrawContent()
138 paint.setColor(colorB); in onDrawContent()
DSampleAndroidShadows.cpp197 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
216 paint.setColor(SK_ColorWHITE); in onDrawContent()
222 paint.setColor(SK_ColorRED); in onDrawContent()
228 paint.setColor(SK_ColorBLUE); in onDrawContent()
234 paint.setColor(SK_ColorGREEN); in onDrawContent()
240 paint.setColor(SK_ColorYELLOW); in onDrawContent()
246 paint.setColor(SK_ColorCYAN); in onDrawContent()
252 paint.setColor(SK_ColorWHITE); in onDrawContent()
258 paint.setColor(SK_ColorWHITE); in onDrawContent()
264 paint.setColor(SK_ColorWHITE); in onDrawContent()
[all …]
/external/skia/docs/examples/
Dskbug6031.cpp13 paint.setColor(SkColorSetARGB(0, 0, 0, 0)); in draw()
17 paint.setColor(SkColorSetARGB(255, 127, 0, 0)); in draw()
21 paint.setColor(SkColorSetARGB(255, 0, 127, 0)); in draw()
25 paint.setColor(SkColorSetARGB(255, 0, 0, 127)); in draw()
29 paint.setColor(SkColorSetARGB(255, 127, 127, 0)); in draw()
Dskcanvas_paint.cpp11 paint.setColor(SK_ColorRED); in draw()
19 paint.setColor(SK_ColorBLUE); in draw()
22 paint.setColor(SK_ColorCYAN); in draw()
26 paint.setColor(SK_ColorYELLOW); in draw()
31 paint.setColor(SK_ColorGREEN); in draw()
Dshapes.cpp12 paint.setColor(0xff4285F4); in draw()
20 paint.setColor(0xffDB4437); in draw()
23 paint.setColor(0xff0F9D58); in draw()
27 paint.setColor(0xffF4B400); in draw()
Dshapes_with_motion.cpp14 paint.setColor(0xffFE938C); in draw()
22 paint.setColor(0xffE6B89C); in draw()
25 paint.setColor(0xff9CAFB7); in draw()
29 paint.setColor(0xff4281A4); in draw()
/external/skqp/tests/
DColorMatrixTest.cpp52 paint.setColor(SK_ColorBLUE); in test_colorMatrixCTS()
56 paint.setColor(SK_ColorGREEN); in test_colorMatrixCTS()
60 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
65 paint.setColor(SK_ColorMAGENTA); in test_colorMatrixCTS()
78 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
82 paint.setColor(SK_ColorCYAN); in test_colorMatrixCTS()
/external/skia/tests/
DColorMatrixTest.cpp51 paint.setColor(SK_ColorBLUE); in test_colorMatrixCTS()
55 paint.setColor(SK_ColorGREEN); in test_colorMatrixCTS()
59 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
64 paint.setColor(SK_ColorMAGENTA); in test_colorMatrixCTS()
77 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
81 paint.setColor(SK_ColorCYAN); in test_colorMatrixCTS()
/external/deqp/modules/gles2/functional/
Des2fDepthTests.cpp54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color);
82 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() function in deqp::gles2::Functional::DepthShader
219 shader.setColor(context, shaderID, red); in render()
222 shader.setColor(context, shaderID, green); in render()
227 shader.setColor(context, shaderID, red); in render()
230 shader.setColor(context, shaderID, green); in render()
235 shader.setColor(context, shaderID, red); in render()
238 shader.setColor(context, shaderID, green); in render()
243 shader.setColor(context, shaderID, red); in render()
246 shader.setColor(context, shaderID, green); in render()

12345678910>>...50