Searched refs:hours (Results 1 – 20 of 20) sorted by relevance
42 final int hours; in formatTimeRemaining() local53 hours = roundedHours; in formatTimeRemaining()56 hours = roundedHours; in formatTimeRemaining()61 hours = roundedHours; in formatTimeRemaining()67 hours = roundedHours; in formatTimeRemaining()72 final String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, in formatTimeRemaining()73 hours); in formatTimeRemaining()78 final String remainingSuffix = context.getString((minutes > 1 || hours > 1 || seconds > 1) in formatTimeRemaining()82 final boolean showHours = hours > 0; in formatTimeRemaining()
76 int hours = (int) delta / (1000 * 60 * 60); in formatElapsedTimeUntilAlarm() local78 final int days = hours / 24; in formatElapsedTimeUntilAlarm()79 hours = hours % 24; in formatElapsedTimeUntilAlarm()83 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, hours); in formatElapsedTimeUntilAlarm()86 final boolean showHours = hours > 0; in formatElapsedTimeUntilAlarm()
43 int hours = (int) (remainingTime / HOUR_IN_MILLIS); in setTimeString() local60 hours++; in setTimeString()65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); in setTimeString()66 if (isNegative && !(hours == 0 && minutes == 0 && seconds == 0)) { in setTimeString()
573 context, R.plurals.hours, Math.abs(hoursDifferent)); in createHoursDifferentString()591 static String getTimeString(Context context, int hours, int minutes, int seconds) { in getTimeString() argument592 if (hours != 0) { in getTimeString()593 return context.getString(R.string.hours_minutes_seconds, hours, minutes, seconds); in getTimeString()
50 final int hours = (int) (accumulatedTime / HOUR_IN_MILLIS); in setTimeString() local66 final String time = Utils.getTimeString(context, hours, minutes, seconds); in setTimeString()
207 final int hours = mInput[5] * 10 + mInput[4]; in updateTime() local211 uidm.getFormattedNumber(hours, 2), in updateTime()217 r.getQuantityString(R.plurals.hours, hours, hours), in updateTime()308 final int hours = mInput[5] * 10 + mInput[4]; in getTimeInMillis() local311 + hours * DateUtils.HOUR_IN_MILLIS; in getTimeInMillis()
242 final int hours, minutes, seconds, hundredths; in formatTime() local245 hours = minutes = seconds = hundredths = 0; in formatTime()247 hours = (int) (time / DateUtils.HOUR_IN_MILLIS); in formatTime()269 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 1)); in formatTime()273 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 2)); in formatTime()277 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 3)); in formatTime()
192 long hours = sec / 3600; in getUptimeString() local193 if (hours > 0) { in getUptimeString()194 sec -= hours * 3600; in getUptimeString()195 sb.append(hours); in getUptimeString()
89 final int hours = (int) callDuration / 3600; in formatDuration() local93 if (hours > 0) { in formatDuration()94 return context.getString(R.string.callDurationHourFormat, hours, minutes, seconds); in formatDuration()
121 int hours = minutes / 60; in getChangeSummary() local122 return res.getQuantityString(byHour, hours, hours, formattedTime); in getChangeSummary()
254 int hours = totalSeconds / 3600; in stringForTime() local255 if (hours > 0) { in stringForTime()256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
815 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local821 hours = seconds / SECONDS_PER_HOUR; in formatElapsedTime()822 seconds -= hours * SECONDS_PER_HOUR; in formatElapsedTime()833 if (hours > 0) { in formatElapsedTime()834 measureList.add(new Measure(hours, MeasureUnit.HOUR)); in formatElapsedTime()
1557 long hours = minutes / 60; in millisecondToTimeString() local1558 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString()1564 if (hours > 0) { in millisecondToTimeString()1565 if (hours < 10) { in millisecondToTimeString()1568 timeStringBuilder.append(hours); in millisecondToTimeString()
235 duration.hours = 0; in performInstanceExpansion()306 duration.hours = 0; in performInstanceExpansion()316 duration.hours = 0; in performInstanceExpansion()
1777 long hours = minutes / 60; in millisecondToTimeString() local1778 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString()1784 if (hours > 0) { in millisecondToTimeString()1785 if (hours < 10) { in millisecondToTimeString()1788 timeStringBuilder.append(hours); in millisecondToTimeString()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...