Lines Matching defs:ReminderEntry
101 public static class ReminderEntry implements Comparable<ReminderEntry>, Serializable {
106 * Returns a new ReminderEntry, with the specified minutes and method.
111 public static ReminderEntry valueOf(int minutes, int method) {
113 return new ReminderEntry(minutes, method);
117 * Returns a ReminderEntry, with the specified number of minutes and a default alert method.
121 public static ReminderEntry valueOf(int minutes) {
126 * Constructs a new ReminderEntry.
131 private ReminderEntry(int minutes, int method) {
147 if (!(obj instanceof ReminderEntry)) {
151 ReminderEntry re = (ReminderEntry) obj;
167 return "ReminderEntry min=" + mMinutes + " meth=" + mMethod;
175 public int compareTo(ReminderEntry re) {
274 public ArrayList<ReminderEntry> mReminders;
275 public ArrayList<ReminderEntry> mDefaultReminders;
282 mReminders = new ArrayList<ReminderEntry>();
283 mDefaultReminders = new ArrayList<ReminderEntry>();
300 mReminders.add(ReminderEntry.valueOf(defaultReminderMins));
301 mDefaultReminders.add(ReminderEntry.valueOf(defaultReminderMins));
442 mReminders = new ArrayList<ReminderEntry>();
891 ReminderEntry prev = mReminders.get(mReminders.size()-1);
893 ReminderEntry cur = mReminders.get(i);