Home | History | Annotate | Download | only in util

Lines Matching refs:seconds

41      * Update the time to display. Separates that time into the hours, minutes, seconds.
54 long seconds = time / 1000;
55 long hundreds = (time - seconds * 1000) / 10;
56 long minutes = seconds / 60;
57 seconds = seconds - minutes * 60;
63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours
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) {
72 seconds++;
73 if (seconds == 60) {
74 seconds = 0;
103 // Seconds are always two digits
104 mSeconds = String.format(TWO_DIGITS, seconds);