/external/skia/gm/ |
coloremoji_blendmodes.cpp | 50 paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), 132 p.setShader(s); 137 p.setShader(nullptr);
|
gammatext.cpp | 46 paint.setShader(make_heatGradient(pts)); 103 paint.setShader(SkShader::MakeColorShader(paint.getColor())); 105 paint.setShader(shader);
|
shadertext3.cpp | 30 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, 33 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, 103 fillPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTileModes[tm0],
|
color4f.cpp | 58 paint.setShader(shProc()); 118 paint.setShader(s);
|
composeshader.cpp | 57 paint.setShader(fShader); 97 paint.setShader(nullptr); 101 paint.setShader(shaders[y]); 199 paint.setShader(shaders[y]); 255 paint.setShader( 287 p.setShader(dst); 291 p.setShader(src); 300 p.setShader(SkShader::MakeCompose(dst, src, mode));
|
croppedrects.cpp | 60 paint.setShader(fSrcImageShader); 89 paint.setShader(fSrcImageShader);
|
filterbug.cpp | 59 p1.setShader(SkImageShader::Make(fTop, 85 p3.setShader(SkImageShader::Make(fBot,
|
tilemodes.cpp | 33 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors), 40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); 240 paint.setShader(fProc(gModes[kx], gModes[ky])); 274 paint->setShader(img->makeShader(tx, ty)); 279 paint->setShader(img->makeShader(tx, ty)); 284 paint->setShader(img->makeShader(tx, ty)); 292 paint->setShader(SkGradientShader::MakeLinear(pts, colors, pos, count, tx)); 298 paint->setShader(SkGradientShader::MakeRadial({ img->width()*0.5f, img->width()*0.5f },
|
gradients.cpp | 206 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); 262 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); 319 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); 408 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, 452 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, pos, 487 paint.setShader(SkGradientShader::MakeRadial( 530 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, pos, 579 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, 582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, 586 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2 [all...] |
/external/skqp/gm/ |
coloremoji_blendmodes.cpp | 50 paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), 134 p.setShader(s); 139 p.setShader(nullptr);
|
gammatext.cpp | 48 paint.setShader(make_heatGradient(pts)); 105 paint.setShader(SkShader::MakeColorShader(paint.getColor())); 107 paint.setShader(shader);
|
shadertext3.cpp | 30 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, 33 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, 103 fillPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTileModes[tm0],
|
color4f.cpp | 58 paint.setShader(shProc()); 118 paint.setShader(s);
|
composeshader.cpp | 57 paint.setShader(fShader); 97 paint.setShader(nullptr); 101 paint.setShader(shaders[y]); 199 paint.setShader(shaders[y]); 255 paint.setShader( 287 p.setShader(dst); 291 p.setShader(src); 300 p.setShader(SkShader::MakeCompose(dst, src, mode));
|
croppedrects.cpp | 60 paint.setShader(fSrcImageShader); 89 paint.setShader(fSrcImageShader);
|
filterbug.cpp | 59 p1.setShader(SkImageShader::Make(fTop, 85 p3.setShader(SkImageShader::Make(fBot,
|
tilemodes.cpp | 33 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors), 40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); 240 paint.setShader(fProc(gModes[kx], gModes[ky])); 274 paint->setShader(img->makeShader(tx, ty)); 279 paint->setShader(img->makeShader(tx, ty)); 284 paint->setShader(img->makeShader(tx, ty)); 292 paint->setShader(SkGradientShader::MakeLinear(pts, colors, pos, count, tx)); 298 paint->setShader(SkGradientShader::MakeRadial({ img->width()*0.5f, img->width()*0.5f },
|
gradients.cpp | 206 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); 262 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); 319 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); 408 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, 452 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, pos, 487 paint.setShader(SkGradientShader::MakeRadial( 530 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, pos, 579 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, 582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, 586 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2 [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 89 mPaint.setShader(mShader1); 95 mPaint.setShader(mShader2);
|
/external/skia/tests/ |
GradientTest.cpp | 25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, 146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 281 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 293 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 310 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); 324 p.setShader(SkGradientShader::MakeTwoPointConical( 343 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); 350 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); 365 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); 476 paint.setShader(SkGradientShader::MakeLinear(config.fPts [all...] |
/external/skqp/tests/ |
GradientTest.cpp | 25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, 146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 281 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 293 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 310 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); 324 p.setShader(SkGradientShader::MakeTwoPointConical( 343 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); 350 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); 365 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); 476 paint.setShader(SkGradientShader::MakeLinear(config.fPts [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 57 paint.setShader(shader); 112 paint.setShader(shader); 134 paint.setShader(shader); 156 paint.setShader(shader);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
GradientTests.java | 47 paint.setShader(new LinearGradient(
|
/external/deqp/framework/randomshaders/ |
rsgGeneratorState.hpp | 64 void setShader (const ShaderParameters& params, Shader& shader);
|
/external/skia/bench/ |
ClearBench.cpp | 63 interruptPaint.setShader(make_shader());
|