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_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,
Dcolortype.cpp28 paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw()
Dgradients.cpp89 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
94 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep()
104 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, in MakeSweep4f()
163 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical
581 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
834 return SkGradientShader::MakeSweep(half, half, run.fColors, run.fPos, run.fCount); in make_sweep()
Dshallowgradient.cpp32 return SkGradientShader::MakeSweep(size.width()/2, size.height()/2, colors, nullptr, count); in shader_sweep()
Dcolortypexfermode.cpp34 paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw()
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/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.cpp36 p.setShader(SkGradientShader::MakeSweep(r.centerX(), r.centerY(), in draw_sweep()
DSampleSlides.cpp191 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep() function
195 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
211 MakeLinear, MakeRadial, MakeSweep, Make2Conical
/external/skia/src/effects/gradients/
DSkSweepGradient.cpp38 return SkGradientShader::MakeSweep(center.x(), center.y(), desc.fColors, in CreateProc()
193 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, params.fColorSpace, in TestCreate()
195 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors, in TestCreate()
DSkGradientShader.cpp1076 sk_sp<SkShader> SkGradientShader::MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function in SkGradientShader
1083 return MakeSweep(cx, cy, converter.fColors4f.begin(), nullptr, pos, colorCount, flags, in MakeSweep()
1087 sk_sp<SkShader> SkGradientShader::MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function in SkGradientShader
/external/skia/bench/
DGradientBench.cpp66 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
71 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
137 { 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.cpp462 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/src/core/
DSkColorSpaceXformer.cpp119 return SkGradientShader::MakeSweep(gradient.fPoint[0].fX, in apply()
/external/skia/tests/
DGradientTest.cpp112 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()