Searched refs:nextAlarm (Results 1 – 4 of 4) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 178 final AlarmInstance nextAlarm = getNextFiringAlarm(context); in updateNextAlarm() local 181 updateNextAlarmInSystemSettings(context, nextAlarm); in updateNextAlarm() 183 updateNextAlarmInAlarmManager(context, nextAlarm); in updateNextAlarm() 197 AlarmInstance nextAlarm = null; in getNextFiringAlarm() local 199 if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) { in getNextFiringAlarm() 200 nextAlarm = instance; in getNextFiringAlarm() 203 return nextAlarm; in getNextFiringAlarm() 209 private static void updateNextAlarmInSystemSettings(Context context, AlarmInstance nextAlarm) { in updateNextAlarmInSystemSettings() argument 213 if (nextAlarm != null) { in updateNextAlarmInSystemSettings() 214 timeString = AlarmUtils.getFormattedTime(context, nextAlarm.getAlarmTime()); in updateNextAlarmInSystemSettings() [all …]
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 220 final String nextAlarm = Utils.getNextAlarm(context); in refreshAlarm() local 221 if (!TextUtils.isEmpty(nextAlarm)) { in refreshAlarm() 225 R.id.nextAlarm, TypedValue.COMPLEX_UNIT_PX, fontSize * ratio); in refreshAlarm() 238 R.id.nextAlarm, alarmDrawableResId, 0, 0, 0); in refreshAlarm() 240 widget.setTextViewText(R.id.nextAlarm, nextAlarm); in refreshAlarm() 241 widget.setViewVisibility(R.id.nextAlarm, View.VISIBLE); in refreshAlarm() 243 Log.v(TAG, "DigitalWidget sets next alarm string to " + nextAlarm); in refreshAlarm() 246 widget.setViewVisibility(R.id.nextAlarm, View.GONE); in refreshAlarm()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | FetchMatchingAlarmsAction.java | 122 final AlarmInstance nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext); in run() 123 if (nextAlarm == null) { in run() 130 final Calendar nextTime = nextAlarm.getAlarmTime(); in run()
|
D | Utils.java | 474 final TextView nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm); in refreshAlarm()
|