Lines Matching defs:events

48      * 1) events with an earlier start (begin for normal events, startday for allday)
49 * 2) events with a later end (end for normal events, endday for allday)
52 * The start and end day is sorted first so that all day events are
53 * sorted correctly with respect to events that are >24 hours (and
65 // The projection to use when querying instances to build a list of events
149 // These 4 fields are used for navigating among events within the selected
223 public static void loadEvents(Context context, ArrayList<Event> events, int startDay, int days,
233 events.clear();
237 // We use the byDay instances query to get a list of all events for
239 // The sort order is: events with an earlier start time occur
240 // first and if the start times are the same, then events with
243 // the left side. If the start and end times of two events are
247 // Respect the preference to show/hide declined events
272 buildEventsFromCursor(events, cEvents, context, startDay, endDay);
273 buildEventsFromCursor(events, cAllday, context, startDay, endDay);
292 * recurring events to fill this time range if they are not already
294 * recurring events.
333 * Adds all the events from the cursors to the events list.
335 * @param events The list of events
342 ArrayList<Event> events, Cursor cEvents, Context context, int startDay, int endDay) {
343 if (cEvents == null || events == null) {
344 Log.e(TAG, "buildEventsFromCursor: null cursor or null events list!");
357 // Sort events in two passes so we ensure the allday and standard events
365 events.add(e);
422 * as a non-overlapping rectangle. For normal events, these rectangles
424 * all-day events, these rectangles are displayed in separate rows along
427 * events that are displayed in a group. The width and position of each
431 * @param eventsList the list of events, sorted into increasing time order
441 // Compute the column positions separately for the all-day events
458 // Process all-day events separately
499 // Remove the inactive allday events. An event on the active list
515 // Remove the inactive events. An event on the active list
570 // zero-length (or very short) events.
639 // Use >= so we'll pick up Exchange allday events