Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleShaders.cpp35 SkShader* shaderB = SkShader::CreateBitmapShader(bm, in make_bitmapfade() local
40 SkShader* shader = SkShader::CreateComposeShader(shaderB, shaderA, mode); in make_bitmapfade()
42 shaderB->unref(); in make_bitmapfade()
69 …SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView() local
73 fShader = SkShader::CreateComposeShader(shaderA, shaderB, mode); in ShaderView()
75 shaderB->unref(); in ShaderView()
DSampleAll.cpp510 SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors2, nullptr, in shaderTest() local
513 SkShader* result = SkShader::CreateComposeShader(shaderA, shaderB, mode); in shaderTest()
515 shaderB->unref(); in shaderTest()
/external/skia/src/core/
DSkComposeShader.cpp58 SkAutoTUnref<SkShader> shaderB(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.cpp33 SkAutoTUnref<SkShader> shaderB(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.java308 …Shader shaderB = new RadialGradient(0, 0, PALETTE_CENTER_X, 0xFFFFFFFF, 0xFF000000, Shader.TileMod… in ColorPickerView() local
309 Shader shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()
335shaderB = new RadialGradient(0, 0, PALETTE_DIM / 2, 0xFFFFFFFF, 0xFF000000, Shader.TileMode.CLAMP); in ColorPickerView()
336 shader = new ComposeShader(shaderA, shaderB, PorterDuff.Mode.SCREEN); in ColorPickerView()