/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmReceiver.java | 63 Alarm alarm = null; in handleIntent() local 66 alarm = intent.getParcelableExtra(Alarms.ALARM_INTENT_EXTRA); in handleIntent() 69 if (alarm != null) { in handleIntent() 70 Alarms.disableSnoozeAlert(context, alarm.id); in handleIntent() 84 Alarm alarm = null; in handleIntent() local 94 alarm = Alarm.CREATOR.createFromParcel(in); in handleIntent() 97 if (alarm == null) { in handleIntent() 105 Alarms.disableSnoozeAlert(context, alarm.id); in handleIntent() 107 if (!alarm.daysOfWeek.isRepeatSet()) { in handleIntent() 108 Alarms.enableAlarm(context, alarm.id, false); in handleIntent() [all …]
|
D | Alarms.java | 99 public static long addAlarm(Context context, Alarm alarm) { in addAlarm() argument 100 ContentValues values = createContentValues(alarm); in addAlarm() 103 alarm.id = (int) ContentUris.parseId(uri); in addAlarm() 105 long timeInMillis = calculateAlarm(alarm); in addAlarm() 106 if (alarm.enabled) { in addAlarm() 148 private static ContentValues createContentValues(Alarm alarm) { in createContentValues() argument 153 if (!alarm.daysOfWeek.isRepeatSet()) { in createContentValues() 154 time = calculateAlarm(alarm); in createContentValues() 157 values.put(Alarm.Columns.ENABLED, alarm.enabled ? 1 : 0); in createContentValues() 158 values.put(Alarm.Columns.HOUR, alarm.hour); in createContentValues() [all …]
|
D | AlarmClock.java | 63 Alarm alarm) { in updateAlarm() argument 64 Alarms.enableAlarm(this, alarm.id, enabled); in updateAlarm() 66 SetAlarm.popAlarmSetToast(this, alarm.hour, alarm.minutes, in updateAlarm() 67 alarm.daysOfWeek); in updateAlarm() 88 final Alarm alarm = new Alarm(cursor); in bindView() local 95 clockOnOff.setChecked(alarm.enabled); in bindView() 101 updateAlarm(clockOnOff.isChecked(), alarm); in bindView() 110 c.set(Calendar.HOUR_OF_DAY, alarm.hour); in bindView() 111 c.set(Calendar.MINUTE, alarm.minutes); in bindView() 118 alarm.daysOfWeek.toString(AlarmClock.this, false); in bindView() [all …]
|
D | SetAlarm.java | 100 Alarm alarm = i.getParcelableExtra(Alarms.ALARM_INTENT_EXTRA); in onCreate() local 102 if (alarm == null) { in onCreate() 104 alarm = new Alarm(); in onCreate() 106 mOriginalAlarm = alarm; in onCreate() 243 private void updatePrefs(Alarm alarm) { in updatePrefs() argument 244 mId = alarm.id; in updatePrefs() 245 mEnabledPref.setChecked(alarm.enabled); in updatePrefs() 246 mLabel.setText(alarm.label); in updatePrefs() 247 mHour = alarm.hour; in updatePrefs() 248 mMinute = alarm.minutes; in updatePrefs() [all …]
|
D | AlarmKlaxon.java | 119 final Alarm alarm = intent.getParcelableExtra( in onStartCommand() local 122 if (alarm == null) { in onStartCommand() 132 play(alarm); in onStartCommand() 133 mCurrentAlarm = alarm; in onStartCommand() 141 private void sendKillBroadcast(Alarm alarm) { in sendKillBroadcast() argument 145 alarmKilled.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm); in sendKillBroadcast() 153 private void play(Alarm alarm) { in play() argument 158 Log.v("AlarmKlaxon.play() " + alarm.id + " alert " + alarm.alert); in play() 161 if (!alarm.silent) { in play() 162 Uri alert = alarm.alert; in play() [all …]
|
D | HandleSetAlarm.java | 111 Alarm alarm = new Alarm(c); in handleCursorResult() local 113 Alarms.enableAlarm(this, alarm.id, true); in handleCursorResult() 114 alarm.enabled = true; in handleCursorResult() 118 Alarms.setAlarm(this, alarm); in handleCursorResult() 121 i.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm); in handleCursorResult()
|
D | AlarmAlertFullScreen.java | 67 Alarm alarm = intent.getParcelableExtra(Alarms.ALARM_INTENT_EXTRA); 68 if (alarm != null && mAlarm.id == alarm.id) {
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettingsSetupWizard.java | 182 final AlarmManager alarm = (AlarmManager) in onClick() local 184 alarm.setTimeZone(mSelectedTimeZone.getID()); in onClick() 255 final AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in onItemClick() local 256 alarm.setTimeZone(tz.getID()); in onItemClick()
|
D | ZonePicker.java | 285 final AlarmManager alarm = (AlarmManager) activity.getSystemService(Context.ALARM_SERVICE); in onListItemClick() local 286 alarm.setTimeZone(tzId); in onListItemClick()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | SpringLoadedDragController.java | 50 public void onAlarm(Alarm alarm) { in onAlarm() argument
|
D | Alarm.java | 83 public void onAlarm(Alarm alarm); in onAlarm() argument
|
D | Folder.java | 574 public void onAlarm(Alarm alarm) { 671 public void onAlarm(Alarm alarm) {
|
D | Workspace.java | 2895 public void onAlarm(Alarm alarm) { 2925 public void onAlarm(Alarm alarm) {
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | AbstractSyncService.java | 89 public abstract boolean alarm(); in alarm() method in AbstractSyncService
|
D | ExchangeService.java | 1575 if (!service.alarm()) { in alert() 2366 service.alarm(); in checkMailboxes()
|
D | EasSyncService.java | 221 public boolean alarm() { in alarm() method in EasSyncService
|