Home
last modified time | relevance | path

Searched refs:shaderA (Results 1 – 5 of 5) sorted by relevance

/external/skia/samplecode/
DSampleShaders.cpp31 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_bitmapfade() local
36 return SkShader::MakeComposeShader(std::move(shaderB), std::move(shaderA), SkBlendMode::kDstIn); in make_bitmapfade()
54 … auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView() local
62 fShader = SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), in ShaderView()
DSampleAll.cpp460 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, in shaderTest() local
466 return SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), in shaderTest()
/external/skia/gm/
Dcomposeshader.cpp26 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader() local
34 return SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), mode); in make_shader()
Dcolorfilterimagefilter.cpp228 auto shaderA = GetResourceAsImage("mandrill_128.png")->makeShader(SkShader::kClamp_TileMode, variable
248 paint.setShader(SkShader::MakeCompose(shaderA, shaderB, mode, t));
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java306 Shader shaderA = new SweepGradient(0, 0, mSpectrumColorsRev, null); in ColorPickerView() local
308 Shader shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()
333 shaderA = new SweepGradient(0, 0, mSpectrumColorsRev, null); in ColorPickerView()
335 shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()