Home | History | Annotate | Download | only in notification

Lines Matching defs:nextAlarm

304             GregorianCalendar nextAlarm = new GregorianCalendar();
305 nextAlarm.setTimeInMillis(nextAlarmMs);
306 setToMidnight(nextAlarm);
308 if (weekRange.compareTo(nextAlarm) >= 0) {
473 final long nextAlarm = getNextAlarm();
474 if (nextAlarm < now) {
482 if (time > now && nextAlarm < time) {
490 return mContext.getResources().getString(warningRes, getTime(nextAlarm, now));
494 protected String getTime(long nextAlarm, long now) {
495 final boolean soon = (nextAlarm - now) < 24 * 60 * 60 * 1000;
499 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm);