Lines Matching full:time
152 long time = 0;
154 time = calculateAlarm(alarm);
160 values.put(Alarm.Columns.ALARM_TIME, time);
211 * @return Time when the alarm will fire.
269 // If we are enabling the alarm, calculate alarm time since the time
272 long time = 0;
274 time = calculateAlarm(alarm);
276 values.put(Alarm.Columns.ALARM_TIME, time);
323 // A time of 0 indicates this is a repeating alarm, so
324 // calculate the time to get the next alert.
325 if (a.time == 0) {
326 a.time = calculateAlarm(a);
332 if (a.time < now) {
333 Log.v("Disabling expired alarm set for " + Log.formatTime(a.time));
338 if (a.time < minTime) {
339 minTime = a.time;
359 // A time of 0 means this alarm repeats. If the time is
360 // non-zero, check if the time is before now.
361 if (alarm.time != 0 && alarm.time < now) {
363 Log.formatTime(alarm.time));
374 * Called at system startup, on time/timezone change, and whenever
381 enableAlert(context, alarm, alarm.time);
449 final long time) {
460 ed.putLong(getAlarmPrefSnoozeTimeKey(id), time);
532 * Updates the specified Alarm with the additional snooze time.
542 final long time = prefs.getLong(getAlarmPrefSnoozeTimeKey(alarm.id), -1);
543 // The time in the database is either 0 (repeating) or a specific time
545 // has the right time to compare.
546 alarm.time = time;
566 * Given an alarm in hours and minutes, return a time suitable for
579 // if alarm is behind current time, advance one day
607 * Shows day and time -- used for lock screen
615 * Save time of the next alarm, as a formatted string, into the system