Home
last modified time | relevance | path

Searched refs:mShader (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSweep.java37 private Shader mShader; field in Sweep.SampleView
47 mShader = new SweepGradient(x, y, new int[] { Color.GREEN, in SampleView()
51 mPaint.setShader(mShader); in SampleView()
62 mShader.setLocalMatrix(mMatrix); in onDraw()
63 mPaint.setShader(mShader); in onDraw()
DAlphaBitmap.java40 private Shader mShader; field in AlphaBitmap.SampleView
70 mShader = new LinearGradient(0, 0, 100, 70, new int[] { in SampleView()
86 p.setShader(mShader); in onDraw()