Home | History | Annotate | Download | only in timer

Lines Matching refs:minutes

51     // Ratio of the space trailing the Hours and Minutes
64 // Hours and minutes are signed for when a timer goes past the set time and thus negative
66 // Seconds are always shown with minutes, so are never signed
95 * Class to measure and draw the digit pairs of hours, minutes, seconds or hundredths. Digits
96 * may have an optional label. for hours, minutes and seconds, this label trails the digits
315 * Update the time to display. Separates that time into the hours, minutes, seconds and
332 long hundreds, seconds, minutes, hours;
335 minutes = seconds / 60;
336 seconds = seconds - minutes * 60;
337 hours = minutes / 60;
338 minutes = minutes - hours * 60;
343 // and minutes and seconds could be zero, so since we do not show fractions of seconds
346 if (hours == 0 && minutes == 0 && seconds == 0) {
356 minutes++;
357 if (minutes == 60) {
358 minutes = 0;
379 // Minutes are never empty and when hours are non-empty, must be two digits
380 if (minutes >= 10 || hours > 0) {
382 mMinutes = String.format(format, minutes);
385 mMinutes = String.format(format, minutes);
407 setContentDescription(getTimeStringForAccessibility((int) hours, (int) minutes,
506 private static String getTimeStringForAccessibility(int hours, int minutes, int seconds,
514 if (showNeg && hours == 0 && minutes == 0) {
515 // Non-negative time will always have minutes, eg. "0 minutes 7 seconds", but negative
522 r.getQuantityText(R.plurals.Nminutes_description, minutes).toString(),
523 minutes));
534 r.getQuantityText(R.plurals.Nminutes_description, minutes).toString(),
535 minutes));