Searched refs:mRipplePaint (Results 1 – 2 of 2) sorted by relevance
51 private Paint mRipplePaint; field in KeyButtonRipple107 if (mRipplePaint == null) { in getRipplePaint()108 mRipplePaint = new Paint(); in getRipplePaint()109 mRipplePaint.setAntiAlias(true); in getRipplePaint()110 mRipplePaint.setColor(mLastDark ? 0xff000000 : 0xffffffff); in getRipplePaint()112 return mRipplePaint; in getRipplePaint()244 mRipplePaint = null; in setPressed()419 mRipplePaint = getRipplePaint(); in enterHardware()420 mRipplePaint.setAlpha((int) (mGlowAlpha * 255)); in enterHardware()421 mPaintProp = CanvasProperty.createPaint(mRipplePaint); in enterHardware()
159 private Paint mRipplePaint; field in RippleDrawable865 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()