Searched refs:bitmapPaint (Results 1 – 1 of 1) sorted by relevance
132 final RectF source, final RectF dest, @Nullable Paint bitmapPaint, in drawBitmapWithCircleOnCanvas() argument143 if (bitmapPaint == null) { in drawBitmapWithCircleOnCanvas()144 bitmapPaint = new Paint(); in drawBitmapWithCircleOnCanvas()147 bitmapPaint.setAntiAlias(true); in drawBitmapWithCircleOnCanvas()149 bitmapPaint.setColor(backgroundColor); in drawBitmapWithCircleOnCanvas()150 canvas.drawCircle(dest.centerX(), dest.centerX(), dest.width() / 2f, bitmapPaint); in drawBitmapWithCircleOnCanvas() local153 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()154 canvas.drawCircle(dest.centerX(), dest.centerX(), dest.width() / 2f, bitmapPaint); in drawBitmapWithCircleOnCanvas() local155 bitmapPaint.setShader(null); in drawBitmapWithCircleOnCanvas()