Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java86 private Paint mSecondPaint; field in SweepWatchFaceService.Engine
143 mSecondPaint = new Paint(); in onCreate()
144 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate()
145 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate()
146 mSecondPaint.setAntiAlias(true); in onCreate()
147 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in onCreate()
148 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
213 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle()
218 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle()
223 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DAnalogWatchFaceService.java95 private Paint mSecondPaint; field in AnalogWatchFaceService.Engine
171 mSecondPaint = new Paint(); in onCreate()
172 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate()
173 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in onCreate()
174 mSecondPaint.setAntiAlias(true); in onCreate()
175 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in onCreate()
176 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in onCreate()
248 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle()
253 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle()
258 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DComplicationSimpleWatchFaceService.java115 private Paint mSecondPaint; field in ComplicationSimpleWatchFaceService.Engine
232 mSecondPaint = new Paint(); in initializeWatchFace()
233 mSecondPaint.setColor(mWatchHandHighlightColor); in initializeWatchFace()
234 mSecondPaint.setStrokeWidth(SECOND_TICK_STROKE_WIDTH); in initializeWatchFace()
235 mSecondPaint.setAntiAlias(true); in initializeWatchFace()
236 mSecondPaint.setStrokeCap(Paint.Cap.ROUND); in initializeWatchFace()
237 mSecondPaint.setShadowLayer(SHADOW_RADIUS, 0, 0, mWatchHandShadowColor); in initializeWatchFace()
409 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle()
414 mSecondPaint.setAntiAlias(false); in updateWatchHandStyle()
419 mSecondPaint.clearShadowLayer(); in updateWatchHandStyle()
[all …]
DDigitalWatchFaceService.java151 Paint mSecondPaint; field in DigitalWatchFaceService.Engine
206 mSecondPaint = createTextPaint(mInteractiveSecondDigitsColor); in onCreate()
307 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
352 adjustPaintColorToCurrentMode(mSecondPaint, mInteractiveSecondDigitsColor, in onAmbientModeChanged()
360 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
434 updatePaintIfInteractive(mSecondPaint, color); in setInteractiveSecondDigitsColor()
494 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw()
DFitStepsWatchFaceService.java145 private Paint mSecondPaint; field in FitStepsWatchFaceService.Engine
213 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate()
306 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
351 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
412 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local
DFitDistanceWatchFaceService.java149 private Paint mSecondPaint; field in FitDistanceWatchFaceService.Engine
216 mSecondPaint = createTextPaint(TEXT_SECONDS_COLOR); in onCreate()
310 mSecondPaint.setTextSize(textSize); in onApplyWindowInsets()
350 mSecondPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
411 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local