Lines Matching defs:events

314         // Process the query results and bucketize events.
332 // If there are more high/medium priority events than we can show, bump some to
337 // Post the individual higher priority events (future and recently started
338 // concurrent events). Order these so that earlier start times appear higher in
347 // Keep concurrent events high priority (to appear higher in the notification list)
352 // Post the medium priority events (concurrent events that started a while ago).
356 // events, so that all notifications will be co-located together.
370 // Post the low priority events as 1 combined notification.
385 // Multiple expired events are listed in a digest.
394 false); /* Do not show the LED for the expired events. */
406 Log.d(TAG, "No low priority events, canceling the digest notification.");
442 * Redistributes events in the priority lists based on the max # of notifications we
470 // Bump the medium priority events if necessary.
475 // events, we move the ones with the earlier start time first since they are
542 * @param highPriorityEvents This will contain future events, and concurrent events
544 * @param mediumPriorityEvents This will contain concurrent events that started
546 * @param lowPriorityEvents Will contain events that have ended.
554 // Experimental reminder setting to only remind for events that have
558 // Skip no-response events if the "Skip Reminders" preference has the second option,
696 // events ended. b/1880369
702 // Remove declined events
753 // TODO: Prefer accepted events in case of ties.
757 // Adjust for all day events to ensure the right bucket. Don't use the 1/4 event
796 // justify a more complicated data structure. Expired events don't
817 // High priority = future events or events that just started
820 // Medium priority = in progress all day events
841 // We don't want all day events to be high priority for hours, so automatically
849 private static String getDigestTitle(ArrayList<NotificationInfo> events) {
851 for (NotificationInfo eventInfo : events) {
886 true); /* Show the LED for these non-expired events */