Home
last modified time | relevance | path

Searched refs:HOUR (Results 1 – 23 of 23) 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.java44 private static final long HOUR = DateUtils.HOUR_IN_MILLIS; field in LapsAdapter
45 private static final long TEN_HOURS = 10 * HOUR;
46 private static final long HUNDRED_HOURS = 100 * HOUR;
266 } else if (maxTime < HOUR) { in formatTime()
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/provider/
DAlarm.kt257 AlarmsColumns.HOUR + ", " + ClockDatabaseHelper.ALARMS_TABLE_NAME + "." +
263 AlarmsColumns.HOUR,
275 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR,
288 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR,
328 values.put(AlarmsColumns.HOUR, alarm.hour) in createContentValues()
DAlarm.java49 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + HOUR + ", " +
55 HOUR,
67 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + HOUR,
81 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + ClockContract.InstancesColumns.HOUR,
120 values.put(HOUR, alarm.hour); in createContentValues()
DClockProvider.java62 sAlarmsWithInstancesProjection.put(ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR,
63 ALARMS_TABLE_NAME + "." + AlarmsColumns.HOUR);
89 sAlarmsWithInstancesProjection.put(INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR,
90 INSTANCES_TABLE_NAME + "." + InstancesColumns.HOUR);
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()
DClockDatabaseHelper.java76 ClockContract.AlarmsColumns.HOUR + " INTEGER NOT NULL, " + in createAlarmsTable()
93 ClockContract.InstancesColumns.HOUR + " INTEGER NOT NULL, " + in createInstanceTable()
119 ClockContract.AlarmsColumns.HOUR + cs + in onCreate()
DClockContract.java109 String HOUR = "hour"; field
244 String HOUR = "hour"; field
DClockContract.kt114 const val HOUR = "hour" constant
256 const val HOUR = "hour" constant
DAlarmInstance.java63 HOUR,
99 values.put(HOUR, instance.mHour); in createContentValues()
426 calendar.add(Calendar.HOUR, MISSED_TIME_TO_LIVE_HOUR_OFFSET); in getMissedTimeToLive()
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/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.kt41 MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT
81 addPeriodicCallback(runnable, Period.HOUR, 100L) in addHourCallback()
189 Period.HOUR -> { in getDelay()
DPeriodicCallbackModel.java53 enum Period {MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT} enumConstant
97 addPeriodicCallback(runnable, Period.HOUR, 100L); in addHourCallback()
155 case HOUR: in getDelay()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DDigitalWellBeingToast.java152 new Measure(hours, MeasureUnit.HOUR), in getReadableDuration()
161 .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.java77 threeDaysAgo.add(Calendar.HOUR, -72); in testOldFileTruncated()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java141 final float hourAngle = mTime.get(Calendar.HOUR) * 30f; in onTimeChanged()
DFetchMatchingAlarmsAction.java165 Alarm.HOUR, Alarm.MINUTES, Alarm.ENABLED);
DHandleApiCalls.java604 selection.append(Alarm.HOUR).append("=?"); in setSelectionFromIntent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.java588 midnightYesterday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
595 midnightToday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java164 modifiedTime.add(Calendar.HOUR, 36); in handleMessage()