Home
last modified time | relevance | path

Searched refs:nextAlarmTime (Results 1 – 4 of 4) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java280 long nextAlarmTime = end; in scheduleNextAlarmLocked() local
283 if (tmpAlarmTime != -1 && tmpAlarmTime < nextAlarmTime) { in scheduleNextAlarmLocked()
284 nextAlarmTime = tmpAlarmTime; in scheduleNextAlarmLocked()
345 String queryParams[] = new String[] { String.valueOf(start), String.valueOf(nextAlarmTime), in scheduleNextAlarmLocked()
346 String.valueOf(currentMillis), String.valueOf(start), String.valueOf(nextAlarmTime), in scheduleNextAlarmLocked()
375 time.set(nextAlarmTime); in scheduleNextAlarmLocked()
406 if (alarmTime < nextAlarmTime) { in scheduleNextAlarmLocked()
407 nextAlarmTime = alarmTime; in scheduleNextAlarmLocked()
408 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java192 long nextAlarmTime = Long.MAX_VALUE; in queryNextReminderAndSchedule() local
253 if (alarmTime > currentMillis && alarmTime < nextAlarmTime) { in queryNextReminderAndSchedule()
254 nextAlarmTime = alarmTime; in queryNextReminderAndSchedule()
280 if (nextAlarmTime < Long.MAX_VALUE) { in queryNextReminderAndSchedule()
281 scheduleAlarm(context, nextAlarmEventId, nextAlarmTime, currentMillis, alarmManager); in queryNextReminderAndSchedule()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java222 final String nextAlarmTime = Utils.getNextAlarm(context); in relayoutWidget() local
223 if (TextUtils.isEmpty(nextAlarmTime)) { in relayoutWidget()
227 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime); in relayoutWidget()
252 final Sizes sizes = optimizeSizes(context, template, nextAlarmTime); in relayoutWidget()
291 private static Sizes optimizeSizes(Context context, Sizes template, String nextAlarmTime) { in optimizeSizes() argument
306 if (TextUtils.isEmpty(nextAlarmTime)) { in optimizeSizes()
310 nextAlarm.setText(nextAlarmTime); in optimizeSizes()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java322 final Calendar nextAlarmTime = alarmInstance.getAlarmTime(); in isAlarmWithin24Hours() local
323 final long nextAlarmTimeMillis = nextAlarmTime.getTimeInMillis(); in isAlarmWithin24Hours()