/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModelTest.java | 28 import static com.android.deskclock.uidata.PeriodicCallbackModel.Period.MINUTE; 39 assertEquals(1, PeriodicCallbackModel.getDelay(56999, MINUTE, -3000)); in getMinuteDelay() 40 assertEquals(60000, PeriodicCallbackModel.getDelay(57000, MINUTE, -3000)); in getMinuteDelay() 41 assertEquals(59999, PeriodicCallbackModel.getDelay(57001, MINUTE, -3000)); in getMinuteDelay() 43 assertEquals(1, PeriodicCallbackModel.getDelay(59999, MINUTE, 0)); in getMinuteDelay() 44 assertEquals(60000, PeriodicCallbackModel.getDelay(60000, MINUTE, 0)); in getMinuteDelay() 45 assertEquals(59999, PeriodicCallbackModel.getDelay(60001, MINUTE, 0)); in getMinuteDelay() 47 assertEquals(3001, PeriodicCallbackModel.getDelay(59999, MINUTE, 3000)); in getMinuteDelay() 48 assertEquals(3000, PeriodicCallbackModel.getDelay(60000, MINUTE, 3000)); in getMinuteDelay() 49 assertEquals(1, PeriodicCallbackModel.getDelay(62999, MINUTE, 3000)); in getMinuteDelay() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 41 import static java.util.Calendar.MINUTE; 53 enum Period {MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT} enumConstant 79 addPeriodicCallback(runnable, Period.MINUTE, offset); in addMinuteCallback() 145 case MINUTE: in getDelay() 165 nextMidnight.set(MINUTE, 0); in getDelay()
|
D | PeriodicCallbackModel.kt | 41 MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT 63 addPeriodicCallback(runnable, Period.MINUTE, offset) in addMinuteCallback() 179 Period.MINUTE -> { in getDelay() 199 nextMidnight[Calendar.MINUTE] = 0 in getDelay()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 377 mMinute = calendar.get(Calendar.MINUTE); in setAlarmTime() 391 calendar.set(Calendar.MINUTE, mMinute); in getAlarmTime() 415 calendar.add(Calendar.MINUTE, HIGH_NOTIFICATION_MINUTE_OFFSET); in getHighNotificationTime() 444 calendar.add(Calendar.MINUTE, timeoutMinutes); in getTimeout()
|
D | AlarmInstance.kt | 148 calendar[Calendar.MINUTE] = mMinute 158 mMinute = calendar[Calendar.MINUTE] 181 calendar.add(Calendar.MINUTE, HIGH_NOTIFICATION_MINUTE_OFFSET) 212 calendar.add(Calendar.MINUTE, timeoutMinutes)
|
D | Alarm.kt | 182 previousInstanceTime[Calendar.MINUTE] = minutes in getPreviousAlarmTime() 201 nextInstanceTime[Calendar.MINUTE] = minutes in getNextAlarmTime() 219 nextInstanceTime[Calendar.MINUTE] = minutes in getNextAlarmTime() 449 val totalNowMinutes = now[Calendar.HOUR_OF_DAY] * 60 + now[Calendar.MINUTE] in isTomorrow()
|
D | Alarm.java | 242 final int totalNowMinutes = now.get(Calendar.HOUR_OF_DAY) * 60 + now.get(Calendar.MINUTE); 400 previousInstanceTime.set(Calendar.MINUTE, minutes); 419 nextInstanceTime.set(Calendar.MINUTE, minutes); 437 nextInstanceTime.set(Calendar.MINUTE, minutes);
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | DigitalWellBeingToast.java | 153 new Measure(minutes, MeasureUnit.MINUTE)); in getReadableDuration() 169 .formatMeasures(new Measure(minutes, MeasureUnit.MINUTE)); in getReadableDuration() 180 .formatMeasures(new Measure(0, MeasureUnit.MINUTE)); in getReadableDuration()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/ |
D | TimePreferenceController.java | 107 calendar.get(Calendar.MINUTE), in buildTimePicker() 115 c.set(Calendar.MINUTE, minute); in setTime()
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | TimePreferenceController.java | 107 calendar.get(Calendar.MINUTE), in buildTimePicker() 115 c.set(Calendar.MINUTE, minute); in setTime()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipDateTime.java | 142 cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), in toString() 148 cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), in toString()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextTime.java | 37 import static java.util.Calendar.MINUTE; 170 calendar.set(MINUTE, mMinute); in updateTime()
|
D | TextTime.kt | 132 calendar[Calendar.MINUTE] = mMinute in updateTime()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogDates.java | 206 startOfReferenceDay.add(Calendar.MINUTE, -startOfReferenceDay.get(Calendar.MINUTE)); in getDayDifference()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeScheduleRuleSettings.java | 291 c.set(Calendar.MINUTE, mMinute); in updateSummary() 313 final int minute = usePref ? pref.mMinute : c.get(Calendar.MINUTE); in onCreateDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeScheduleRuleSettings.java | 291 c.set(Calendar.MINUTE, mMinute); in updateSummary() 313 final int minute = usePref ? pref.mMinute : c.get(Calendar.MINUTE); in onCreateDialog()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkApp.java | 55 case MINUTE: in calculateDurationInMilis()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 53 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DailyLoggingAlarmScheduler.java | 57 oneMinuteFromNow.add(Calendar.MINUTE, 1); in setAlarm()
|
D | DailyLoggingAlarmReceiver.java | 111 midnightYesterday.set(Calendar.MINUTE, 0); in logDailyWallpaperRotationStatus()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | NightDisplayTimeFormatter.java | 42 c.set(Calendar.MINUTE, localTime.getMinute()); in getFormattedTimeString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexTime.java | 113 cal.get(Calendar.MINUTE), cal.get(Calendar.SECOND)); in toString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | NightDisplayTimeFormatter.java | 42 c.set(Calendar.MINUTE, localTime.getMinute()); in getFormattedTimeString()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | TimePickerFragment.java | 60 c.set(Calendar.MINUTE, mTimePicker.getMinute()); in onCreate()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | TimePickerDialogFragment.kt | 46 val minute: Int = args.getInt(ARG_MINUTE, now[Calendar.MINUTE]) in <lambda>()
|