Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleShaders.cpp33 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in make_bitmapfade() local
40 SkShader* shader = SkShader::CreateComposeShader(shaderB, shaderA, mode); in make_bitmapfade()
41 shaderA->unref(); in make_bitmapfade()
63 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView() local
73 fShader = SkShader::CreateComposeShader(shaderA, shaderB, mode); in ShaderView()
74 shaderA->unref(); in ShaderView()
DSampleAll.cpp506 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, in shaderTest() local
513 SkShader* result = SkShader::CreateComposeShader(shaderA, shaderB, mode); in shaderTest()
514 shaderA->unref(); in shaderTest()
/external/skia/src/core/
DSkComposeShader.cpp57 SkAutoTUnref<SkShader> shaderA(buffer.readShader()); in CreateProc() local
60 if (!shaderA.get() || !shaderB.get()) { in CreateProc()
63 return new SkComposeShader(shaderA, shaderB, mode); in CreateProc()
/external/skia/gm/
Dcomposeshader.cpp26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_shader() local
38 return SkShader::CreateComposeShader(shaderA, shaderB, xfer); in make_shader()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java307 Shader shaderA = new SweepGradient(0, 0, mSpectrumColorsRev, null); in ColorPickerView() local
309 Shader shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()
334 shaderA = new SweepGradient(0, 0, mSpectrumColorsRev, null); in ColorPickerView()
336 shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()