HomeSort by relevance Sort by last modified time
    Searched defs:hours (Results 26 - 50 of 283) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/openssh/
progressmeter.c 129 int hours, minutes, seconds; local
208 hours = seconds / 3600;
209 seconds -= hours * 3600;
213 if (hours != 0)
215 "%d:%02d:%02d", hours, minutes, seconds);
  /external/replicaisland/src/com/replica/replicaisland/
GameOverActivity.java 94 float hours = minutes / 60.0f; local
96 int totalHours = (int)Math.floor(hours);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 581 int hours = offset / 3600; local
584 tb.append(zeroPad(hours, 2));
DateUtils.java 354 * from seconds up to hours.
361 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); local
363 com.android.internal.R.plurals.duration_hours, hours, hours);
393 // Break the elapsed seconds into hours, minutes, and seconds.
394 long hours = 0; local
398 hours = elapsedSeconds / 3600;
399 elapsedSeconds -= hours * 3600;
420 if (hours > 0) {
421 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString()
    [all...]
  /frameworks/base/media/java/android/media/
SRTRenderer.java 194 long hours = Long.parseLong(in.split(":")[0].trim()); local
199 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
  /libcore/luni/src/main/java/javax/xml/datatype/
Duration.java 34 * which consists of six fields (years, months, days, hours,
161 boolean hourSet = isSet(DatatypeConstants.HOURS);
260 * Obtains the value of the HOURS field as an integer value,
264 * that this method works on the HOURS field.
266 * @return Hours of this <code>Duration</code>.
270 return getFieldValueAsInt(DatatypeConstants.HOURS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method
406 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
907 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmUtils.java 156 * format "Alarm set for 2 days, 7 hours, and 53 minutes from now."
172 int hours = (int) delta / (1000 * 60 * 60); local
174 final int days = hours / 24;
175 hours = hours % 24;
179 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, hours);
182 final boolean showHours = hours > 0;
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
Stopwatches.java 120 long hundreds, seconds, minutes, hours; local
125 hours = minutes / 60;
126 minutes = minutes - hours * 60;
127 if (hours >= 100) {
129 } else if (hours >= 10) {
131 } else if (hours > 0) {
138 return String.format(formats[formatIndex], hours, minutes,
150 long hundreds, seconds, minutes, hours; local
155 hours = minutes / 60;
156 minutes = minutes - hours * 60
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
TimePicker.java 46 public int hours = 0; field in class:TimePicker.ColumnOrder
58 // Hours and minutes are always shown with hours on the left
59 hours = 1;
65 hours++;
103 // PM case, valid hours: 12-23
109 // AM case, valid hours: 0-11
145 updateSelection(mColumnOrder.hours, mIs24hFormat ? hour : (hour - 1));
162 PickerColumn hours = new PickerColumn(mIs24hFormat ? mConstant.hours24 : mConstant.hours12); local
164 ret.set(mColumnOrder.hours, hours)
    [all...]
  /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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 237 int hours = offset / 3600; local
238 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
  /external/valgrind/coregrind/
m_libcprint.c 377 UInt t, ms, s, mins, hours, days; local
390 t /= 60; /* now in hours */
392 hours = t % 24;
397 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
  /external/vogar/src/vogar/
Console.java 296 long hours = elapsedTime / HOUR_MILLIS; local
297 formatted = String.format("%d hours ago", hours);
  /frameworks/base/core/java/android/util/
TimeUtils.java 344 int days = 0, hours = 0, minutes = 0; local
351 hours = seconds / SECONDS_PER_HOUR;
352 seconds -= hours * SECONDS_PER_HOUR;
363 myLen += accumField(hours, 1, myLen > 0, 2);
380 pos = printFieldLocked(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
PlaybackControlsPresenter.java 184 int hours = minutes / 60; local
186 minutes -= hours * 60;
189 if (hours > 0) {
190 sb.append(hours).append(':');
  /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();
  /packages/apps/Launcher3/src/com/android/launcher3/
WeightWatcher.java 196 long hours = sec / 3600; local
197 if (hours > 0) {
198 sec -= hours * 3600;
199 sb.append(hours);
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
OpenGLWatchFaceService.java 445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; local
448 final int hoursIndex = (int) (hours / 12f * 360f);
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
OpenGLWatchFaceService.java 445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; local
448 final int hoursIndex = (int) (hours / 12f * 360f);
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
OpenGLWatchFaceService.java 445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; local
448 final int hoursIndex = (int) (hours / 12f * 360f);
  /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);
  /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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneAliasTest.java 217 static public String formatHours(int hours) {
218 return nf.format(hours/DHOUR);
396 String hours = formatHours(minRecentOffset) local
401 return id + getPurportedAliasesAsString() + " (" + hours + ")";
404 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerReceiver.java 373 long seconds, minutes, hours; local
376 hours = minutes / 60;
377 minutes = minutes - hours * 60;
378 if (hours > 99) {
379 hours = 0;
385 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours,
386 (int) hours);
388 boolean dispHour = hours > 0;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DateTimeActivity.java 345 int hours = (int) (off / 60); local
348 sb.append((char) ('0' + hours / 10));
349 sb.append((char) ('0' + hours % 10));

Completed in 829 milliseconds

12 3 4 5 6 7 8 91011>>