Searched refs:bitmapPaint (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/ |
D | AvatarUtil.java | 238 Paint bitmapPaint = new Paint(); in drawBitmapWithCircleOnCanvas() local 240 bitmapPaint.setAntiAlias(true); in drawBitmapWithCircleOnCanvas() 242 bitmapPaint.setColor(backgroundColor); in drawBitmapWithCircleOnCanvas() 243 canvas.drawCircle(dest.centerX(), dest.centerX(), dest.width() / 2f, bitmapPaint); in drawBitmapWithCircleOnCanvas() local 246 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas() 247 canvas.drawCircle(dest.centerX(), dest.centerX(), dest.width() / 2f, bitmapPaint); in drawBitmapWithCircleOnCanvas() local 248 bitmapPaint.setShader(null); in drawBitmapWithCircleOnCanvas()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 132 final RectF source, final RectF dest, @Nullable Paint bitmapPaint, in drawBitmapWithCircleOnCanvas() argument 143 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() local 153 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas() 154 canvas.drawCircle(dest.centerX(), dest.centerX(), dest.width() / 2f, bitmapPaint); in drawBitmapWithCircleOnCanvas() local 155 bitmapPaint.setShader(null); in drawBitmapWithCircleOnCanvas()
|