OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Alarms
(Results
1 - 6
of
6
) sorted by null
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmReceiver.java
56
if (
Alarms
.ALARM_KILLED.equals(intent.getAction())) {
59
intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA),
60
intent.getIntExtra(
Alarms
.ALARM_KILLED_TIMEOUT, -1));
62
} else if (
Alarms
.CANCEL_SNOOZE.equals(intent.getAction())) {
64
if (intent.hasExtra(
Alarms
.ALARM_INTENT_EXTRA)) {
66
alarm = intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
70
Alarms
.disableSnoozeAlert(context, alarm.id);
71
Alarms
.setNextAlert(context);
76
Alarms
.saveSnoozeAlert(context,
Alarms
.INVALID_ALARM_ID, -1)
[
all
...]
HandleSetAlarm.java
63
long timeInMillis =
Alarms
.calculateAlarm(hour, minutes,
113
Alarms
.enableAlarm(this, alarm.id, true);
118
i.putExtra(
Alarms
.ALARM_INTENT_EXTRA, alarm);
SetAlarm.java
94
Alarm alarm = i.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
258
mTimePref.setSummary(
Alarms
.formatTime(this, mHour, mMinute,
269
time =
Alarms
.addAlarm(this, alarm);
274
time =
Alarms
.setAlarm(this, alarm);
299
Alarms
.deleteAlarm(SetAlarm.this, mId);
311
Alarms
.deleteAlarm(SetAlarm.this, newId);
324
Alarms
.calculateAlarm(hour, minute, daysOfWeek)
AlarmAlertFullScreen.java
62
if (action.equals(
Alarms
.ALARM_SNOOZE_ACTION)) {
64
} else if (action.equals(
Alarms
.ALARM_DISMISS_ACTION)) {
67
Alarm alarm = intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
79
mAlarm = getIntent().getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
102
IntentFilter filter = new IntentFilter(
Alarms
.ALARM_KILLED);
103
filter.addAction(
Alarms
.ALARM_SNOOZE_ACTION);
104
filter.addAction(
Alarms
.ALARM_DISMISS_ACTION);
159
Alarms
.saveSnoozeAlert(AlarmAlertFullScreen.this, mAlarm.id,
172
cancelSnooze.setAction(
Alarms
.CANCEL_SNOOZE);
173
cancelSnooze.putExtra(
Alarms
.ALARM_INTENT_EXTRA, mAlarm)
[
all
...]
AlarmClock.java
64
Alarms
.enableAlarm(this, alarm.id, enabled);
157
Alarms
.deleteAlarm(AlarmClock.this, id);
169
Alarms
.enableAlarm(this, alarm.id, !alarm.enabled);
182
intent.putExtra(
Alarms
.ALARM_INTENT_EXTRA, alarm);
199
mCursor =
Alarms
.getAlarmsCursor(getContentResolver());
264
final String time =
Alarms
.formatTime(this, cal);
315
intent.putExtra(
Alarms
.ALARM_INTENT_EXTRA, alarm);
Alarms.java
39
* The
Alarms
provider supplies info about Alarm Clock settings
41
public class
Alarms
{
131
* Queries all
alarms
132
* @return cursor over all
alarms
140
// Private method to get a more limited set of
alarms
from the database.
151
// used later to disable expire
alarms
.
177
// Get the list of snoozed
alarms
209
* A convenience method to set an alarm in the
Alarms
291
Set<Alarm>
alarms
= new HashSet<Alarm>();
local
293
// We need to to build the list of
alarms
from both the snoozed list and the schedule
[
all
...]
Completed in 61 milliseconds