HomeSort by relevance Sort by last modified time
    Searched refs:hours (Results 76 - 100 of 211) sorted by null

1 2 34 5 6 7 8 9

  /packages/apps/Gallery2/src/com/android/gallery3d/app/
TimeBar.java 254 int hours = totalSeconds / 3600; local
255 if (hours > 0) {
256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString();
  /external/webkit/Source/WebKit/gtk/WebCoreSupport/
FullscreenVideoController.cpp 489 int hours = seconds / (60 * 60); local
493 if (hours) {
494 if (hours > 9)
495 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
496 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
  /development/samples/Support4Demos/src/com/example/android/supportv4/media/
MediaController.java 209 int hours = totalSeconds / 3600; local
212 if (hours > 0) {
213 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString();
  /external/chromium/base/
time.h 59 static TimeDelta FromHours(int64 hours);
423 inline TimeDelta TimeDelta::FromHours(int64 hours) {
424 return TimeDelta(hours * Time::kMicrosecondsPerHour);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
Utils.java 266 int hours = Integer.parseInt(buildIdParts[buildIdSegment].substring(8, 10)); local
269 calendar.set(year, month, date, hours, min);
278 int hours = Integer.parseInt(buildIdParts[1].substring(0, 2)); local
280 calendar.set(year, month, date, hours, min);
  /external/webkit/Source/WebCore/platform/
DefaultLocalizationStrategy.cpp 850 int hours = seconds / (60 * 60); local
855 return formatLocalizedString(WEB_UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"), days, hours, minutes, seconds);
856 if (hours)
857 return formatLocalizedString(WEB_UI_STRING("%1$d hours %2$d minutes %3$d seconds", "accessibility help text for media controller time value >= 60 minutes"), hours, minutes, seconds);
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
LocalizedStringsGtk.cpp 537 int hours = seconds / (60 * 60); local
542 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
546 if (hours) {
547 GOwnPtr<gchar> string(g_strdup_printf("%d hours %d minutes %d seconds", hours, minutes, seconds));
  /external/webkit/Source/WebKit/qt/WebCoreSupport/
WebPlatformStrategies.cpp 659 int hours = seconds / (60 * 60); local
664 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
666 if (hours)
667 return QCoreApplication::translate("QWebPage", "%1 hours %2 minutes %3 seconds", "Media time description").arg(hours).arg(minutes).arg(seconds);
  /packages/apps/DeskClock/src/com/android/deskclock/
TimePicker.java 147 // 2. hide the hours digits when it is not relevant
151 // Hide digit by passing -2 (for highest hours digit only);
156 // If the user entered 3 to 9 or 24 to 25 , there is no need for a 4th digit (24 hours mode)
158 // Test to see if the highest digit is 2 to 9 for AM/PM or 3 to 9 for 24 hours mode
166 // Test to see if the 2 highest digits are 13 to 15 for AM/PM or 24 to 25 for 24 hours
236 // mode and "30" is 24 hours mode.
261 // For 24 hours mode , can add "00"/"30" if an hour between 0 and 23 was entered
474 int hours = mInput[3] * 10 + mInput[2]; local
475 if (hours == 12) {
482 return hours;
    [all...]
  /frameworks/base/core/java/android/text/format/
DateUtils.java 524 * from seconds up to hours.
531 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); local
533 com.android.internal.R.plurals.duration_hours, hours, hours);
563 // Break the elapsed seconds into hours, minutes, and seconds.
564 long hours = 0; local
568 hours = elapsedSeconds / 3600;
569 elapsedSeconds -= hours * 3600;
590 if (hours > 0) {
591 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString()
    [all...]
Time.java 525 * or subtracting hours or minutes, then you should use
698 int hours = offset / 3600; local
700 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes);
  /external/v8/src/
date.js 145 %SetCode($Date, function(year, month, date, hours, minutes, seconds, ms) {
190 hours = argc > 3 ? ToNumber(hours) : 0;
198 var time = MakeTime(hours, minutes, seconds, ms);
259 var hours = FLOOR((sign * timezoneOffset)/60);
262 TwoDigitString(hours) + TwoDigitString(min);
294 function DateUTC(year, month, date, hours, minutes, seconds, ms) {
299 hours = argc > 3 ? ToNumber(hours) : 0;
307 var time = MakeTime(hours, minutes, seconds, ms)
    [all...]
  /external/webkit/Source/WebKit/win/
FullscreenVideoController.cpp 469 int hours = seconds / (60 * 60); local
473 if (hours) {
474 if (hours > 9)
475 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
476 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialPickerLayout.java 188 // Initialize the hours and minutes numbers.
190 int[] hours = {12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; local
198 String.format("%02d", hours_24[i]) : String.format("%d", hours[i]);
199 innerHoursTexts[i] = String.format("%d", hours[i]);
221 public void setTime(int hours, int minutes) {
222 setItem(HOUR_INDEX, hours);
248 // We'll have the 00 hours on the outside circle.
261 * If the hours are showing, return the current hour. If the minutes are showing, return the
317 * circle (5 on the minutes, 1 or 13 on the hours).
412 * For the currently showing view (either hours or minutes), re-calculate the position for th
    [all...]
TimePickerDialog.java 187 mHourView = (TextView) view.findViewById(R.id.hours);
377 // Show either Hours or Minutes.
384 int hours = mTimePicker.getHours();
386 hours = hours % 12;
388 mTimePicker.setContentDescription(mHourPickerDescription+": "+hours);
550 // For 24-hour mode, the time is legal if the hours and minutes are each legal. Note:
591 * Update the hours, minutes, and AM/PM displays with the typed times. If the typedTimes is
657 * Get the currently-entered time, as integer values of the hours and minutes typed.
660 * hours of minutes. This is helpful for deciding whether to show the dashes, or actual 0's
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 438 int hours = minutes / 60; local
439 if (hours < 10) buffer.append('0');
440 buffer.append(hours);
  /packages/apps/Settings/src/com/android/settings/
DateTimeSettings.java 403 int hours = off / 60; local
406 sb.append((char) ('0' + hours / 10));
407 sb.append((char) ('0' + hours % 10));
  /external/llvm/unittests/Support/
YAMLIOTest.cpp 652 : hours(0), minutes(0), seconds(0) {
655 : hours(secs/3600),
656 minutes((secs - (hours*3600))/60),
660 return TotalSeconds(hours*3600 + minutes*60 + seconds);
663 uint32_t hours; member in class:llvm::yaml::MappingTraits::NormalizedSeconds
671 io.mapOptional("hours", keys->hours, (uint32_t)0);
685 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n");
  /external/webkit/Source/JavaScriptCore/wtf/
DateMath.cpp 607 long hours; local
610 if (!parseLong(currentPosition, &postParsePosition, 10, &hours))
639 // We check the next character to avoid reading +/- timezone hours after an invalid decimal.
661 if (hours < 0 || hours > 24)
663 if (hours == 24 && (minutes || seconds))
720 double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderTheme.cpp 494 int hours = seconds / (60 * 60); local
497 if (hours) {
498 if (hours > 9)
499 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
501 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
    [all...]
  /external/valgrind/main/coregrind/
m_libcprint.c 328 UInt t, ms, s, mins, hours, days; local
339 t /= 60; /* now in hours */
341 hours = t % 24;
346 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
  /frameworks/base/core/java/android/widget/
MediaController.java 409 int hours = totalSeconds / 3600; local
412 if (hours > 0) {
413 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString();
  /external/quake/quake/src/WinQuake/
host_cmd.cpp 68 int hours = 0; local
101 hours = minutes / 60;
102 if (hours)
103 minutes -= (hours * 60);
106 hours = 0;
107 print ("#%-2u %-16.16s %3i %2i:%02i:%02i\n", j+1, client->name, (int)client->edict->u.v.frags, hours, minutes, seconds);
    [all...]
  /external/webkit/Source/WebKit/mac/WebView/
WebVideoFullscreenHUDWindowController.mm 599 int hours = seconds / (60 * 60);
603 if (hours)
604 return [NSString stringWithFormat:@"%d:%02d:%02d", hours, minutes, seconds];
  /external/iptables/extensions/
libxt_time.c 364 static inline void divide_time(unsigned int fulltime, unsigned int *hours,
370 *hours = fulltime / 60;

Completed in 1943 milliseconds

1 2 34 5 6 7 8 9