Home
last modified time | relevance | path

Searched refs:MakeSweep (Results 1 – 23 of 23) sorted by relevance

/external/skia/include/effects/
DSkGradientShader.h171 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
174 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
176 return MakeSweep(cx, cy, colors, pos, count, 0, NULL); in MakeSweep()
191 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
195 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
198 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, NULL); in MakeSweep()
/external/skia/gm/
DgradientDirtyLaundry.cpp47 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() function
49 return SkGradientShader::MakeSweep(pt.fX, pt.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
56 MakeLinear, MakeRadial, MakeSweep,
Dtexturedomaineffect.cpp55 paint.setShader(SkGradientShader::MakeSweep(65.f, 75.f, colors1, nullptr, in onOnceBeforeDraw()
61 paint.setShader(SkGradientShader::MakeSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
68 paint.setShader(SkGradientShader::MakeSweep(25.f, 35.f, colors3, nullptr, in onOnceBeforeDraw()
Dshadertext.cpp62 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() function
66 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
84 MakeLinear, MakeRadial, MakeSweep, Make2Conical
Dgradients.cpp88 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
93 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep()
103 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, in MakeSweep4f()
162 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical
580 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
832 return SkGradientShader::MakeSweep(half, half, run.fColors, run.fPos, run.fCount); in make_sweep()
994 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon178efadc0302()
1014 sk_sp<SkShader> sweep1 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon178efadc0402()
1018 sk_sp<SkShader> sweep2 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon178efadc0402()
Dgradients_no_texture.cpp41 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() function
45 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
76 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical,
Dbug6643.cpp17 p.setShader(SkGradientShader::MakeSweep(100, 100, colors, nullptr, SK_ARRAY_COUNT(colors),
Dshallowgradient.cpp32 return SkGradientShader::MakeSweep(size.width()/2, size.height()/2, colors, nullptr, count); in shader_sweep()
Dcoloremoji_blendmodes.cpp34 paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw()
Dsavelayer.cpp139 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, nullptr, SK_ARRAY_COUNT(colors))); in draw_mask()
Dtilemodes_scaled.cpp183 … return SkGradientShader::MakeSweep(center.fX, center.fY, colors, nullptr, SK_ARRAY_COUNT(colors)); in make_grad()
Dtilemodes.cpp180 … return SkGradientShader::MakeSweep(center.fX, center.fY, colors, nullptr, SK_ARRAY_COUNT(colors)); in make_grad()
/external/skia/src/shaders/gradients/
DSkSweepGradient.cpp42 return SkGradientShader::MakeSweep(center.x(), center.y(), desc.fColors, in CreateProc()
129 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, params.fColorSpace, in TestCreate()
131 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors, in TestCreate()
202 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.begin(), fOrigPos, in onMakeColorSpace()
DSkGradientShader.cpp1230 sk_sp<SkShader> SkGradientShader::MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function in SkGradientShader
1237 return MakeSweep(cx, cy, converter.fColors4f.begin(), nullptr, pos, colorCount, flags, in MakeSweep()
1241 sk_sp<SkShader> SkGradientShader::MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function in SkGradientShader
/external/skia/samplecode/
DSampleGradients.cpp77 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep() function
81 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
110 MakeLinear, MakeRadial, MakeSweep, Make2Conical, Make2ConicalConcentric
DSampleShaderText.cpp69 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep() function
73 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
91 MakeLinear, MakeRadial, MakeSweep, Make2Conical
DSampleDither.cpp37 p.setShader(SkGradientShader::MakeSweep(r.centerX(), r.centerY(), in draw_sweep()
DSampleSlides.cpp192 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep() function
196 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
212 MakeLinear, MakeRadial, MakeSweep, Make2Conical
/external/skia/bench/
DGradientBench.cpp65 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
70 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
136 { MakeSweep, "sweep" },
/external/skia/fuzz/
DFuzzGradients.cpp234 p.setShader(SkGradientShader::MakeSweep(cx, cy, colors.data(), in fuzzSweepGradient()
237 p.setShader(SkGradientShader::MakeSweep(cx, cy, colors.data(), in fuzzSweepGradient()
DFuzzCanvas.cpp464 return SkGradientShader::MakeSweep(cx, cy, colors, usePos ? pos : nullptr, colorCount, in make_fuzz_shader()
/external/skia/src/c/
Dsk_effects.cpp110 return (sk_shader_t*)SkGradientShader::MakeSweep((SkScalar)(ccenter->x), in sk_shader_new_sweep_gradient()
/external/skia/tests/
DGradientTest.cpp111 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()
520 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer()