Lines Matching refs:setShader
28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_big_grad()
148 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in TestConstantGradient()
283 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_nearly_vertical()
295 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_vertical()
312 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkTileMode::kClamp)); in test_linear_fuzz()
326 p.setShader(SkGradientShader::MakeTwoPointConical( in test_two_point_conical_zero_radius()
345 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkTileMode::kClamp)); in test_clamping_overflow()
352 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkTileMode::kClamp)); in test_clamping_overflow()
367 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_degenerate_linear()
508 paint.setShader(SkGradientShader::MakeLinear(config.fPts, in test_linear_fuzzer()
556 paint.setShader(SkGradientShader::MakeSweep(config.fCenter.x(), in test_sweep_fuzzer()