Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerStringFormatter.java42 final int hours; in formatTimeRemaining() local
53 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()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java76 int hours = (int) delta / (1000 * 60 * 60); in formatElapsedTimeUntilAlarm() local
78 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()
DTimerTextController.java43 int hours = (int) (remainingTime / HOUR_IN_MILLIS); in setTimeString() local
60 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()
DUtils.java573 context, R.plurals.hours, Math.abs(hoursDifferent)); in createHoursDifferentString()
591 static String getTimeString(Context context, int hours, int minutes, int seconds) { in getTimeString() argument
592 if (hours != 0) { in getTimeString()
593 return context.getString(R.string.hours_minutes_seconds, hours, minutes, seconds); in getTimeString()
DStopwatchTextController.java50 final int hours = (int) (accumulatedTime / HOUR_IN_MILLIS); in setTimeString() local
66 final String time = Utils.getTimeString(context, hours, minutes, seconds); in setTimeString()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java207 final int hours = mInput[5] * 10 + mInput[4]; in updateTime() local
211 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() local
311 + hours * DateUtils.HOUR_IN_MILLIS; in getTimeInMillis()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java242 final int hours, minutes, seconds, hundredths; in formatTime() local
245 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()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java192 long hours = sec / 3600; in getUptimeString() local
193 if (hours > 0) { in getUptimeString()
194 sec -= hours * 3600; in getUptimeString()
195 sb.append(hours); in getUptimeString()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactInteractionUtil.java89 final int hours = (int) callDuration / 3600; in formatDuration() local
93 if (hours > 0) { in formatDuration()
94 return context.getString(R.string.callDurationHourFormat, hours, minutes, seconds); in formatDuration()
/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/Settings/src/com/android/settings/
DUtils.java815 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local
821 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()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1557 long hours = minutes / 60; in millisecondToTimeString() local
1558 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()
/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/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dro_wordlist.combined.gz