Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DCountingTimerView.java331 long hundreds, seconds, minutes, hours; in setTime() local
336 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 …]
DTimerReceiver.java373 long seconds, minutes, hours; in buildTimeRemaining() local
376 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()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatches.java120 long hundreds, seconds, minutes, hours; in getTimeText() local
125 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() local
155 hours = minutes / 60; in formatTimeText()
156 minutes = minutes - hours * 60; in formatTimeText()
[all …]
/packages/apps/InCallUI/src/com/android/incallui/
DInCallDateUtils.java16 int hours = 0; in formatDuration() local
21 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DTimePicker.java46 public int hours = 0; field in TimePicker.ColumnOrder
59 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() local
164 ret.set(mColumnOrder.hours, hours); in getColumns()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java172 int hours = (int) delta / (1000 * 60 * 60); in formatElapsedTimeUntilAlarm() local
174 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()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1003 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local
1009 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DWeightWatcher.java196 long hours = sec / 3600; in getUptimeString() local
197 if (hours > 0) { in getUptimeString()
198 sec -= hours * 3600; in getUptimeString()
199 sb.append(hours); in getUptimeString()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeVoiceActivity.java121 int hours = minutes / 60; in getChangeSummary() local
122 return res.getQuantityString(byHour, hours, hours, formattedTime); in getChangeSummary()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java254 int hours = totalSeconds / 3600; in stringForTime() local
255 if (hours > 0) { in stringForTime()
256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeActivity.java345 int hours = (int) (off / 60); in formatOffset() local
348 sb.append((char) ('0' + hours / 10)); in formatOffset()
349 sb.append((char) ('0' + hours % 10)); in formatOffset()
DSetDateTimeActivity.java83 int hour = Integer.parseInt(result.get(columnOrder.hours)); in onCommitResult()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1559 long hours = minutes / 60; in millisecondToTimeString() local
1560 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()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java235 duration.hours = 0; in performInstanceExpansion()
306 duration.hours = 0; in performInstanceExpansion()
316 duration.hours = 0; in performInstanceExpansion()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1777 long hours = minutes / 60; in millisecondToTimeString() local
1778 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()
/packages/apps/Camera/src/com/android/camera/
DVideoModule.java1799 long hours = minutes / 60; in millisecondToTimeString() local
1800 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()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dro_wordlist.combined.gz