Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java87 private Paint mTickAndCirclePaint; field in SweepWatchFaceService.Engine
150 mTickAndCirclePaint = new Paint(); in onCreate()
151 mTickAndCirclePaint.setColor(mWatchHandColor); in onCreate()
152 mTickAndCirclePaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate()
153 mTickAndCirclePaint.setAntiAlias(true); in onCreate()
154 mTickAndCirclePaint.setStyle(Paint.Style.STROKE); in onCreate()
155 mTickAndCirclePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
214 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle()
219 mTickAndCirclePaint.setAntiAlias(false); in updateWatchHandStyle()
224 mTickAndCirclePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DAnalogWatchFaceService.java96 private Paint mTickAndCirclePaint; field in AnalogWatchFaceService.Engine
178 mTickAndCirclePaint = new Paint(); in onCreate()
179 mTickAndCirclePaint.setColor(mWatchHandColor); in onCreate()
180 mTickAndCirclePaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate()
181 mTickAndCirclePaint.setAntiAlias(true); in onCreate()
182 mTickAndCirclePaint.setStyle(Paint.Style.STROKE); in onCreate()
183 mTickAndCirclePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
249 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle()
254 mTickAndCirclePaint.setAntiAlias(false); in updateWatchHandStyle()
259 mTickAndCirclePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DComplicationSimpleWatchFaceService.java118 private Paint mTickAndCirclePaint; field in ComplicationSimpleWatchFaceService.Engine
241 mTickAndCirclePaint = new Paint(); in initializeWatchFace()
242 mTickAndCirclePaint.setColor(mWatchHandColor); in initializeWatchFace()
243 mTickAndCirclePaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in initializeWatchFace()
244 mTickAndCirclePaint.setAntiAlias(true); in initializeWatchFace()
245 mTickAndCirclePaint.setStyle(Paint.Style.STROKE); in initializeWatchFace()
246 mTickAndCirclePaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in initializeWatchFace()
430 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle()
435 mTickAndCirclePaint.setAntiAlias(false); in updateWatchHandStyle()
440 mTickAndCirclePaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]