Home | History | Annotate | Download | only in tests

Lines Matching full:grad

66     SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
68 REPORTER_ASSERT(reporter, grad);
69 REPORTER_ASSERT(reporter, grad->isOpaque());
70 grad->unref();
75 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
76 REPORTER_ASSERT(reporter, grad);
77 REPORTER_ASSERT(reporter, !grad->isOpaque());
78 grad->unref();
83 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
84 REPORTER_ASSERT(reporter, grad);
85 REPORTER_ASSERT(reporter, !grad->isOpaque());
86 grad->unref();
91 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
92 REPORTER_ASSERT(reporter, grad);
93 REPORTER_ASSERT(reporter, !grad->isOpaque());
94 grad->unref();