Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java50 private Paint mRipplePaint; field in KeyButtonRipple
101 if (mRipplePaint == null) { in getRipplePaint()
102 mRipplePaint = new Paint(); in getRipplePaint()
103 mRipplePaint.setAntiAlias(true); in getRipplePaint()
104 mRipplePaint.setColor(mLastDark ? 0xff000000 : 0xffffffff); in getRipplePaint()
106 return mRipplePaint; in getRipplePaint()
238 mRipplePaint = null; in setPressed()
406 mRipplePaint = getRipplePaint(); in enterHardware()
407 mRipplePaint.setAlpha((int) (mGlowAlpha * 255)); in enterHardware()
408 mPaintProp = CanvasProperty.createPaint(mRipplePaint); in enterHardware()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java159 private Paint mRipplePaint; field in RippleDrawable
865 if (mRipplePaint == null) { in getRipplePaint()
866 mRipplePaint = new Paint(); in getRipplePaint()
867 mRipplePaint.setAntiAlias(true); in getRipplePaint()
868 mRipplePaint.setStyle(Paint.Style.FILL); in getRipplePaint()
889 final Paint p = mRipplePaint; in getRipplePaint()