Home
last modified time | relevance | path

Searched refs:setColor4f (Results 1 – 25 of 71) sorted by relevance

123

/external/skia/gm/
Dp3.cpp120 p.setColor4f(c, p3.get()); in __anon1f69af860202()
127 paint.setColor4f({1,0,0,1}, p3.get());
143 paint.setColor4f({1,0,0,1}, p3.get());
345 as_bitmap.setColor4f({1,0,0,1}, p3.get());
349 as_shader.setColor4f({1,0,0,1}, p3.get());
398 paint.setColor4f({ 1,0,0,1 }, p3.get());
412 paint.setColor4f({ 1,0,0,1 }, p3.get());
426 paint.setColor4f({ 1,0,0,1 }, p3.get());
444 paint.setColor4f({ 1,0,0,1 }, p3.get());
Dfp_sample_chaining.cpp153 paint.setColor4f({ tx / 3.0f, ty / 3.0f, 0.0f, 1.0f }); in make_test_bitmap()
155 paint.setColor4f({ (3-tx) / 3.0f, (3-ty)/3.0f, 1.0f, 1.0f }); in make_test_bitmap()
Daarecteffect.cpp81 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Dalpha_image.cpp78 paint.setColor4f({ 0, 1, 0, 0.5f });
Dtessellation.cpp374 borderPaint.setColor4f({0,1,1,1}); in onDraw()
379 borderPaint.setColor4f({1,0,1,1}); in onDraw()
Dgpu_blur_utils.cpp305 paint.setColor4f({0, kAlpha, 0, kAlpha}); in run()
318 paint.setColor4f({0, 0, 0, kAlpha}); in run()
377 paint.setColor4f(b == blur ? SkPMColor4f{0, 0, 1, 1} : SkPMColor4f{1, 0, 0, 1}); in do_very_large_blur_gm()
Dmixercolorfilter.cpp119 paint.setColor4f(paintColors[i % SK_ARRAY_COUNT(paintColors)]); in mixRow()
Dwindowrectangles.cpp216 paint.setColor4f({ 0, 0.25f, 1, 1 }); in onCoverClipStack()
219 paint.setColor4f({ 1, 0.25f, 0.25f, 1 }); in onCoverClipStack()
Dbigrrectaaeffect.cpp98 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Dconvexpolyeffect.cpp116 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
/external/skqp/gm/
Dp3.cpp104 p.setColor4f(c, p3.get()); in __anon7773395d0202()
111 paint.setColor4f({1,0,0,1}, p3.get());
127 paint.setColor4f({1,0,0,1}, p3.get());
341 as_bitmap.setColor4f({1,0,0,1}, p3.get());
345 as_shader.setColor4f({1,0,0,1}, p3.get());
396 paint.setColor4f({ 1,0,0,1 }, p3.get());
410 paint.setColor4f({ 1,0,0,1 }, p3.get());
424 paint.setColor4f({ 1,0,0,1 }, p3.get());
442 paint.setColor4f({ 1,0,0,1 }, p3.get());
Dwindowrectangles.cpp187 paint.setColor4f({ 0, 0.25f, 1, 1 }); in onCoverClipStack()
190 paint.setColor4f({ 1, 0.25f, 0.25f, 1 }); in onCoverClipStack()
Dconvexpolyeffect.cpp213 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
253 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Dbigrrectaaeffect.cpp90 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
/external/skia/src/gpu/
DSkGr.cpp383 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
393 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl()
405 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
414 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl()
454 grPaint->setColor4f({SkTPin(color.fR, 0.f, 1.f), in skpaint_to_grpaint_impl()
DGrPaint.h50 void setColor4f(const SkPMColor4f& color) { fColor = color; } in setColor4f() function
/external/skia/docs/examples/
DPaint_setColor4f.cpp8 green1.setColor4f({0, 1, 0, 1}, nullptr); // R=0 G=1 B=0 A=1 in draw()
/external/skia/experimental/skrive/src/
DColor.cpp38 paint->setColor4f(fColor); in onApply()
DArtboard.cpp130 paint.setColor4f(fColor); in render()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp79 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
95 dst->setColor4f(c, sk_srgb_singleton()); in ApplyInfo()
333 paint->setColor4f(color, cs); in Make()
/external/skqp/src/gpu/
DSkGr.cpp434 grPaint->setColor4f(origColorAsPM); in skpaint_to_grpaint_impl()
450 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl()
463 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
471 grPaint->setColor4f( in skpaint_to_grpaint_impl()
DGrPaint.h50 void setColor4f(const SkPMColor4f& color) { fColor = color; } in setColor4f() function
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp78 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
94 dst->setColor4f(c, sk_srgb_singleton()); in ApplyInfo()
372 paint->setColor4f(color, cs); in Make()
/external/skia/modules/androidkit/src/
DPaint.cpp26 paint->setColor4f({r, g, b, a}); in Paint_SetColor()
/external/skqp/src/core/
DSkPaint.cpp182 void SkPaint::setColor4f(const SkColor4f& color, SkColorSpace* colorSpace) { in setColor4f() function in SkPaint
427 paint->setColor4f(color, sk_srgb_singleton()); in Unflatten_PreV68()
482 paint->setColor4f(color, sk_srgb_singleton()); in Unflatten()

123