Lines Matching refs:mode
23 /** Create a new compose shader, given shaders A, B, and a combining mode.
24 When the mode is applied, it will be given the result from shader A as its
26 @param shaderA The colors from this shader are seen as the "dst" by the mode
27 @param shaderB The colors from this shader are seen as the "src" by the mode
28 @param mode The mode that combines the colors from the two shaders. If mode
31 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) {
33 (mode != null) ? mode.native_instance : 0);
36 /** Create a new compose shader, given shaders A, B, and a combining PorterDuff mode.
37 When the mode is applied, it will be given the result from shader A as its
39 @param shaderA The colors from this shader are seen as the "dst" by the mode
40 @param shaderB The colors from this shader are seen as the "src" by the mode
41 @param mode The PorterDuff mode that combines the colors from the two shaders.
43 public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) {
45 mode.nativeInt);