Lines Matching defs:cal
172 final ScheduleCalendar cal = mSubscriptions.get(conditionId);
173 if (cal != null && cal.isInSchedule(now)) {
174 if (conditionSnoozed(conditionId) || cal.shouldExitForAlarm(now)) {
182 cal.maybeSetNextAlarm(now, nextUserAlarmTime);
187 if (cal != null && nextUserAlarmTime == 0) {
188 cal.maybeSetNextAlarm(now, nextUserAlarmTime);
191 if (cal != null) {
192 final long nextChangeTime = cal.getNextChangeTime(now);
229 private boolean meetsSchedule(ScheduleCalendar cal, long time) {
230 return cal != null && cal.isInSchedule(time);
331 final ScheduleCalendar cal = mSubscriptions.get(conditionId);
332 if (cal != null) {
333 cal.setTimeZone(Calendar.getInstance().getTimeZone());