Searched refs:nextAlarm (Results 1 – 6 of 6) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 168 final AlarmInstance nextAlarm = getNextFiringAlarm(context); in updateNextAlarm() local 171 updateNextAlarmInSystemSettings(context, nextAlarm); in updateNextAlarm() 173 updateNextAlarmInAlarmManager(context, nextAlarm); in updateNextAlarm() 188 AlarmInstance nextAlarm = null; in getNextFiringAlarm() local 190 if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) { in getNextFiringAlarm() 191 nextAlarm = instance; in getNextFiringAlarm() 194 return nextAlarm; in getNextFiringAlarm() 202 private static void updateNextAlarmInSystemSettings(Context context, AlarmInstance nextAlarm) { in updateNextAlarmInSystemSettings() argument 205 if (nextAlarm != null) { in updateNextAlarmInSystemSettings() 206 time = AlarmUtils.getFormattedTime(context, nextAlarm.getAlarmTime()); in updateNextAlarmInSystemSettings() [all …]
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 224 rv.setViewVisibility(R.id.nextAlarm, GONE); in relayoutWidget() 227 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime); in relayoutWidget() 228 rv.setViewVisibility(R.id.nextAlarm, VISIBLE); in relayoutWidget() 260 rv.setTextViewTextSize(R.id.nextAlarm, COMPLEX_UNIT_PX, sizes.mFontSizePx); in relayoutWidget() 305 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm); in optimizeSizes() local 307 nextAlarm.setVisibility(GONE); in optimizeSizes() 310 nextAlarm.setText(nextAlarmTime); in optimizeSizes() 311 nextAlarm.setVisibility(VISIBLE); in optimizeSizes() 405 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm); in measure() local 413 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | FetchMatchingAlarmsAction.java | 120 final AlarmInstance nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext); in run() 121 if (nextAlarm == null) { in run() 128 final Calendar nextTime = nextAlarm.getAlarmTime(); in run()
|
D | Utils.java | 332 final TextView nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm); in refreshAlarm()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AbstractZenModePreferenceController.java | 207 long nextAlarm = getNextAlarm(mContext); in parseAutomaticRuleEndTime() local 208 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm); in parseAutomaticRuleEndTime() local 210 return nextAlarm; in parseAutomaticRuleEndTime()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AbstractZenModePreferenceController.java | 207 long nextAlarm = getNextAlarm(mContext); in parseAutomaticRuleEndTime() local 208 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm); in parseAutomaticRuleEndTime() local 210 return nextAlarm; in parseAutomaticRuleEndTime()
|