Lines Matching refs:Events
33 import android.provider.CalendarContract.Events;
43 * A helper class for deleting events. If a normal event is selected for
50 * events in the series, or this event plus all following events. The user
138 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
176 // events in the series to delete.
198 * a normal event) or a dialog asking which events to delete (if the
200 * the initial selection and is only used for repeating events. Set
210 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId);
231 * <li> Events._ID </li>
232 * <li> Events.TITLE </li>
233 * <li> Events.RRULE </li>
240 * <li> Events.ALL_DAY </li>
241 * <li> Events.CALENDAR_ID </li>
242 * <li> Events.DTSTART </li>
243 * <li> Events._SYNC_ID </li>
244 * <li> Events.EVENT_TIMEZONE </li>
265 // user if they want to delete all of the repeating events or
290 // This is a repeating event. Pop up a dialog asking which events
307 // remove 'This and future events' item
312 // remove 'This and future events' item
334 // Disable the "Ok" button until the user selects which events
347 values.put(Events.STATUS, Events.STATUS_CANCELED);
349 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
376 values.put(Events.TITLE, title);
380 values.put(Events.EVENT_TIMEZONE, timezone);
381 values.put(Events.ALL_DAY, allDay ? 1 : 0);
382 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0);
383 values.put(Events.CALENDAR_ID, calendarId);
384 values.put(Events.DTSTART, mStartMillis);
385 values.put(Events.DTEND, mEndMillis);
386 values.put(Events.ORIGINAL_SYNC_ID, mSyncId);
387 values.put(Events.ORIGINAL_ID, id);
388 values.put(Events.ORIGINAL_INSTANCE_TIME, mStartMillis);
389 values.put(Events.STATUS, Events.STATUS_CANCELED);
391 mService.startInsert(mService.getNextToken(), null, Events.CONTENT_URI, values,
396 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
403 // following events, then delete them all.
405 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
428 values.put(Events.DTSTART, dtstart);
429 values.put(Events.RRULE, eventRecurrence.toString());
430 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);