Searched refs:showHours (Results 1 – 5 of 5) sorted by relevance
56 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() argument80 if (showHours) { in formatTime()
82 final boolean showHours = hours > 0; in formatTimeRemaining()87 if (showHours) { in formatTimeRemaining()
84 val showHours = hours > 0 in formatTimeRemaining() constant89 if (showHours) { in formatTimeRemaining()
89 val showHours = hours > 0 in formatElapsedTimeUntilAlarm() constant94 or (if (showHours) 2 else 0) in formatElapsedTimeUntilAlarm()
86 final boolean showHours = hours > 0; in formatElapsedTimeUntilAlarm()90 final int index = (showDays ? 1 : 0) | (showHours ? 2 : 0) | (showMinutes ? 4 : 0); in formatElapsedTimeUntilAlarm()