Lines Matching refs:setShader
25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, in test_big_grad()
146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in TestConstantGradient()
277 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical()
289 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_vertical()
306 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz()
320 p.setShader(SkGradientShader::MakeTwoPointConical( in test_two_point_conical_zero_radius()
339 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow()
346 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow()
361 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_degenerate_linear()
472 paint.setShader(SkGradientShader::MakeLinear(config.fPts, in test_linear_fuzzer()
520 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer()