Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitStepsWatchFaceService.java147 private Paint mColonPaint; field in FitStepsWatchFaceService.Engine
215 mColonPaint = createTextPaint(TEXT_COLON_COLOR); in onCreate()
308 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()
311 mColonWidth = mColonPaint.measureText(COLON_STRING); in onApplyWindowInsets()
353 mColonPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
396 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()
408 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()
DFitDistanceWatchFaceService.java151 private Paint mColonPaint; field in FitDistanceWatchFaceService.Engine
218 mColonPaint = createTextPaint(TEXT_COLON_COLOR); in onCreate()
312 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()
316 mColonWidth = mColonPaint.measureText(COLON_STRING); in onApplyWindowInsets()
352 mColonPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
395 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()
407 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()
DDigitalWatchFaceService.java154 Paint mColonPaint; field in DigitalWatchFaceService.Engine
211 mColonPaint = createTextPaint( in onCreate()
313 mColonPaint.setTextSize(textSize); in onApplyWindowInsets()
315 mColonWidth = mColonPaint.measureText(COLON_STRING); in onApplyWindowInsets()
366 mColonPaint.setAntiAlias(antiAlias); in onAmbientModeChanged()
397 mColonPaint.setAlpha(alpha); in onInterruptionFilterChanged()
481 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()
494 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw()