/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 25 import android.graphics.Shader; 48 colors, positions, Shader.TileMode.CLAMP); in onDraw() 58 colors, positions, Shader.TileMode.CLAMP); in onDraw() 68 colors, positions, Shader.TileMode.CLAMP); in onDraw() 77 colors, null, Shader.TileMode.CLAMP); in onDraw() 85 colors, null, Shader.TileMode.REPEAT); in onDraw() 93 colors, null, Shader.TileMode.MIRROR); in onDraw() 101 colors, null, Shader.TileMode.CLAMP); in onDraw() 109 colors, null, Shader.TileMode.CLAMP); in onDraw() 117 colors, null, Shader.TileMode.CLAMP); in onDraw()
|
D | ShadersActivity.java | 29 import android.graphics.Shader; 68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 69 Shader.TileMode.REPEAT); in ShadersView() 71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT, in ShadersView() 72 Shader.TileMode.REPEAT); in ShadersView() 78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR, in ShadersView() 79 Shader.TileMode.MIRROR); in ShadersView() 85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ShadersView() 93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP); in ShadersView() 96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ShadersView()
|
D | MoreShadersActivity.java | 33 import android.graphics.Shader; 71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 72 Shader.TileMode.MIRROR); in ShadersView() 77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 78 Shader.TileMode.MIRROR); in ShadersView() 84 Color.RED, 0x7f00ff00, Shader.TileMode.CLAMP); in ShadersView() 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ShadersView()
|
D | AdvancedBlendActivity.java | 31 import android.graphics.Shader; 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 70 Shader.TileMode.MIRROR); in ShadersView() 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, in ShadersView() 76 Shader.TileMode.MIRROR); in ShadersView() 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in ShadersView()
|
D | GradientsActivity.java | 29 import android.graphics.Shader; 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT, in BitmapView() 99 Shader.TileMode.REPEAT); in BitmapView() 124 Shader.TileMode.CLAMP); in GradientView() 149 Shader.TileMode.MIRROR); in RadialGradientView() 205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView() 207 new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF }, null, Shader.TileMode.CLAMP); in ShadersView()
|
D | BigGradientActivity.java | 24 import android.graphics.Shader; 45 0xff333333, Shader.TileMode.CLAMP)); in onDraw()
|
D | Alpha8BitmapActivity.java | 29 import android.graphics.Shader; 57 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in BitmapsView()
|
D | AdvancedGradientsActivity.java | 25 import android.graphics.Shader; 52 Shader.TileMode.MIRROR); in GradientsView()
|
D | FramebufferBlendActivity.java | 30 import android.graphics.Shader; 58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in BlendView()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 28 import android.graphics.Shader; 63 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers() 64 Shader.TileMode.REPEAT); in ResourceModifiers() 66 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, in ResourceModifiers() 67 Shader.TileMode.REPEAT); in ResourceModifiers() 73 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, in ResourceModifiers() 74 Shader.TileMode.MIRROR); in ResourceModifiers() 80 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ResourceModifiers() 88 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); in ResourceModifiers() 91 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ResourceModifiers()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 22 public class ComposeShader extends Shader { 27 private final Shader mShaderA; 29 private final Shader mShaderB; 39 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { in ComposeShader() 61 public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) { in ComposeShader()
|
D | BitmapShader.java | 23 public class BitmapShader extends Shader {
|
D | Shader.java | 25 public class Shader { class
|
D | SweepGradient.java | 19 public class SweepGradient extends Shader {
|
D | RadialGradient.java | 19 public class RadialGradient extends Shader {
|
D | LinearGradient.java | 19 public class LinearGradient extends Shader {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 29 import android.graphics.Shader; 335 public Shader.TileMode getTileModeX() { in getTileModeX() 345 public Shader.TileMode getTileModeY() { in getTileModeY() 360 public void setTileModeX(Shader.TileMode mode) { in setTileModeX() 375 public final void setTileModeY(Shader.TileMode mode) { in setTileModeY() 391 public void setTileModeXY(Shader.TileMode xmode, Shader.TileMode ymode) { in setTileModeXY() 418 Shader.TileMode tmx = state.mTileModeX; in draw() 419 Shader.TileMode tmy = state.mTileModeY; in draw() 425 tmx == null ? Shader.TileMode.CLAMP : tmx, in draw() 426 tmy == null ? Shader.TileMode.CLAMP : tmy)); in draw() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | Shader.java | 33 public abstract class Shader extends SceneGraphBase { class 46 public Shader() { in Shader() method in Shader
|
D | VertexShader.java | 29 public class VertexShader extends Shader {
|
D | scenegraph_objects.rsh | 35 // Shader params that involve only data 41 // Shader params that involve camera 51 // Shader Params that only involve lights
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 22 import android.graphics.Shader.TileMode;
|
D | Gradient_Delegate.java | 19 import android.graphics.Shader.TileMode;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsScrollViewPerformanceHelper.java | 25 import android.graphics.Shader; 97 mFade = new LinearGradient(0, 0, 0, 1, 0xCC000000, 0, Shader.TileMode.CLAMP); in drawCallback()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardWidgetFrame.java | 32 import android.graphics.Shader; 445 mGradientColor, 0, Shader.TileMode.CLAMP); in updateGradient() 447 mGradientColor, 0, Shader.TileMode.CLAMP); in updateGradient()
|
/frameworks/base/core/java/android/view/ |
D | GLES20RecordingCanvas.java | 26 import android.graphics.Shader; 75 final Shader shader = paint.getShader(); in recordShaderBitmap()
|