Home
last modified time | relevance | path

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

/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheel.java45 private Paint mCenterPaint; field in ColorWheel
68 mCenterPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in ColorWheel()
69 mCenterPaint.setColor(0); in ColorWheel()
70 mCenterPaint.setStrokeWidth(5); in ColorWheel()
86 canvas.drawCircle(0, 0, CENTER_RADIUS, mCenterPaint); in onDraw()
89 int c = mCenterPaint.getColor(); in onDraw()
90 mCenterPaint.setStyle(Paint.Style.STROKE); in onDraw()
93 mCenterPaint.setAlpha(0xFF); in onDraw()
95 mCenterPaint.setAlpha(0x80); in onDraw()
98 CENTER_RADIUS + mCenterPaint.getStrokeWidth(), in onDraw()
[all …]