Home
last modified time | relevance | path

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

12345678910>>...37

/external/skia/modules/skottie/src/effects/
DCCTonerEffect.cpp65 case 1: fColorNodes.at(0)->setColor(fShadows); in onSync()
66 fColorNodes.at(1)->setColor(lerpColor(fShadows, fHighlights, 0.25)); in onSync()
67 fColorNodes.at(2)->setColor(lerpColor(fShadows, fHighlights, 0.5)); in onSync()
68 fColorNodes.at(3)->setColor(lerpColor(fShadows, fHighlights, 0.75)); in onSync()
69 fColorNodes.at(4)->setColor(fHighlights); in onSync()
72 case 2: fColorNodes.at(0)->setColor(fShadows); in onSync()
73 fColorNodes.at(1)->setColor(lerpColor(fShadows, fMidtones, 0.5)); in onSync()
74 fColorNodes.at(2)->setColor(fMidtones); in onSync()
75 fColorNodes.at(3)->setColor(lerpColor(fMidtones, fHighlights, 0.5)); in onSync()
76 fColorNodes.at(4)->setColor(fHighlights); in onSync()
[all …]
/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);
55 paint.setColor(SK_ColorBLUE);
61 paint.setColor(SK_ColorGREEN);
68 paint.setColor(SK_ColorBLACK);
72 paint.setColor(SK_ColorRED);
80 paint.setColor(SK_ColorGREEN);
[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.cpp58 paint.setColor(0xFFFFFF00); in make_image()
62 paint.setColor(0x8800FF00); in make_image()
65 paint.setColor(0x880000FF); in make_image()
68 paint.setColor(0x88FF00FF); in make_image()
72 paint.setColor(0x8800FF00); in make_image()
75 paint.setColor(0x880000FF); in make_image()
78 paint.setColor(0x88FF00FF); in make_image()
251 paint.setColor(0xFF00FF00); in makeImage()
255 paint.setColor(0xFF0000FF); in makeImage()
259 paint.setColor(0xFFFF0000); in makeImage()
[all …]
Dpoints.cpp55 p0.setColor(SK_ColorRED); in onDraw()
56 p1.setColor(SK_ColorGREEN); in onDraw()
57 p2.setColor(SK_ColorBLUE); in onDraw()
58 p3.setColor(SK_ColorWHITE); in onDraw()
105 paint.setColor(SK_ColorBLACK);
109 paint.setColor(SK_ColorRED);
Dcrop_imagefilter.cpp133 paint.setColor(SK_ColorRED); in make_image()
135 paint.setColor(/* sea foam */ 0xFF71EEB8); in make_image()
137 paint.setColor(SK_ColorYELLOW); in make_image()
139 paint.setColor(SK_ColorCYAN); in make_image()
144 paint.setColor(/* orange */ 0xFFFFA500); in make_image()
146 paint.setColor(SK_ColorBLUE); in make_image()
148 paint.setColor(SK_ColorMAGENTA); in make_image()
150 paint.setColor(SK_ColorGREEN); in make_image()
225 border.setColor(kOutputBoundsColor); in draw_example()
228 border.setColor(kCropRectColor); in draw_example()
[all …]
Dpatch.cpp48 paint.setColor(SK_ColorBLACK); in draw_control_points()
63 paint.setColor(SK_ColorRED); in draw_control_points()
66 paint.setColor(SK_ColorBLUE); in draw_control_points()
69 paint.setColor(SK_ColorCYAN); in draw_control_points()
72 paint.setColor(SK_ColorYELLOW); in draw_control_points()
75 paint.setColor(SK_ColorGREEN); in draw_control_points()
99 paint.setColor(SK_ColorGREEN); in dopatch()
203 paint.setColor(colors[0]);
Dpicture.cpp28 paint.setColor(0x800000FF); in make_picture()
31 paint.setColor(0x80FF0000); in make_picture()
34 paint.setColor(0x8000FF00); in make_picture()
37 paint.setColor(0x80FFFFFF); in make_picture()
116 paint.setColor(0x800000FF); in onOnceBeforeDraw()
Droundrects.cpp164 rectPaint.setColor(SK_ColorLTGRAY); in onDraw()
179 fPaints[i].setColor(color); in onDraw()
204 fPaints[i].setColor(color); in onDraw()
224 fPaints[i].setColor(color); in onDraw()
243 fPaints[i].setColor(color); in onDraw()
262 fPaints[i].setColor(color); in onDraw()
283 fPaints[i].setColor(color); in onDraw()
323 p.setColor(color); in onDraw()
341 p.setColor(color); in onDraw()
367 p.setColor(color); in onDraw()
/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/skia/modules/skparagraph/slides/
DParagraphSlide.cpp112 paint.setColor(fg); in drawTest()
115 blue.setColor(SK_ColorBLUE); in drawTest()
141 background.setColor(std::get<4>(para)); in drawTest()
144 foreground.setColor(std::get<5>(para)); in drawTest()
261 comment.setColor(SK_ColorGRAY); in drawCode()
263 constant.setColor(SK_ColorMAGENTA); in drawCode()
265 null.setColor(SK_ColorMAGENTA); in drawCode()
267 literal.setColor(SK_ColorGREEN); in drawCode()
269 code.setColor(SK_ColorDKGRAY); in drawCode()
271 number.setColor(SK_ColorBLUE); in drawCode()
[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/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeLightingColorFilterTest.java31 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
36 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
41 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
48 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
54 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
60 paint.setColor(Color.argb(255, 60, 20, 40)); in testLightingColorFilter()
68 paint.setColor(Color.argb(0x80, 60, 20, 40)); in testLightingColorFilter()
DShadowNativeColorMatrixColorFilterTest.java40 paint.setColor(Color.BLUE); in testColorMatrixColorFilter()
46 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
50 paint.setColor(Color.RED); in testColorMatrixColorFilter()
55 paint.setColor(Color.MAGENTA); in testColorMatrixColorFilter()
68 paint.setColor(Color.RED); in testColorMatrixColorFilter()
75 paint.setColor(Color.CYAN); in testColorMatrixColorFilter()
/external/skia/tests/
DColorMatrixTest.cpp50 paint.setColor(SK_ColorBLUE); in test_colorMatrixCTS()
54 paint.setColor(SK_ColorGREEN); in test_colorMatrixCTS()
58 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
63 paint.setColor(SK_ColorMAGENTA); in test_colorMatrixCTS()
76 paint.setColor(SK_ColorRED); in test_colorMatrixCTS()
80 paint.setColor(SK_ColorCYAN); in test_colorMatrixCTS()
/external/skia/tools/viewer/
DAndroidShadowsSlide.cpp172 paint.setColor(SK_ColorWHITE); in draw()
178 paint.setColor(SK_ColorRED); in draw()
184 paint.setColor(SK_ColorBLUE); in draw()
190 paint.setColor(SK_ColorGREEN); in draw()
196 paint.setColor(SK_ColorYELLOW); in draw()
202 paint.setColor(SK_ColorCYAN); in draw()
208 paint.setColor(SK_ColorWHITE); in draw()
214 paint.setColor(SK_ColorWHITE); in draw()
220 paint.setColor(SK_ColorWHITE); in draw()
232 paint.setColor(SK_ColorMAGENTA); in draw()
[all …]
DPathSlide.cpp144 paint.setColor(SK_ColorRED); in drawPath()
224 fCornerPaint.setColor(SK_ColorGREEN); in ArcToSlide()
229 fSkeletonPaint.setColor(SK_ColorRED); in ArcToSlide()
323 fHiddenPaint.setColor(0xFF0000FF); in FatStrokeSlide()
328 fStrokePaint.setColor(0x8000FF00); in FatStrokeSlide()
332 fSkeletonPaint.setColor(SK_ColorRED); in FatStrokeSlide()
471 paint.setColor(SK_ColorRED); in draw()
484 paint.setColor(SK_ColorBLUE); in draw()
489 paint.setColor(0xFF008800); in draw()
501 paint.setColor(SK_ColorRED); in draw()
[all …]
/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()
/external/deqp/modules/gles3/functional/
Des3fDepthTests.cpp54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color);
85 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() function in deqp::gles3::Functional::DepthShader
222 shader.setColor(context, shaderID, red); in render()
225 shader.setColor(context, shaderID, green); in render()
230 shader.setColor(context, shaderID, red); in render()
233 shader.setColor(context, shaderID, green); in render()
238 shader.setColor(context, shaderID, red); in render()
241 shader.setColor(context, shaderID, green); in render()
246 shader.setColor(context, shaderID, red); in render()
249 shader.setColor(context, shaderID, green); in render()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java300 mSwatchOld.setColor(Color.HSVToColor(mHSV)); in ColorPickerView()
304 mSwatchNew.setColor(Color.HSVToColor(mHSV)); in ColorPickerView()
348 mText.setColor(Color.WHITE); in ColorPickerView()
385 mText.setColor(Color.BLACK); in drawSwatches()
387 mText.setColor(Color.WHITE); in drawSwatches()
392 mText.setColor(Color.BLACK); in drawSwatches()
394 mText.setColor(Color.WHITE); in drawSwatches()
433 mPosMarker.setColor(Color.BLACK); in mark2DPalette()
435 mPosMarker.setColor(Color.WHITE); in mark2DPalette()
445 mPosMarker.setColor(Color.BLACK); in markVerSlider()
[all …]
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DCandleStickChartRenderer.java117 mRenderPaint.setColor( in drawDataSet()
124 mRenderPaint.setColor( in drawDataSet()
131 mRenderPaint.setColor( in drawDataSet()
138 mRenderPaint.setColor( in drawDataSet()
162 mRenderPaint.setColor(dataSet.getColor(j)); in drawDataSet()
164 mRenderPaint.setColor(dataSet.getDecreasingColor()); in drawDataSet()
177 mRenderPaint.setColor(dataSet.getColor(j)); in drawDataSet()
179 mRenderPaint.setColor(dataSet.getIncreasingColor()); in drawDataSet()
191 mRenderPaint.setColor(dataSet.getColor(j)); in drawDataSet()
193 mRenderPaint.setColor(dataSet.getNeutralColor()); in drawDataSet()
[all …]
/external/skia/modules/canvaskit/tests/
Dcanvas_test.js21 paint.setColor(CanvasKit.Color(0, 0, 0, 1.0));
49 textPaint.setColor(CanvasKit.Color(40, 0, 0, 1.0));
60 paint.setColor(CanvasKit.Color(66, 129, 164, 1.0));
83 paint.setColor(CanvasKit.Color(66, 129, 164, 1.0));
123 paint.setColor(CanvasKit.CYAN);
128 paint.setColor(CanvasKit.RED);
144 paint.setColor(CanvasKit.BLACK);
170 paint.setColor(CanvasKit.BLACK);
193 paint.setColor(CanvasKit.BLACK);
219 paint.setColor(CanvasKit.BLACK);
[all …]

12345678910>>...37