Home
last modified time | relevance | path

Searched refs:mClearPaint (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DClearActivity.java42 private final Paint mClearPaint; field in ClearActivity.PathsView
50 mClearPaint = new Paint(); in PathsView()
51 mClearPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR)); in PathsView()
52 mClearPaint.setAntiAlias(true); in PathsView()
53 mClearPaint.setColor(0x0000ff00); in PathsView()
54 mClearPaint.setStrokeWidth(15.0f); in PathsView()
55 mClearPaint.setStyle(Paint.Style.FILL); in PathsView()
56 mClearPaint.setTextSize(32.0f); in PathsView()
72 canvas.drawRect(100.0f, 100.0f, 200.0f, 200.0f, mClearPaint); in onDraw()
73 canvas.drawCircle(150.0f, 400.0f, 100.0f, mClearPaint); in onDraw()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java70 private Paint mClearPaint; field in UserIconDrawable
159 if (mClearPaint == null) { in setBadge()
160 mClearPaint = new Paint(); in setBadge()
161 mClearPaint.setAntiAlias(true); in setBadge()
162 mClearPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR)); in setBadge()
163 mClearPaint.setStyle(Paint.Style.FILL); in setBadge()
318 mClearPaint = null; in bake()
367 borderRadius, mClearPaint); in rebake()