Searched refs:mRipplePaint (Results 1 – 2 of 2) sorted by relevance
50 private Paint mRipplePaint; field in KeyButtonRipple101 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()
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()