Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitStepsWatchFaceService.java363 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() method in FitStepsWatchFaceService.Engine
384 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
401 String minuteString = formatTwoDigitNumber(mCalendar.get(Calendar.MINUTE)); in onDraw()
411 canvas.drawText(formatTwoDigitNumber( in onDraw()
DFitDistanceWatchFaceService.java362 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() method in FitDistanceWatchFaceService.Engine
383 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
400 String minuteString = formatTwoDigitNumber(mCalendar.get(Calendar.MINUTE)); in onDraw()
410 canvas.drawText(formatTwoDigitNumber( in onDraw()
DDigitalWatchFaceService.java441 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() method in DigitalWatchFaceService.Engine
467 hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); in onDraw()
486 String minuteString = formatTwoDigitNumber(mCalendar.get(Calendar.MINUTE)); in onDraw()
497 canvas.drawText(formatTwoDigitNumber( in onDraw()