Searched refs:highPriorityEvents (Results 1 – 1 of 1) sorted by relevance
315 ArrayList<NotificationInfo> highPriorityEvents = new ArrayList<NotificationInfo>(); in generateAlerts() local318 int numFired = processQuery(alertCursor, context, currentTime, highPriorityEvents, in generateAlerts()321 if (highPriorityEvents.size() + mediumPriorityEvents.size() in generateAlerts()334 redistributeBuckets(highPriorityEvents, mediumPriorityEvents, lowPriorityEvents, in generateAlerts()340 for (int i = 0; i < highPriorityEvents.size(); i++) { in generateAlerts()341 NotificationInfo info = highPriorityEvents.get(i); in generateAlerts()445 static void redistributeBuckets(ArrayList<NotificationInfo> highPriorityEvents, in redistributeBuckets() argument453 if (highPriorityEvents.size() > maxNotifications) { in redistributeBuckets()458 List<NotificationInfo> itemsToMoveSublist = highPriorityEvents.subList( in redistributeBuckets()459 0, highPriorityEvents.size() - maxNotifications); in redistributeBuckets()[all …]