Lines Matching refs:SkGradientShader

25     paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,  in test_big_grad()
89 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc()
99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
111 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()
122 sk_sp<SkShader> s(SkGradientShader::MakeTwoPointConical(buildRec.fPoint[0], in conical_gradproc()
146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in TestConstantGradient()
281 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical()
293 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_vertical()
310 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz()
324 p.setShader(SkGradientShader::MakeTwoPointConical( in test_two_point_conical_zero_radius()
343 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow()
350 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow()
365 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_degenerate_linear()
476 paint.setShader(SkGradientShader::MakeLinear(config.fPts, in test_linear_fuzzer()
524 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer()