/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
literals2.fail.cpp | 16 using std::chrono::hours; 18 hours foo = 4h; // should fail w/conversion operator not found
|
literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
literals2.fail.cpp | 16 using std::chrono::hours; 18 hours foo = 4h; // should fail w/conversion operator not found
|
literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
op_++.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = ++h;
|
op_++int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h++;
|
op_--.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = --h;
|
op_--int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h--;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_++.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = ++h;
|
op_++int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h++;
|
op_--.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = --h;
|
op_--int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h--;
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
InCallDateUtils.java | 15 * "3 hours 1 second". Returns the hours, minutes and seconds in that order if they exist. 18 int hours = 0; local 23 hours = elapsedSeconds / 3600; 24 elapsedSeconds -= hours * 3600; 35 if (hours > 0) { 36 duration.append(res.getQuantityString(R.plurals.duration_hours, hours, hours)); 39 if (hours > 0) { 45 if (hours > 0 || minutes > 0) [all...] |
/external/toybox/toys/other/ |
uptime.c | 28 unsigned int days, hours, minutes; local 48 hours = info.uptime%24; 51 if (hours) xprintf("%2d:%02d, ", hours, minutes);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 34 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); local 36 if (hours > 0) { 37 time.append(hours);
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 34 long hours = duration; local 37 if (hours != 0) { 38 result.append(hours); 85 long hours = duration % 24; local 94 if (result.length() > 1 || hours != 0) { 95 result.append(hours);
|
/external/vogar/src/vogar/util/ |
TimeUtilities.java | 34 long hours = duration; local 37 if (hours != 0) { 38 result.append(hours); 85 long hours = duration % 24; local 94 if (result.length() > 1 || hours != 0) { 95 result.append(hours);
|
/external/autotest/client/cros/video/ |
screenshot_file_namer.py | 54 hours, remainder = divmod(time_delta_value.total_seconds(), 3600) 62 hours, minutes, seconds, milliseconds)
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarDate.java | 74 private int hours; field in class:CalendarDate 219 return hours; 222 public CalendarDate setHours(int hours) { 223 if (this.hours != hours) { 224 this.hours = hours; 232 hours += n; 319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { 320 setHours(hours); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 54 * format "Alarm set for 2 days, 7 hours, and 53 minutes from now." 70 int hours = (int) delta / (1000 * 60 * 60); local 72 final int days = hours / 24; 73 hours = hours % 24; 77 String hourSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.hours, hours); 80 final boolean showHours = hours > 0;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ] 25 * | HOURS [ MINUTES [ SECONDS ] ] 34 public int hours; field in class:Duration 52 hours = 0; 101 hours = n; 133 cal.add(Calendar.HOUR, sign*hours); 146 + (60*60*hours)
|
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 204 int days = 0, hours = 0, minutes = 0; local 210 hours = (int)(secondsLong / SECONDS_PER_HOUR); 211 secondsLong -= hours * SECONDS_PER_HOUR; 220 days += (hours+12)/24; 223 if (hours == 1) { 224 return context.getString(com.android.internal.R.string.durationDayHour, days, hours); 226 return context.getString(com.android.internal.R.string.durationDayHours, days, hours); 227 } else if (hours >= 2) { 228 hours += (minutes+30)/60; 229 return context.getString(com.android.internal.R.string.durationHours, hours); [all...] |