/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 130 private static final long MINUTE = 60 * SECOND; field in FormatterTest 131 private static final long HOUR = 60 * MINUTE; 141 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); in testFormatShortElapsedTime() 143 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 59 * MINUTE)); in testFormatShortElapsedTime() 145 assertEquals("24 hr", Formatter.formatShortElapsedTime(mContext, 23 * HOUR + 30 * MINUTE)); in testFormatShortElapsedTime() 146 assertEquals("3 hr", Formatter.formatShortElapsedTime(mContext, 2 * HOUR + 30 * MINUTE)); in testFormatShortElapsedTime() 150 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime() 152 Formatter.formatShortElapsedTime(mContext, 59 * MINUTE)); in testFormatShortElapsedTime() 153 assertEquals("3 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE + 30 * SECOND)); in testFormatShortElapsedTime() 154 assertEquals("2 min", Formatter.formatShortElapsedTime(mContext, 2 * MINUTE)); in testFormatShortElapsedTime() [all …]
|
D | DateFormatTest.java | 38 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); in testHasDesignator() 39 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); in testHasDesignator() 40 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); in testHasDesignator() 42 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); in testHasDesignator() 47 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE)); in testHasDesignatorEscaped()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleCalendarTest.java | 68 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_startToday() 94 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_endToday() 108 expected.set(Calendar.MINUTE, mScheduleInfo.endMinute); in testGetNextChangeTime_endToday() 121 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_startTomorrow() 136 expected.set(Calendar.MINUTE, mScheduleInfo.startMinute); in testGetNextChangeTime_startTomorrow() 149 cal.set(Calendar.MINUTE, 15); in testGetNextChangeTime_endTomorrow() 164 expected.set(Calendar.MINUTE, mScheduleInfo.endMinute); in testGetNextChangeTime_endTomorrow() 214 now.set(Calendar.MINUTE, 15); in testShouldExitForAlarm_oldAlarm() 239 calNow.set(Calendar.MINUTE, 0); in testShouldExitForAlarm_oldAlarmInSchedule() 247 calAlarm.set(Calendar.MINUTE, 0); in testShouldExitForAlarm_oldAlarmInSchedule() [all …]
|
D | ScheduleConditionProviderTest.java | 86 info.startMinute = now.get(Calendar.MINUTE); in testEvaluateSubscription_noAlarmExit_InSchedule() 110 info.startMinute = now.get(Calendar.MINUTE); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 132 now.set(Calendar.MINUTE, 15); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 141 info.startMinute = now.get(Calendar.MINUTE) + 1; in testEvaluateSubscription_noAlarmExit_beforeSchedule() 164 info.startMinute = now.get(Calendar.MINUTE); in testEvaluateSubscription_noAlarmExit_endSchedule() 168 info.endMinute = now.get(Calendar.MINUTE); in testEvaluateSubscription_noAlarmExit_endSchedule() 330 now.set(Calendar.MINUTE, 16); in getNow() 341 info.startMinute = now.get(Calendar.MINUTE); in getScheduleEndsInHour() 344 info.endMinute = now.get(Calendar.MINUTE); in getScheduleEndsInHour()
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 43 private static final String MINUTE = "minute"; field in TimePickerDialog 197 state.putInt(MINUTE, mTimePicker.getCurrentMinute()); in onSaveInstanceState() 206 final int minute = savedInstanceState.getInt(MINUTE); in onRestoreInstanceState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 83 measureList.add(new Measure(minutes, MeasureUnit.MINUTE)); in formatElapsedTime() 90 measureList.add(new Measure(0, withSeconds ? MeasureUnit.SECOND : MeasureUnit.MINUTE)); in formatElapsedTime() 99 if (measureArray.length == 1 && MeasureUnit.MINUTE.equals(measureArray[0].getUnit())) { in formatElapsedTime()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 253 new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime() 256 return measureFormat.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime() 259 new Measure(minutes, MeasureUnit.MINUTE), in formatShortElapsedTime() 281 return measureFormat.format(new Measure(minutesRoundedUp, MeasureUnit.MINUTE)); in formatShortElapsedTimeRoundingUpToMinutes()
|
D | DateFormat.java | 120 public static final char MINUTE = 'm'; field in DateFormat 487 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
|
D | Time.java | 146 public static final int MINUTE = 2; field in Time 264 case MINUTE: in getActualMaximum()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | Duration.java | 33 MINUTE(0x00), enumConstant
|
D | ResponseData.java | 249 data[5] = byteToBCD(mCalendar.get(java.util.Calendar.MINUTE)); in format()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 137 cal.add(Calendar.MINUTE, sign*minutes); in addTo()
|
D | RecurrenceProcessor.java | 268 iterator.getActualMaximum(Time.MINUTE)); in filter() 782 freqField = Time.MINUTE; in expand() 1077 case Time.MINUTE: in expand()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 127 c.set(Calendar.MINUTE, 0); in beginningOfDay()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 115 calendar.set(Calendar.MINUTE, 0); in tomorrowMidnight()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 58 mCalendar.set(Calendar.MINUTE, 0); in MonthDisplayHelper()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 463 setDate(cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE)); in autofill() 478 cal.set(Calendar.MINUTE, getMinute()); in getAutofillValue()
|
D | TimePickerSpinnerDelegate.java | 208 setMinute(mTempCalendar.get(Calendar.MINUTE)); in TimePickerSpinnerDelegate() 434 mTempCalendar.set(Calendar.MINUTE, getMinute()); in onPopulateAccessibilityEvent()
|
D | Chronometer.java | 377 measures.add(new Measure(m, MeasureUnit.MINUTE)); in formatDuration()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 101 c.set(Calendar.MINUTE, minute); in parse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 191 calendar.add(Calendar.MINUTE, 1); in roundToNextMinute()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 117 mCalendar.set(Calendar.MINUTE, min); in getTime()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 294 noon.set(Calendar.MINUTE, 0); in calculateTwilightState()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
D | TimePicker.java | 124 setMinute(currentDate.get(Calendar.MINUTE)); in TimePicker()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | ColorDisplayServiceTest.java | 1099 c.add(Calendar.MINUTE, offsetMinutes); in getLocalTimeRelativeToNow() 1100 return LocalTime.of(c.get(Calendar.HOUR_OF_DAY), c.get(Calendar.MINUTE)); in getLocalTimeRelativeToNow()
|