Home
last modified time | relevance | path

Searched refs:nextAlarm (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java200 final String nextAlarm = Utils.getNextAlarm(context); in refreshAlarm() local
201 if (!TextUtils.isEmpty(nextAlarm)) { in refreshAlarm()
202 widget.setTextViewText(R.id.nextAlarm, in refreshAlarm()
203 context.getString(R.string.control_set_alarm_with_existing, nextAlarm)); in refreshAlarm()
204 widget.setViewVisibility(R.id.nextAlarm, View.VISIBLE); in refreshAlarm()
206 Log.v(TAG, "DigitalWidget sets next alarm string to " + nextAlarm); in refreshAlarm()
209 widget.setViewVisibility(R.id.nextAlarm, View.GONE); in refreshAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java143 AlarmInstance nextAlarm = null; in updateNextAlarm() local
147 if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) { in updateNextAlarm()
148 nextAlarm = instance; in updateNextAlarm()
151 AlarmNotifications.registerNextAlarmWithAlarmManager(context, nextAlarm); in updateNextAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java480 final String nextAlarm = getNextAlarm(context); in refreshAlarm() local
482 nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm); in refreshAlarm()
483 if (!TextUtils.isEmpty(nextAlarm) && nextAlarmView != null) { in refreshAlarm()
485 context.getString(R.string.control_set_alarm_with_existing, nextAlarm)); in refreshAlarm()
487 R.string.next_alarm_description, nextAlarm)); in refreshAlarm()