Searched refs:maxNotifications (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlertServiceTest.java | 264 public NotificationTestManager(ArrayList<Alert> alerts, int maxNotifications) { argument 267 mExpectedNotifications = new NotificationInstance[maxNotifications + 1]; 446 int maxNotifications = 10; 450 NotificationTestManager ntm = new NotificationTestManager(at.mAlerts, maxNotifications); 492 currentTime, maxNotifications); 505 currentTime, maxNotifications); 514 currentTime, maxNotifications); 553 int maxNotifications = 6; 554 NotificationTestManager ntm = new NotificationTestManager(at.mAlerts, maxNotifications); 564 currentTime, maxNotifications); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertService.java | 309 final long currentTime, final int maxNotifications) { 335 maxNotifications); 411 if (currentNotificationId <= maxNotifications) { 412 nm.cancelAllBetween(currentNotificationId, maxNotifications); 415 + maxNotifications); 447 ArrayList<NotificationInfo> lowPriorityEvents, int maxNotifications) { 453 if (highPriorityEvents.size() > maxNotifications) { 459 0, highPriorityEvents.size() - maxNotifications); 471 if (mediumPriorityEvents.size() + highPriorityEvents.size() > maxNotifications) { 472 int spaceRemaining = maxNotifications 307 generateAlerts(Context context, NotificationMgr nm, AlarmManagerInterface alarmMgr, SharedPreferences prefs, Cursor alertCursor, final long currentTime, final int maxNotifications) argument 445 redistributeBuckets(ArrayList<NotificationInfo> highPriorityEvents, ArrayList<NotificationInfo> mediumPriorityEvents, ArrayList<NotificationInfo> lowPriorityEvents, int maxNotifications) argument [all...] |
Completed in 131 milliseconds