OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alarmId
(Results
1 - 5
of
5
) sorted by null
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmListeners.java
26
private int
alarmId
;
28
public DigitalClockClickListener(int
alarmId
) {
29
this.
alarmId
=
alarmId
;
Alarms.java
131
public static void deleteAlarm(Context context, int
alarmId
) {
132
if (
alarmId
== INVALID_ALARM_ID) return;
136
disableSnoozeAlert(context,
alarmId
);
138
Uri uri = ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI,
alarmId
);
207
final int
alarmId
= Integer.parseInt(snoozedAlarm);
208
clearSnoozePreference(context, prefs,
alarmId
);
217
public static Alarm getAlarm(ContentResolver contentResolver, int
alarmId
) {
219
ContentUris.withAppendedId(Alarm.Columns.CONTENT_URI,
alarmId
),
329
final int
alarmId
= Integer.parseInt(snoozedAlarm);
330
final Alarm a = getAlarm(context.getContentResolver(),
alarmId
);
[
all
...]
AlarmClock.java
337
* @param
alarmId
The alarm id to scroll to.
339
private void scrollToAlarm(int
alarmId
) {
342
if (id ==
alarmId
) {
343
mAdapter.setNewAlarm(
alarmId
);
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
GlobalDismissManager.java
77
public static class
AlarmId
{
80
public
AlarmId
(long id, long start) {
164
public static void dismissGlobally(final Context context, final List<
AlarmId
> alarmIds) {
171
for (
AlarmId
alarmId
: alarmIds) {
172
eventIds.add(
alarmId
.mEventId);
229
for (
AlarmId
alarmId
: alarmIds) {
230
String syncId = eventIdToSyncId.get(
alarmId
.mEventId);
234
data.putString(START_TIME, Long.toString(
alarmId
.mStart))
[
all
...]
AlertActivity.java
44
import com.android.calendar.alerts.GlobalDismissManager.
AlarmId
;
116
List<
AlarmId
> alarmIds = new LinkedList<
AlarmId
>();
120
alarmIds.add(new
AlarmId
(eventId, eventStart));
132
List<
AlarmId
> alarmIds = new LinkedList<
AlarmId
>();
133
alarmIds.add(new
AlarmId
(eventId, startTime));
138
private void initiateGlobalDismiss(List<
AlarmId
> alarmIds) {
139
new AsyncTask<List<
AlarmId
>, Void, Void>() {
141
protected Void doInBackground(List<
AlarmId
>... params)
[
all
...]
Completed in 116 milliseconds