Lines Matching defs:Events
32 import android.provider.CalendarContract.Events;
42 * A helper class for deleting events. If a normal event is selected for
49 * events in the series, or this event plus all following events. The user
128 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
165 // events in the series to delete.
186 * a normal event) or a dialog asking which events to delete (if the
188 * the initial selection and is only used for repeating events. Set
198 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId);
219 * <li> Events._ID </li>
220 * <li> Events.TITLE </li>
221 * <li> Events.RRULE </li>
228 * <li> Events.ALL_DAY </li>
229 * <li> Events.CALENDAR_ID </li>
230 * <li> Events.DTSTART </li>
231 * <li> Events._SYNC_ID </li>
232 * <li> Events.EVENT_TIMEZONE </li>
253 // user if they want to delete all of the repeating events or
276 // This is a repeating event. Pop up a dialog asking which events
293 // remove 'This and future events' item
298 // remove 'This and future events' item
317 // Disable the "Ok" button until the user selects which events
330 values.put(Events.STATUS, Events.STATUS_CANCELED);
332 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
359 values.put(Events.TITLE, title);
363 values.put(Events.EVENT_TIMEZONE, timezone);
364 values.put(Events.ALL_DAY, allDay ? 1 : 0);
365 values.put(Events.ORIGINAL_ALL_DAY, allDay ? 1 : 0);
366 values.put(Events.CALENDAR_ID, calendarId);
367 values.put(Events.DTSTART, mStartMillis);
368 values.put(Events.DTEND, mEndMillis);
369 values.put(Events.ORIGINAL_SYNC_ID, mSyncId);
370 values.put(Events.ORIGINAL_ID, id);
371 values.put(Events.ORIGINAL_INSTANCE_TIME, mStartMillis);
372 values.put(Events.STATUS, Events.STATUS_CANCELED);
374 mService.startInsert(mService.getNextToken(), null, Events.CONTENT_URI, values,
379 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
386 // following events, then delete them all.
388 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);
411 values.put(Events.DTSTART, dtstart);
412 values.put(Events.RRULE, eventRecurrence.toString());
413 Uri uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id);