Home
last modified time | relevance | path

Searched refs:mBorderPaint (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardView.java32 private final Paint mBorderPaint; field in WalletCardView
40 mBorderPaint = new Paint(); in WalletCardView()
41 mBorderPaint.setColor(context.getColor(R.color.wallet_card_border)); in WalletCardView()
42 mBorderPaint.setStrokeWidth( in WalletCardView()
44 mBorderPaint.setStyle(Paint.Style.STROKE); in WalletCardView()
45 mBorderPaint.setAntiAlias(true); in WalletCardView()
52 canvas.drawRoundRect(0, 0, getWidth(), getHeight(), radius, radius, mBorderPaint); in draw()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java41 private final Paint mBorderPaint = new Paint(); field in CircularBitmapDrawable
61 mBorderPaint.setColor(Color.TRANSPARENT); in CircularBitmapDrawable()
62 mBorderPaint.setStyle(Style.STROKE); in CircularBitmapDrawable()
63 mBorderPaint.setStrokeWidth(mBorderWidth); in CircularBitmapDrawable()
64 mBorderPaint.setAntiAlias(true); in CircularBitmapDrawable()
71 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth()
72 mBorderPaint.setStrokeWidth(borderWidth); in setBorderWidth()
84 final boolean changed = mBorderPaint.getColor() != color; in setBorderColor()
85 mBorderPaint.setColor(color); in setBorderColor()
115 bounds.width() / 2f - mBorderWidth / 2, mBorderPaint); in onDrawPlaceholderOrProgress() local
[all …]
DStyledCornersBitmapDrawable.java58 private final Paint mBorderPaint = new Paint(); field in StyledCornersBitmapDrawable
95 mBorderPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
96 mBorderPaint.setStyle(Style.STROKE); in StyledCornersBitmapDrawable()
97 mBorderPaint.setStrokeWidth(mBorderWidth); in StyledCornersBitmapDrawable()
98 mBorderPaint.setAntiAlias(true); in StyledCornersBitmapDrawable()
111 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth()
112 mBorderPaint.setStrokeWidth(borderWidth); in setBorderWidth()
124 final boolean changed = mBorderPaint.getColor() != color; in setBorderColor()
125 mBorderPaint.setColor(color); in setBorderColor()
287 canvas.drawPath(mClipPath, mBorderPaint); in draw()