Searched refs:hours (Results 1 – 21 of 21) sorted by relevance
331 long hundreds, seconds, minutes, hours; in setTime() local336 hours = minutes / 60; in setTime()337 minutes = minutes - hours * 60; in setTime()338 if (hours > 999) { in setTime()339 hours = 0; in setTime()345 if (hours == 0 && minutes == 0 && seconds == 0) { in setTime()358 hours++; in setTime()368 if (hours >= 10) { in setTime()370 mHours = String.format(format, hours); in setTime()371 } else if (hours > 0) { in setTime()[all …]
373 long seconds, minutes, hours; in buildTimeRemaining() local376 hours = minutes / 60; in buildTimeRemaining()377 minutes = minutes - hours * 60; in buildTimeRemaining()378 if (hours > 99) { in buildTimeRemaining()379 hours = 0; in buildTimeRemaining()385 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, in buildTimeRemaining()386 (int) hours); in buildTimeRemaining()388 boolean dispHour = hours > 0; in buildTimeRemaining()
120 long hundreds, seconds, minutes, hours; in getTimeText() local125 hours = minutes / 60; in getTimeText()126 minutes = minutes - hours * 60; in getTimeText()127 if (hours >= 100) { in getTimeText()129 } else if (hours >= 10) { in getTimeText()131 } else if (hours > 0) { in getTimeText()138 return String.format(formats[formatIndex], hours, minutes, in getTimeText()150 long hundreds, seconds, minutes, hours; in formatTimeText() local155 hours = minutes / 60; in formatTimeText()156 minutes = minutes - hours * 60; in formatTimeText()[all …]
16 int hours = 0; in formatDuration() local21 hours = elapsedSeconds / 3600; in formatDuration()22 elapsedSeconds -= hours * 3600; in formatDuration()33 if (hours > 0) { in formatDuration()34 duration.append(res.getQuantityString(R.plurals.duration_hours, hours, hours)); in formatDuration()37 if (hours > 0) { in formatDuration()43 if (hours > 0 || minutes > 0) { in formatDuration()
46 public int hours = 0; field in TimePicker.ColumnOrder59 hours = 1; in ColumnOrder()65 hours++; in ColumnOrder()145 updateSelection(mColumnOrder.hours, mIs24hFormat ? hour : (hour - 1)); in setTime()162 PickerColumn hours = new PickerColumn(mIs24hFormat ? mConstant.hours24 : mConstant.hours12); in getColumns() local164 ret.set(mColumnOrder.hours, hours); in getColumns()
172 int hours = (int) delta / (1000 * 60 * 60); in formatElapsedTimeUntilAlarm() local174 final int days = hours / 24; in formatElapsedTimeUntilAlarm()175 hours = hours % 24; in formatElapsedTimeUntilAlarm()179 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, hours); in formatElapsedTimeUntilAlarm()182 final boolean showHours = hours > 0; in formatElapsedTimeUntilAlarm()
1003 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local1009 hours = seconds / SECONDS_PER_HOUR; in formatElapsedTime()1010 seconds -= hours * SECONDS_PER_HOUR; in formatElapsedTime()1019 days, hours, minutes, seconds)); in formatElapsedTime()1020 } else if (hours > 0) { in formatElapsedTime()1022 hours, minutes, seconds)); in formatElapsedTime()1031 days, hours, minutes)); in formatElapsedTime()1032 } else if (hours > 0) { in formatElapsedTime()1034 hours, minutes)); in formatElapsedTime()
196 long hours = sec / 3600; in getUptimeString() local197 if (hours > 0) { in getUptimeString()198 sec -= hours * 3600; in getUptimeString()199 sb.append(hours); in getUptimeString()
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()
345 int hours = (int) (off / 60); in formatOffset() local348 sb.append((char) ('0' + hours / 10)); in formatOffset()349 sb.append((char) ('0' + hours % 10)); in formatOffset()
83 int hour = Integer.parseInt(result.get(columnOrder.hours)); in onCommitResult()
1559 long hours = minutes / 60; in millisecondToTimeString() local1560 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString()1566 if (hours > 0) { in millisecondToTimeString()1567 if (hours < 10) { in millisecondToTimeString()1570 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()
1799 long hours = minutes / 60; in millisecondToTimeString() local1800 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString()1806 if (hours > 0) { in millisecondToTimeString()1807 if (hours < 10) { in millisecondToTimeString()1810 timeStringBuilder.append(hours); in millisecondToTimeString()
1dictionary=main:en,locale=en,description=English,date=1414726273, ...