/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 109 private static final long HOUR = 60 * MINUTE; field in FormatterTest 110 private static final long DAY = 24 * HOUR; 115 assertEquals("3 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTime() 116 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTime() 119 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); in testFormatShortElapsedTime() 123 assertEquals("24 hr", Formatter.formatShortElapsedTime(mContext, 23 * HOUR + 30 * MINUTE)); in testFormatShortElapsedTime() 124 assertEquals("3 hr", Formatter.formatShortElapsedTime(mContext, 2 * HOUR + 30 * MINUTE)); in testFormatShortElapsedTime() 125 assertEquals("2 hr", Formatter.formatShortElapsedTime(mContext, 2 * HOUR)); in testFormatShortElapsedTime() 126 assertEquals("1 hr, 0 min", Formatter.formatShortElapsedTime(mContext, 1 * HOUR)); in testFormatShortElapsedTime() 150 mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTimeRoundingUpToMinutes() [all …]
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 42 private static final String HOUR = "hour"; field in TimePickerDialog 193 state.putInt(HOUR, mTimePicker.getCurrentHour()); in onSaveInstanceState() 202 final int hour = savedInstanceState.getInt(HOUR); in onRestoreInstanceState()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 364 new Measure(hours, MeasureUnit.HOUR)); in formatShortElapsedTime() 367 return measureFormat.format(new Measure(hours, MeasureUnit.HOUR)); in formatShortElapsedTime() 370 new Measure(hours, MeasureUnit.HOUR), in formatShortElapsedTime()
|
D | DateFormat.java | 102 public static final char HOUR = 'h'; field in DateFormat 477 int hour = inDate.get(Calendar.HOUR); in format()
|
D | Time.java | 147 public static final int HOUR = 3; field in Time 266 case HOUR: in getActualMaximum()
|
D | DateUtils.java | 399 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 136 cal.add(Calendar.HOUR, sign*hours); in addTo()
|
D | RecurrenceProcessor.java | 259 iterator.getActualMaximum(Time.HOUR)); in filter() 785 freqField = Time.HOUR; in expand() 1080 case Time.HOUR: in expand()
|
/frameworks/base/core/java/android/widget/ |
D | Chronometer.java | 374 measures.add(new Measure(h, MeasureUnit.HOUR)); in formatDuration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Clock.java | 365 mCalendar.set(Calendar.HOUR, hh); in dispatchDemoCommand()
|
/frameworks/base/api/ |
D | test-removed.txt | 435 field public static final deprecated char HOUR = 104; // 0x0068 'h'
|
D | removed.txt | 435 field public static final deprecated char HOUR = 104; // 0x0068 'h'
|
D | system-removed.txt | 560 field public static final deprecated char HOUR = 104; // 0x0068 'h'
|
D | current.txt | 17846 field public static final java.lang.String HOUR = "j"; 18081 field public static final int HOUR = 11; // 0xb 19450 field public static final int HOUR = 10; // 0xa 19844 field public static final android.icu.util.TimeUnit HOUR; 32777 field public static final java.lang.String EXTRA_HOUR = "android.intent.extra.alarm.HOUR"; 41869 field public static final int HOUR = 3; // 0x3 63929 field public static final int HOUR = 10; // 0xa
|
D | test-current.txt | 17944 field public static final java.lang.String HOUR = "j"; 18179 field public static final int HOUR = 11; // 0xb 19548 field public static final int HOUR = 10; // 0xa 19942 field public static final android.icu.util.TimeUnit HOUR; 32966 field public static final java.lang.String EXTRA_HOUR = "android.intent.extra.alarm.HOUR"; 42145 field public static final int HOUR = 3; // 0x3 64411 field public static final int HOUR = 10; // 0xa
|
D | system-current.txt | 19389 field public static final java.lang.String HOUR = "j"; 19624 field public static final int HOUR = 11; // 0xb 20993 field public static final int HOUR = 10; // 0xa 21387 field public static final android.icu.util.TimeUnit HOUR; 35695 field public static final java.lang.String EXTRA_HOUR = "android.intent.extra.alarm.HOUR"; 45454 field public static final int HOUR = 3; // 0x3 67887 field public static final int HOUR = 10; // 0xa
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 3595 c.set(Calendar.HOUR, hour); in setTimeFromNITZString()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 23221 field public static final java.lang.String EXTRA_HOUR = "android.intent.extra.alarm.HOUR"; 30144 field public static final int HOUR = 3; // 0x3 47876 field public static final int HOUR = 10; // 0xa
|