OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alarmId
(Results
1 - 11
of
11
) 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
;
DeskClockExtensions.java
24
* @param
alarmId
the alarm id of the alarm to delete.
26
public void deleteAlarm(Context context, long
alarmId
);
ExtensionsFactory.java
85
public void deleteAlarm(Context context, long
alarmId
) {
AlarmClockFragment.java
291
long
alarmId
= intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID);
292
if (
alarmId
!= Alarm.INVALID_ID) {
293
mScrollToAlarmId =
alarmId
;
425
* @param
alarmId
The alarm id to scroll to.
427
private void scrollToAlarm(long
alarmId
) {
431
if (id ==
alarmId
) {
438
mAdapter.setNewAlarm(
alarmId
);
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
Alarm.java
102
public static Intent createIntent(String action, long
alarmId
) {
103
return new Intent(action).setData(getUri(
alarmId
));
106
public static Intent createIntent(Context context, Class<?> cls, long
alarmId
) {
107
return new Intent(context, cls).setData(getUri(
alarmId
));
110
public static Uri getUri(long
alarmId
) {
111
return ContentUris.withAppendedId(CONTENT_URI,
alarmId
);
133
* @param
alarmId
for the desired alarm.
136
public static Alarm getAlarm(ContentResolver contentResolver, long
alarmId
) {
137
Cursor cursor = contentResolver.query(getUri(
alarmId
), QUERY_COLUMNS, null, null, null);
202
public static boolean deleteAlarm(ContentResolver contentResolver, long
alarmId
) {
[
all
...]
ClockProvider.java
133
String
alarmId
;
137
alarmId
= uri.getLastPathSegment();
139
ClockContract.AlarmsColumns._ID + "=" +
alarmId
,
143
alarmId
= uri.getLastPathSegment();
145
ClockContract.InstancesColumns._ID + "=" +
alarmId
,
149
alarmId
= uri.getLastPathSegment();
151
ClockContract.CitiesColumns.CITY_ID + "=" +
alarmId
,
159
LogUtils.v("*** notifyChange() id: " +
alarmId
+ " url " + uri);
AlarmInstance.java
163
* Get an alarm instances by
alarmId
.
166
* @param
alarmId
of instances desired.
167
* @return list of alarms instances that are owned by
alarmId
.
170
long
alarmId
) {
171
return getInstances(contentResolver, ALARM_ID + "=" +
alarmId
);
257
public AlarmInstance(Calendar calendar, Long
alarmId
) {
259
mAlarmId =
alarmId
;
/packages/apps/Calendar/src/com/android/calendar/alerts/
GlobalDismissManager.java
159
public static class
AlarmId
{
163
public
AlarmId
(long id, long start) {
345
public static void dismissGlobally(Context context, List<
AlarmId
> alarmIds) {
347
for (
AlarmId
alarmId
: alarmIds) {
348
eventIds.add(
alarmId
.mEventId);
369
for (
AlarmId
alarmId
: alarmIds) {
370
Long calendar = eventsToCalendars.get(
alarmId
.mEventId);
374
alarmId
.mEventId, 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
...]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmStateManager.java
608
* This will delete and unregister all instances associated with
alarmId
, without affect
612
* @param
alarmId
to find instances to delete.
614
public static void deleteAllInstances(Context context, long
alarmId
) {
616
List<AlarmInstance> instances = AlarmInstance.getInstancesByAlarmId(cr,
alarmId
);
733
long
alarmId
= instance.mAlarmId == null ? Alarm.INVALID_ID : instance.mAlarmId;
734
Intent viewAlarmIntent = Alarm.createIntent(context, DeskClock.class,
alarmId
);
[
all
...]
AlarmNotifications.java
274
long
alarmId
= instance.mAlarmId == null ? Alarm.INVALID_ID : instance.mAlarmId;
275
Intent viewAlarmIntent = Alarm.createIntent(context, DeskClock.class,
alarmId
);
277
viewAlarmIntent.putExtra(AlarmClockFragment.SCROLL_TO_ALARM_INTENT_EXTRA,
alarmId
);
Completed in 255 milliseconds