Home
last modified time | relevance | path

Searched refs:HOUR (Results 1 – 17 of 17) sorted by relevance

/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/
DPeriodicCallbackModelTest.java26 import static com.android.deskclock.uidata.PeriodicCallbackModel.Period.HOUR;
73 assertEquals(1, PeriodicCallbackModel.getDelay(3596999, HOUR, -3000)); in getHourDelay()
74 assertEquals(3600000, PeriodicCallbackModel.getDelay(3597000, HOUR, -3000)); in getHourDelay()
75 assertEquals(3599999, PeriodicCallbackModel.getDelay(3597001, HOUR, -3000)); in getHourDelay()
77 assertEquals(1, PeriodicCallbackModel.getDelay(3599999, HOUR, 0)); in getHourDelay()
78 assertEquals(3600000, PeriodicCallbackModel.getDelay(3600000, HOUR, 0)); in getHourDelay()
79 assertEquals(3599999, PeriodicCallbackModel.getDelay(3600001, HOUR, 0)); in getHourDelay()
81 assertEquals(3001, PeriodicCallbackModel.getDelay(3599999, HOUR, 3000)); in getHourDelay()
82 assertEquals(3000, PeriodicCallbackModel.getDelay(3600000, HOUR, 3000)); in getHourDelay()
83 assertEquals(1, PeriodicCallbackModel.getDelay(3602999, HOUR, 3000)); in getHourDelay()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt284 private val HOUR: Long = DateUtils.HOUR_IN_MILLIS constant
285 private val TEN_HOURS = 10 * HOUR
286 private val HUNDRED_HOURS = 100 * HOUR
331 maxTime < HOUR -> { in formatTime()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.kt42 MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT
82 addPeriodicCallback(runnable, Period.HOUR, 100L) in addHourCallback()
190 Period.HOUR -> { in getDelay()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.kt256 AlarmsColumns.HOUR + ", " + ClockDatabaseHelper.ALARMS_TABLE_NAME + "." +
262 AlarmsColumns.HOUR,
274 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR,
287 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR,
327 values.put(AlarmsColumns.HOUR, alarm.hour) in createContentValues()
DClockProvider.kt81 sAlarmsWithInstancesProjection[ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR] =
82 ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR
109 sAlarmsWithInstancesProjection[INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR] =
110 INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR
DClockDatabaseHelper.kt52 AlarmsColumns.HOUR + cs + in onCreate()
208 AlarmsColumns.HOUR + " INTEGER NOT NULL, " + in createAlarmsTable()
225 InstancesColumns.HOUR + " INTEGER NOT NULL, " + in createInstanceTable()
DClockContract.kt114 const val HOUR = "hour" constant
256 const val HOUR = "hour" constant
DAlarmInstance.kt193 calendar.add(Calendar.HOUR, MISSED_TIME_TO_LIVE_HOUR_OFFSET)
267 InstancesColumns.HOUR,
304 values.put(InstancesColumns.HOUR, instance.mHour) in createContentValues()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDigitalWellBeingToast.java151 new Measure(hours, MeasureUnit.HOUR), in getReadableDuration()
160 .formatMeasures(new Measure(hours, MeasureUnit.HOUR)); in getReadableDuration()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DFormatUtils.java49 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/logging/
DFileLogTest.java80 threeDaysAgo.add(Calendar.HOUR, -72); in testOldFileTruncated()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.kt128 val hourAngle = mTime[Calendar.HOUR] * 30f in onTimeChanged()
DFetchMatchingAlarmsAction.kt153 AlarmsColumns.HOUR, AlarmsColumns.MINUTES, AlarmsColumns.ENABLED) in getAlarmsByHourMinutes()
DHandleApiCalls.kt466 selection.append(AlarmsColumns.HOUR).append("=?") in setSelectionFromIntent()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java170 modifiedTime.add(Calendar.HOUR, 36); in handleMessage()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.java629 midnightYesterday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
636 midnightToday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt4223 Landroid/icu/text/RelativeDateTimeFormatter$RelDateTimeDataSink$DateTimeUnit;->HOUR:Landroid/icu/te…