Home
last modified time | relevance | path

Searched refs:MakeRadial (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/include/effects/
DSkGradientShader.h86 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
90 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() function
93 return MakeRadial(center, radius, colors, pos, count, mode, 0, NULL); in MakeRadial()
109 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
113 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() function
116 return MakeRadial(center, radius, colors, std::move(colorSpace), pos, count, mode, 0, NULL); in MakeRadial()
/external/skia/gm/
DgradientDirtyLaundry.cpp42 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial() function
44 return SkGradientShader::MakeRadial(pt, pt.fX, data.fColors, data.fPos, data.fCount, tm); in MakeRadial()
56 MakeLinear, MakeRadial, MakeSweep,
Dgradients.cpp70 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial() function
75 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, in MakeRadial()
85 return SkGradientShader::MakeRadial(center, center.fX, data.fColors4f, srgb, data.fPos, in MakeRadial4f()
163 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical
489 paint.setShader(SkGradientShader::MakeRadial( in onDraw()
532 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, pos, in onDraw()
584 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw()
588 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, in onDraw()
630 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw()
667 fShader = SkGradientShader::MakeRadial(center, kRadius, colors, pos, in onOnceBeforeDraw()
[all …]
Dshadertext.cpp54 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial() function
58 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, in MakeRadial()
84 MakeLinear, MakeRadial, MakeSweep, Make2Conical
Dfilltypespersp.cpp58 paint.setShader(SkGradientShader::MakeRadial(center, in showFour()
87 bkgnrd.setShader(SkGradientShader::MakeRadial(center, in onDraw()
Dblurroundrect.cpp93 static sk_sp<SkShader> MakeRadial() { in MakeRadial() function
152 paint.setShader(MakeRadial()); in onDraw()
Dgradients_no_texture.cpp34 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial() function
38 … return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, tm); in MakeRadial()
76 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical,
Drrectclipdrawpaint.cpp47 p.setShader(SkGradientShader::MakeRadial({128.f, 128.f}, 128.f, kColors2, nullptr, 2,
Dblurrect.cpp61 static sk_sp<SkShader> MakeRadial() { in MakeRadial() function
126 paintWithRadial.setShader(MakeRadial()); in onDraw()
Dshallowgradient.cpp21 return SkGradientShader::MakeRadial(center, size.width()/2, colors, nullptr, count, in shader_radial()
Dtextblobshader.cpp72 fShader = SkGradientShader::MakeRadial(SkPoint::Make(SkIntToScalar(sz.width() / 2), in onOnceBeforeDraw()
Dgradient_matrix.cpp75 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_radial_gradient()
Ddrawminibitmaprect.cpp50 paint.setShader(SkGradientShader::MakeRadial( in makebm()
Dverylargebitmap.cpp19 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, nullptr, 2, in draw()
Dimagefilterstransformed.cpp40 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, in make_gradient_circle()
Dimagetoyuvplanes.cpp31 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(0,0), r, kColors, in create_image()
Dcircles.cpp69 p.setShader(SkGradientShader::MakeRadial(center, 20, colors, pos, SK_ARRAY_COUNT(colors), in makePaints()
Dimagefiltersclipped.cpp40 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(x, y), radius, colors, nullptr, in make_gradient_circle()
Dimagefiltersscaled.cpp39 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(x, y), radius, colors, nullptr, in make_gradient_circle()
/external/skia/samplecode/
DSampleGradients.cpp69 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial() function
73 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, in MakeRadial()
110 MakeLinear, MakeRadial, MakeSweep, Make2Conical, Make2ConicalConcentric
DSampleShaderText.cpp61 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial() function
65 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, in MakeRadial()
91 MakeLinear, MakeRadial, MakeSweep, Make2Conical
/external/skia/tests/
DPaintImageFilterTest.cpp34 gradientPaint.setShader(SkGradientShader::MakeRadial( in test_unscaled()
80 gradientPaint.setShader(SkGradientShader::MakeRadial( in test_scaled()
/external/skia/src/effects/gradients/
DSkRadialGradient.cpp68 return SkGradientShader::MakeRadial(center, radius, desc.fColors, std::move(desc.fColorSpace), in CreateProc()
312 ? SkGradientShader::MakeRadial(center, radius, params.fColors4f, in TestCreate()
315 : SkGradientShader::MakeRadial(center, radius, params.fColors, in TestCreate()
/external/skia/bench/
DGradientBench.cpp56 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial() function
61 return SkGradientShader::MakeRadial(center, center.fX * scale, data.fColors, in MakeRadial()
136 { MakeRadial, "radial1" },
/external/skia/src/c/
Dsk_effects.cpp93 return (sk_shader_t*)SkGradientShader::MakeRadial(center, (SkScalar)radius, in sk_shader_new_radial_gradient()

12