Home
last modified time | relevance | path

Searched refs:showHours (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackProgress.java56 boolean showHours = TimeUnit.MILLISECONDS.toHours(mMaxProgress) > 0; in getCurrentTimeText()
57 return formatTime(mProgress, showHours); in getCurrentTimeText()
64 boolean showHours = TimeUnit.MILLISECONDS.toHours(mMaxProgress) > 0; in getMaxTimeText()
65 return formatTime(mMaxProgress, showHours); in getMaxTimeText()
76 private static String formatTime(long millis, boolean showHours) { in formatTime() argument
80 if (showHours) { in formatTime()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerStringFormatter.java82 final boolean showHours = hours > 0; in formatTimeRemaining()
87 if (showHours) { in formatTimeRemaining()
DTimerStringFormatter.kt84 val showHours = hours > 0 in formatTimeRemaining() constant
89 if (showHours) { in formatTimeRemaining()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.kt89 val showHours = hours > 0 in formatElapsedTimeUntilAlarm() constant
94 or (if (showHours) 2 else 0) in formatElapsedTimeUntilAlarm()
DAlarmUtils.java86 final boolean showHours = hours > 0; in formatElapsedTimeUntilAlarm()
90 final int index = (showDays ? 1 : 0) | (showHours ? 2 : 0) | (showMinutes ? 4 : 0); in formatElapsedTimeUntilAlarm()