Home
last modified time | relevance | path

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

/aosp12/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
H A DWalletCardView.java34 private final Paint mBorderPaint; field in WalletCardView
42 mBorderPaint = new Paint(); in WalletCardView()
43 mBorderPaint.setColor(context.getColor(R.color.wallet_card_border)); in WalletCardView()
44 mBorderPaint.setStrokeWidth( in WalletCardView()
46 mBorderPaint.setStyle(Paint.Style.STROKE); in WalletCardView()
47 mBorderPaint.setAntiAlias(true); in WalletCardView()
54 canvas.drawRoundRect(0, 0, getWidth(), getHeight(), radius, radius, mBorderPaint); in draw()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A 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()
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A 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 …]
H A 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()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryView.java44 private Paint mBorderPaint; field in CategoryView
66 mBorderPaint = new Paint(mSelectPaint); in CategoryView()
67 mBorderPaint.setColor(Color.BLACK); in CategoryView()
126 mSelectionStroke, mSelectPaint, mBorderStroke, mBorderPaint); in onDraw()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java41 private Paint mBorderPaint = new Paint(); field in ImageDraw
85 mBorderPaint.setColor(mBorderColor); in setupConstants()
86 mBorderPaint.setStyle(Paint.Style.STROKE); in setupConstants()
87 mBorderPaint.setStrokeWidth(edge); in setupConstants()