Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceService.java381 String hourString; in onDraw() local
383 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
389 hourString = String.valueOf(hour); in onDraw()
391 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw()
392 x += mHourPaint.measureText(hourString); in onDraw()
DFitStepsWatchFaceService.java382 String hourString; in onDraw() local
384 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
390 hourString = String.valueOf(hour); in onDraw()
392 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw()
393 x += mHourPaint.measureText(hourString); in onDraw()
DDigitalWatchFaceService.java465 String hourString; in onDraw()
467 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
473 hourString = String.valueOf(hour); in onDraw()
475 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw()
476 x += mHourPaint.measureText(hourString); in onDraw()