Home
last modified time | relevance | path

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

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java34 public int hours; field in Duration
52 hours = 0; in parse()
101 hours = n; in parse()
133 cal.add(Calendar.HOUR, sign*hours); in addTo()
146 + (60*60*hours) in getMillis()
/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java102 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
109 hours = seconds / SECONDS_PER_HOUR; in formatDurationLocked()
110 seconds -= hours * SECONDS_PER_HOUR; in formatDurationLocked()
121 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
138 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DDurationTest.java27 int sign, int weeks, int days, int hours, in verifyDuration() argument
36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours); in verifyDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java321 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
328 hours = seconds / SECONDS_PER_HOUR; in formatDurationLocked()
329 seconds -= hours * SECONDS_PER_HOUR; in formatDurationLocked()
340 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
357 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java190 int[] hours = {12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in initialize() local
198 String.format("%02d", hours_24[i]) : String.format("%d", hours[i]); in initialize()
199 innerHoursTexts[i] = String.format("%d", hours[i]); in initialize()
221 public void setTime(int hours, int minutes) { in setTime() argument
222 setItem(HOUR_INDEX, hours); in setTime()
DTimePickerDialog.java187 mHourView = (TextView) view.findViewById(R.id.hours); in onCreateView()
384 int hours = mTimePicker.getHours();
386 hours = hours % 12;
388 mTimePicker.setContentDescription(mHourPickerDescription+": "+hours);
/frameworks/base/core/java/android/text/format/
DDateUtils.java531 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); in formatDuration() local
533 com.android.internal.R.plurals.duration_hours, hours, hours); in formatDuration()
564 long hours = 0; in formatElapsedTime() local
568 hours = elapsedSeconds / 3600; in formatElapsedTime()
569 elapsedSeconds -= hours * 3600; in formatElapsedTime()
590 if (hours > 0) { in formatElapsedTime()
591 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString(); in formatElapsedTime()
DTime.java698 int hours = offset / 3600; in format3339() local
700 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes); in format3339()
DDateFormat.java604 int hours = offset / 3600; in formatZoneOffset() local
607 tb.append(zeroPad(hours, 2)); in formatZoneOffset()
/frameworks/base/core/java/android/widget/
DMediaController.java409 int hours = totalSeconds / 3600; in stringForTime() local
412 if (hours > 0) { in stringForTime()
413 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
/frameworks/rs/scriptc/
Drs_time.rsh52 int tm_hour; ///< hours
/frameworks/base/docs/html/distribute/googleplay/edu/
Dabout.jd60 just minutes or hours rather than days.</p>
/frameworks/base/docs/html/training/in-app-billing/
Dtest-iab-app.jd45 … test it. <p class="note"><strong>Warning:</strong> It may take up to 2-3 hours after uploading th…
Dlist-iab-products.jd45 …chase it. <p class="note"><strong>Warning:</strong> It may take up to 2-3 hours after uploading th…
/frameworks/base/core/java/android/os/
DBatteryStats.java1053 long hours = (seconds - used) / (60 * 60); in formatTimeRaw() local
1054 if (hours != 0 || used != 0) { in formatTimeRaw()
1055 out.append(hours); in formatTimeRaw()
1058 used += hours * 60 * 60; in formatTimeRaw()
/frameworks/base/docs/html/distribute/googleplay/about/
Ddistribution.jd13 hours, not weeks.</p>
/frameworks/base/docs/html/google/gcm/
Dgs.jd96 … key will be created while the old one will still be active for up to 24 hours. If you want to ge…
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd532 be every two hours, and a second instance of the App Widget is added one hour
535 every two hours, not every hour).</p>
/frameworks/base/docs/html/distribute/googleplay/publish/
Dpreparing.jd608 …he <strong>Publish</strong> button in the Developer Console. Within a few hours, your app will bec…
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_overview.jd619 activity is paused. Failing to do so can drain the battery in just a few hours because some sensors