/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.java | 44 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()
|
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/provider/ |
D | Alarm.kt | 257 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()
|
D | Alarm.java | 49 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()
|
D | ClockProvider.java | 62 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);
|
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 | ClockDatabaseHelper.java | 76 ClockContract.AlarmsColumns.HOUR + " INTEGER NOT NULL, " + in createAlarmsTable() 93 ClockContract.InstancesColumns.HOUR + " INTEGER NOT NULL, " + in createInstanceTable() 119 ClockContract.AlarmsColumns.HOUR + cs + in onCreate()
|
D | ClockContract.java | 109 String HOUR = "hour"; field 244 String HOUR = "hour"; field
|
D | ClockContract.kt | 114 const val HOUR = "hour" constant 256 const val HOUR = "hour" constant
|
D | AlarmInstance.java | 63 HOUR, 99 values.put(HOUR, instance.mHour); in createContentValues() 426 calendar.add(Calendar.HOUR, MISSED_TIME_TO_LIVE_HOUR_OFFSET); in getMissedTimeToLive()
|
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/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.kt | 41 MINUTE, QUARTER_HOUR, HOUR, MIDNIGHT 81 addPeriodicCallback(runnable, Period.HOUR, 100L) in addHourCallback() 189 Period.HOUR -> { in getDelay()
|
D | PeriodicCallbackModel.java | 53 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/ |
D | DigitalWellBeingToast.java | 152 new Measure(hours, MeasureUnit.HOUR), in getReadableDuration() 161 .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 | 77 threeDaysAgo.add(Calendar.HOUR, -72); in testOldFileTruncated()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.java | 141 final float hourAngle = mTime.get(Calendar.HOUR) * 30f; in onTimeChanged()
|
D | FetchMatchingAlarmsAction.java | 165 Alarm.HOUR, Alarm.MINUTES, Alarm.ENABLED);
|
D | HandleApiCalls.java | 604 selection.append(Alarm.HOUR).append("=?"); in setSelectionFromIntent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 588 midnightYesterday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay() 595 midnightToday.set(Calendar.HOUR, 0); in getDailyRotationsPreviousDay()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | FileLog.java | 164 modifiedTime.add(Calendar.HOUR, 36); in handleMessage()
|