OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Alarms
(Results
1 - 16
of
16
) sorted by null
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmReceiver.java
55
if (
Alarms
.ALARM_KILLED.equals(intent.getAction())) {
58
intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA),
59
intent.getIntExtra(
Alarms
.ALARM_KILLED_TIMEOUT, -1));
61
} else if (
Alarms
.CANCEL_SNOOZE.equals(intent.getAction())) {
63
if (intent.hasExtra(
Alarms
.ALARM_INTENT_EXTRA)) {
65
alarm = intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
69
Alarms
.disableSnoozeAlert(context, alarm.id);
70
Alarms
.setNextAlert(context);
75
Alarms
.saveSnoozeAlert(context,
Alarms
.INVALID_ALARM_ID, -1)
[
all
...]
AlarmInitReceiver.java
49
Alarms
.saveSnoozeAlert(context,
Alarms
.INVALID_ALARM_ID, -1);
50
Alarms
.disableExpiredAlarms(context);
65
Alarms
.setNextAlert(context);
AlarmAlertFullScreen.java
79
if (action.equals(
Alarms
.ALARM_SNOOZE_ACTION)) {
81
} else if (action.equals(
Alarms
.ALARM_DISMISS_ACTION)) {
84
Alarm alarm = intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
85
boolean replaced = intent.getBooleanExtra(
Alarms
.ALARM_REPLACED, false);
108
mAlarm = getIntent().getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
146
IntentFilter filter = new IntentFilter(
Alarms
.ALARM_KILLED);
147
filter.addAction(
Alarms
.ALARM_SNOOZE_ACTION);
148
filter.addAction(
Alarms
.ALARM_DISMISS_ACTION);
206
Alarms
.saveSnoozeAlert(AlarmAlertFullScreen.this, mAlarm.id,
212
String snoozeTimeStr =
Alarms
.formatTime(this, c)
[
all
...]
HandleSetAlarm.java
63
long timeInMillis =
Alarms
.calculateAlarm(hour, minutes,
113
Alarms
.enableAlarm(this, alarm.id, true);
118
Alarms
.setAlarm(this, alarm);
121
i.putExtra(
Alarms
.ALARM_INTENT_EXTRA, alarm);
AlarmKlaxon.java
39
* Manages
alarms
and vibe. Runs as a service so that it can continue to play
102
Intent alarmDone = new Intent(
Alarms
.ALARM_DONE_ACTION);
124
Alarms
.ALARM_INTENT_EXTRA);
148
Intent alarmKilled = new Intent(
Alarms
.ALARM_KILLED);
149
alarmKilled.putExtra(
Alarms
.ALARM_INTENT_EXTRA, alarm);
150
alarmKilled.putExtra(
Alarms
.ALARM_KILLED_TIMEOUT, minutes);
151
alarmKilled.putExtra(
Alarms
.ALARM_REPLACED, replaced);
155
// Volume suggested by media team for in-call
alarms
.
239
// do not play
alarms
if stream volume is 0
AlarmAlert.java
105
i.putExtra(
Alarms
.ALARM_INTENT_EXTRA, mAlarm);
AlarmUtils.java
26
* Static utility methods for
Alarms
.
57
Alarms
.calculateAlarm(hour, minute, daysOfWeek)
ClockFragment.java
84
if (changed || action.equals(
Alarms
.ALARM_DONE_ACTION)
85
|| action.equals(
Alarms
.ALARM_SNOOZE_CANCELLED)) {
168
filter.addAction(
Alarms
.ALARM_DONE_ACTION);
169
filter.addAction(
Alarms
.ALARM_SNOOZE_CANCELLED);
SetAlarm.java
94
Alarm alarm = i.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
272
mTimePref.setSummary(
Alarms
.formatTime(this, mHour, mMinute,
283
time =
Alarms
.addAlarm(this, alarm);
288
time =
Alarms
.setAlarm(this, alarm);
308
// Unedited, newly created
alarms
don't require confirmation
317
Alarms
.deleteAlarm(SetAlarm.this, mId);
330
Alarms
.deleteAlarm(SetAlarm.this, newId);
DigitalClock.java
206
if (!
Alarms
.get24HourMode(getContext())) {
215
mHoursFormat =
Alarms
.get24HourMode(getContext()) ? HOURS_24 : HOURS;
216
mAmPm.setShowAmPm(!
Alarms
.get24HourMode(getContext()));
AlarmClock.java
310
return
Alarms
.getAlarmsCursorLoader(this);
323
final Alarm alarm = (Alarm) intent.getParcelableExtra(
Alarms
.ALARM_INTENT_EXTRA);
373
// Save the last selected ringtone as the default for new
alarms
[
all
...]
TimePicker.java
38
private final boolean mIs24HoursMode =
Alarms
.get24HourMode(mContext);
Alarms.java
41
* The
Alarms
provider supplies info about Alarm Clock settings
43
public class
Alarms
{
151
* Queries all
alarms
152
* @return cursor over all
alarms
160
// Private method to get a more limited set of
alarms
from the database.
171
// used later to disable expire
alarms
.
202
// Get the list of snoozed
alarms
234
* A convenience method to set an alarm in the
Alarms
320
Set<Alarm>
alarms
= new HashSet<Alarm>();
local
322
// We need to to build the list of
alarms
from both the snoozed list and the schedule
[
all
...]
/packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java
37
import com.android.deskclock.
Alarms
;
DigitalWidgetViewsFactory.java
34
import com.android.deskclock.
Alarms
;
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CitiesActivity.java
40
import com.android.deskclock.
Alarms
;
149
mIs24HoursMode =
Alarms
.get24HourMode(c);
Completed in 1028 milliseconds