Searched defs:ComposeShader (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java22 public class ComposeShader extends Shader { class in inherits:Shader
28 * Type of the ComposeShader: can be either TYPE_XFERMODE or TYPE_PORTERDUFFMODE
51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { method in class:ComposeShader
75 public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) { method in class:ComposeShader
91 final ComposeShader copy;
94 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mXferMode);
97 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mPorterDuffMode);
101 "ComposeShader should be created with either Xfermode or PorterDuffMode");

Completed in 65 milliseconds