/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModelTest.java | 26 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/ |
D | LapsAdapter.kt | 284 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/ |
D | PeriodicCallbackModel.kt | 42 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/ |
D | Alarm.kt | 256 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()
|
D | ClockProvider.kt | 81 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
|
D | ClockDatabaseHelper.kt | 52 AlarmsColumns.HOUR + cs + in onCreate() 208 AlarmsColumns.HOUR + " INTEGER NOT NULL, " + in createAlarmsTable() 225 InstancesColumns.HOUR + " INTEGER NOT NULL, " + in createInstanceTable()
|
D | ClockContract.kt | 114 const val HOUR = "hour" constant 256 const val HOUR = "hour" constant
|
D | AlarmInstance.kt | 193 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/ |
D | DigitalWellBeingToast.java | 151 new Measure(hours, MeasureUnit.HOUR), in getReadableDuration() 160 .formatMeasures(new Measure(hours, MeasureUnit.HOUR)); in getReadableDuration()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 49 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/logging/ |
D | FileLogTest.java | 80 threeDaysAgo.add(Calendar.HOUR, -72); in testOldFileTruncated()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.kt | 128 val hourAngle = mTime[Calendar.HOUR] * 30f in onTimeChanged()
|
D | FetchMatchingAlarmsAction.kt | 153 AlarmsColumns.HOUR, AlarmsColumns.MINUTES, AlarmsColumns.ENABLED) in getAlarmsByHourMinutes()
|
D | HandleApiCalls.kt | 466 selection.append(AlarmsColumns.HOUR).append("=?") in setSelectionFromIntent()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | FileLog.java | 170 modifiedTime.add(Calendar.HOUR, 36); in handleMessage()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 629 midnightYesterday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay() 636 midnightToday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 4223 Landroid/icu/text/RelativeDateTimeFormatter$RelDateTimeDataSink$DateTimeUnit;->HOUR:Landroid/icu/te…
|