Home
last modified time | relevance | path

Searched refs:mGradient (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java195 private final LinearGradient mGradient; field in GradientsActivity.ShadersView
205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView()
229 mGradient.setLocalMatrix(mMatrix); in onDraw()
230 mPaint.setShader(mGradient); in onDraw()
238 mGradient.setLocalMatrix(mMatrix); in onDraw()
239 mPaint.setShader(mGradient); in onDraw()
250 mGradient.setLocalMatrix(mMatrix); in onDraw()
251 mPaint.setShader(mGradient); in onDraw()
260 mGradient.setLocalMatrix(mMatrix); in onDraw()
261 mPaint.setShader(mGradient); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java160 private final Drawable mGradient; field in BarTransitions.BarBackgroundDrawable
192 mGradient = context.getDrawable(gradientResourceId); in BarBackgroundDrawable()
248 mGradient.setBounds(bounds); in onBoundsChange()
314 mGradient.setAlpha(mGradientAlpha); in draw()
315 mGradient.draw(canvas); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java500 return mGradientState.mGradient; in getGradientType()
577 if (mGradientState.mGradient != RADIAL_GRADIENT) { in getGradientRadius()
1302 if (st.mGradient == LINEAR_GRADIENT) {
1341 } else if (st.mGradient == RADIAL_GRADIENT) {
1370 } else if (st.mGradient == SWEEP_GRADIENT) {
1751 st.mGradient = a.getInt(
1752 R.styleable.GradientDrawableGradient_type, st.mGradient);
2010 public @GradientType int mGradient = LINEAR_GRADIENT;
2082 mGradient = orig.mGradient;
2278 mGradient = gradient;