HomeSort by relevance Sort by last modified time
    Searched refs:hours (Results 101 - 125 of 616) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/Launcher3/src/com/android/launcher3/testing/
WeightWatcher.java 192 long hours = sec / 3600; local
193 if (hours > 0) {
194 sec -= hours * 3600;
195 sb.append(hours);
  /system/core/storaged/include/
storaged_uid_monitor.h 103 double hours, uint64_t threshold, bool force_report);
  /external/ltp/testcases/kernel/io/disktest/
stats.c 310 hread_time, time_struct.hours,
318 hwrite_time, time_struct.hours,
328 read_time, time_struct.hours,
336 write_time, time_struct.hours,
347 time_struct.hours,
356 time_struct.hours,
366 time_struct.days, time_struct.hours,
  /frameworks/base/core/java/android/text/format/
DateUtils.java 360 * from seconds up to hours.
371 * from seconds up to hours.
374 * locales may not have abbreviations). Use LENGTH_LONG for the full spelling (e.g. "2 hours"),
398 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); local
399 return formatter.format(new Measure(hours, MeasureUnit.HOUR));
427 // Break the elapsed seconds into hours, minutes, and seconds.
428 long hours = 0; local
432 hours = elapsedSeconds / 3600;
433 elapsedSeconds -= hours * 3600;
454 if (hours > 0)
    [all...]
  /frameworks/base/core/java/android/util/
TimeUtils.java 343 int days = 0, hours = 0, minutes = 0; local
350 hours = seconds / SECONDS_PER_HOUR;
351 seconds -= hours * SECONDS_PER_HOUR;
362 myLen += accumField(hours, 1, myLen > 0, 2);
379 pos = printFieldLocked(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0);
  /frameworks/base/packages/Osu/src/com/android/hotspot2/app/
MainActivity.java 198 long hours = TimeUnit.SECONDS.toHours(timeSeconds); local
199 long minutes = TimeUnit.SECONDS.toMinutes(timeSeconds) - TimeUnit.HOURS.toMinutes(hours);
201 timeSeconds - TimeUnit.HOURS.toSeconds(hours) - TimeUnit.MINUTES.toSeconds(minutes);
202 if (hours > 0) {
203 return String.format("%02d:%02d:%02d", hours, minutes, seconds);
  /libcore/ojluni/src/main/java/java/time/chrono/
ChronoLocalDateTimeImpl.java 108 * Hours per day.
313 case HOURS: return plusHours(amountToAdd);
325 private ChronoLocalDateTimeImpl<D> plusHours(long hours) {
326 return plusWithOverflow(date, hours, 0, 0, 0);
342 private ChronoLocalDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seconds, long nanos) {
344 if ((hours | minutes | seconds | nanos) == 0) {
350 hours / HOURS_PER_DAY; // max/24
354 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000
384 case HOURS: amount = Math.multiplyExact(amount, HOURS_PER_DAY); break;
  /external/icu/icu4c/source/i18n/
utmscale.c 21 #define hours (minutes * 60) macro
22 #define days (hours * 24)
  /external/replicaisland/src/com/replica/replicaisland/
GameOverActivity.java 94 float hours = minutes / 60.0f; local
96 int totalHours = (int)Math.floor(hours);
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKZoneOffset.java 640 private void doTestOffset(ZoneOffset offset, int hours, int minutes, int seconds) {
641 assertEquals(offset.getTotalSeconds(), hours * 60 * 60 + minutes * 60 + seconds);
643 if (hours == 0 && minutes == 0 && seconds == 0) {
646 String str = (hours < 0 || minutes < 0 || seconds < 0) ? "-" : "+";
647 str += Integer.toString(Math.abs(hours) + 100).substring(1);
657 assertEquals(offset, ZoneOffset.ofHoursMinutesSeconds(hours, minutes, seconds));
659 assertEquals(offset, ZoneOffset.ofHoursMinutes(hours, minutes));
661 assertEquals(offset, ZoneOffset.ofHours(hours));
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
PlaybackControlsPresenter.java 190 long hours = minutes / 60; local
192 minutes -= hours * 60;
195 if (hours > 0) {
196 sb.append(hours).append(':');
  /external/toybox/toys/pending/
last.c 74 unsigned days, hours, mins; local
82 hours = (mins = (mins%(24*60)))/60;
84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
  /libcore/ojluni/src/main/java/sun/util/calendar/
AbstractCalendar.java 230 int hours = time / HOUR_IN_MILLIS; local
236 cdate.setHours(hours);
241 if (hours < 24 && normalizedState) {
  /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();
  /system/core/storaged/
storaged_service.cpp 95 double hours = 0; local
101 if (arg == String16("--hours")) {
104 if(!ParseDouble(String8(args[i]).c_str(), &hours))
130 storaged->get_uid_records(hours, threshold, force_report);
storaged_uid_monitor.cpp 110 static const int MAX_UID_RECORDS_SIZE = 1000 * 48; // 1000 uids in 48 hours
162 double hours, uint64_t threshold, bool force_report)
173 if (hours != 0) {
174 first_ts = time(NULL) - hours * HOUR_TO_SEC;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneAliasTest.java 223 static public String formatHours(int hours) {
224 return nf.format(hours/DHOUR);
402 String hours = formatHours(minRecentOffset) local
407 return id + getPurportedAliasesAsString() + " (" + hours + ")";
410 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneAliasTest.java 222 static public String formatHours(int hours) {
223 return nf.format(hours/DHOUR);
401 String hours = formatHours(minRecentOffset) local
406 return id + getPurportedAliasesAsString() + " (" + hours + ")";
409 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours
  /libcore/ojluni/src/main/java/java/time/
LocalTime.java 143 private static final LocalTime[] HOURS = new LocalTime[24];
145 for (int i = 0; i < HOURS.length; i++) {
146 HOURS[i] = new LocalTime(i, 0, 0, 0);
148 MIDNIGHT = HOURS[0];
149 NOON = HOURS[12];
150 MIN = HOURS[0];
155 * Hours per day.
292 return HOURS[hour]; // for performance
313 return HOURS[hour]; // for performance
353 int hours = (int) (secondOfDay / SECONDS_PER_HOUR) local
371 int hours = (int) (nanoOfDay \/ NANOS_PER_HOUR); local
    [all...]
OffsetTime.java 411 * <li>{@code HOURS}
    [all...]
  /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/libchrome/base/time/
time.h 111 static constexpr TimeDelta FromHours(int hours);
618 constexpr TimeDelta TimeDelta::FromHours(int hours) {
619 return hours == std::numeric_limits<int>::max()
621 : TimeDelta(hours * Time::kMicrosecondsPerHour);
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
v4l2_show.c 63 ".hours=%u, "
80 buf->timecode.hours,
  /frameworks/base/core/java/android/text/style/
TtsSpan.java 106 * hours and minutes, specified with {@link #ARG_HOURS} and
298 * Argument used to specify the hours of a time. The hours should be
302 public static final String ARG_HOURS = "android.arg.hours";
305 * Argument used to specify the minutes of a time. The hours should be
    [all...]
  /developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceCompanionConfigActivity.java 160 setUpColorPickerSelection(R.id.hours, KEY_HOURS_COLOR, config, R.string.color_white);
165 setUpColorPickerListener(R.id.hours, KEY_HOURS_COLOR);

Completed in 391 milliseconds

1 2 3 45 6 7 8 91011>>