Home
last modified time | relevance | path

Searched refs:MINUTE (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/
DPeriodicCallbackModelTest.java28 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/
DPeriodicCallbackModel.java41 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()
DPeriodicCallbackModel.kt41 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/
DAlarmInstance.java377 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()
DAlarmInstance.kt148 calendar[Calendar.MINUTE] = mMinute
158 mMinute = calendar[Calendar.MINUTE]
181 calendar.add(Calendar.MINUTE, HIGH_NOTIFICATION_MINUTE_OFFSET)
212 calendar.add(Calendar.MINUTE, timeoutMinutes)
DAlarm.kt182 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()
DAlarm.java242 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/
DDigitalWellBeingToast.java153 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/
DTimePreferenceController.java107 calendar.get(Calendar.MINUTE), in buildTimePicker()
115 c.set(Calendar.MINUTE, minute); in setTime()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimePreferenceController.java107 calendar.get(Calendar.MINUTE), in buildTimePicker()
115 c.set(Calendar.MINUTE, minute); in setTime()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java142 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/
DTextTime.java37 import static java.util.Calendar.MINUTE;
170 calendar.set(MINUTE, mMinute); in updateTime()
DTextTime.kt132 calendar[Calendar.MINUTE] = mMinute in updateTime()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java206 startOfReferenceDay.add(Calendar.MINUTE, -startOfReferenceDay.get(Calendar.MINUTE)); in getDayDifference()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java291 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/
DZenModeScheduleRuleSettings.java291 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/
DStkApp.java55 case MINUTE: in calculateDurationInMilis()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DFormatUtils.java53 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmScheduler.java57 oneMinuteFromNow.add(Calendar.MINUTE, 1); in setAlarm()
DDailyLoggingAlarmReceiver.java111 midnightYesterday.set(Calendar.MINUTE, 0); in logDailyWallpaperRotationStatus()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayTimeFormatter.java42 c.set(Calendar.MINUTE, localTime.getMinute()); in getFormattedTimeString()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java113 cal.get(Calendar.MINUTE), cal.get(Calendar.SECOND)); in toString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayTimeFormatter.java42 c.set(Calendar.MINUTE, localTime.getMinute()); in getFormattedTimeString()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimePickerFragment.java60 c.set(Calendar.MINUTE, mTimePicker.getMinute()); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.kt46 val minute: Int = args.getInt(ARG_MINUTE, now[Calendar.MINUTE]) in <lambda>()

12