Home | History | Annotate | Download | only in util

Lines Matching refs:minutes

41      * Update the time to display. Separates that time into the hours, minutes, seconds.
56 long minutes = seconds / 60;
57 seconds = seconds - minutes * 60;
58 long hours = minutes / 60;
59 minutes = minutes - hours * 60;
64 // and minutes and seconds could be zero, so since we do not show fractions of seconds
66 if (hours == 0 && minutes == 0 && seconds == 0) {
75 minutes++;
76 if (minutes == 60) {
77 minutes = 0;
94 // Minutes are never empty and when hours are non-empty, must be two digits
95 if (minutes >= 10 || hours > 0) {
97 mMinutes = String.format(format, minutes);
100 mMinutes = String.format(format, minutes);