Home
last modified time | relevance | path

Searched refs:ReminderEntry (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java101 public static class ReminderEntry implements Comparable<ReminderEntry>, Serializable { class in CalendarEventModel
111 public static ReminderEntry valueOf(int minutes, int method) { in valueOf()
113 return new ReminderEntry(minutes, method); in valueOf()
121 public static ReminderEntry valueOf(int minutes) { in valueOf()
131 private ReminderEntry(int minutes, int method) { in ReminderEntry() method in CalendarEventModel.ReminderEntry
147 if (!(obj instanceof ReminderEntry)) { in equals()
151 ReminderEntry re = (ReminderEntry) obj; in equals()
175 public int compareTo(ReminderEntry re) { in compareTo()
274 public ArrayList<ReminderEntry> mReminders;
275 public ArrayList<ReminderEntry> mDefaultReminders;
[all …]
DEventInfoFragment.java99 import com.android.calendar.CalendarEventModel.ReminderEntry;
391 public ArrayList<ReminderEntry> mReminders;
392 public ArrayList<ReminderEntry> mOriginalReminders = new ArrayList<ReminderEntry>();
393 public ArrayList<ReminderEntry> mUnsupportedReminders = new ArrayList<ReminderEntry>();
644 ArrayList<ReminderEntry> reminders) { in EventInfoFragment()
680 ArrayList<ReminderEntry> reminders) { in EventInfoFragment()
1198 for (ReminderEntry reminder : mReminders) { in onSaveInstanceState()
1921 mUnsupportedReminders.add(ReminderEntry.valueOf(minutes, method)); in initReminders()
1923 mOriginalReminders.add(ReminderEntry.valueOf(minutes, method)); in initReminders()
1945 ArrayList<ReminderEntry> reminders; in initReminders()
[all …]
DEventInfoActivity.java37 import com.android.calendar.CalendarEventModel.ReminderEntry;
77 ArrayList<ReminderEntry> reminders = null; in onCreate()
DUtils.java56 import com.android.calendar.CalendarEventModel.ReminderEntry;
2088 public static ArrayList<ReminderEntry> readRemindersFromBundle(Bundle bundle) { in readRemindersFromBundle()
2089 ArrayList<ReminderEntry> reminders = null; in readRemindersFromBundle()
2110 reminders = new ArrayList<ReminderEntry>(numReminders); in readRemindersFromBundle()
2115 reminders.add(ReminderEntry.valueOf(minutes, method)); in readRemindersFromBundle()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java41 import com.android.calendar.CalendarEventModel.ReminderEntry;
414 new ArrayList<ReminderEntry>(), true); in verifySaveEventNewEvent()
1110 ArrayList<ReminderEntry> reminders = new ArrayList<ReminderEntry>(); in testSaveReminders()
1111 ArrayList<ReminderEntry> originalReminders = new ArrayList<ReminderEntry>(); in testSaveReminders()
1131 reminders.add(ReminderEntry.valueOf(5)); in testSaveReminders()
1132 reminders.add(ReminderEntry.valueOf(10)); in testSaveReminders()
1133 reminders.add(ReminderEntry.valueOf(15)); in testSaveReminders()
1135 originalReminders.add(ReminderEntry.valueOf(5)); in testSaveReminders()
1136 originalReminders.add(ReminderEntry.valueOf(10)); in testSaveReminders()
1137 originalReminders.add(ReminderEntry.valueOf(15)); in testSaveReminders()
[all …]
/packages/apps/Calendar/src/com/android/calendar/event/
DEventViewUtils.java18 import com.android.calendar.CalendarEventModel.ReminderEntry;
115 public static ArrayList<ReminderEntry> reminderItemsToReminders( in reminderItemsToReminders()
119 ArrayList<ReminderEntry> reminders = new ArrayList<ReminderEntry>(len); in reminderItemsToReminders()
126 reminders.add(ReminderEntry.valueOf(minutes, method)); in reminderItemsToReminders()
227 ArrayList<String> methodLabels, ReminderEntry newReminder, int maxReminders, in addReminder()
DEditEventActivity.java36 import com.android.calendar.CalendarEventModel.ReminderEntry;
57 private ArrayList<ReminderEntry> mReminders;
114 private ArrayList<ReminderEntry> getReminderEntriesFromIntent() { in getReminderEntriesFromIntent()
116 return (ArrayList<ReminderEntry>) intent.getSerializableExtra(EXTRA_EVENT_REMINDERS); in getReminderEntriesFromIntent()
DEditEventHelper.java43 import com.android.calendar.CalendarEventModel.ReminderEntry;
317 ArrayList<ReminderEntry> reminders = model.mReminders; in saveEvent()
423 ArrayList<ReminderEntry> originalReminders; in saveEvent()
427 originalReminders = new ArrayList<ReminderEntry>(); in saveEvent()
824 ArrayList<ReminderEntry> reminders, ArrayList<ReminderEntry> originalReminders, in saveReminders()
844 ReminderEntry re = reminders.get(i); in saveReminders()
869 int eventIdIndex, ArrayList<ReminderEntry> reminders, in saveRemindersWithBackRef()
870 ArrayList<ReminderEntry> originalReminders, boolean forceSave) { in saveRemindersWithBackRef()
888 ReminderEntry re = reminders.get(i); in saveRemindersWithBackRef()
DEditEventFragment.java62 import com.android.calendar.CalendarEventModel.ReminderEntry;
119 private ArrayList<ReminderEntry> mReminders;
231 mReminders = new ArrayList<ReminderEntry>(); in onQueryComplete()
237 (ArrayList<ReminderEntry>) mReminders.clone(); in onQueryComplete()
313 ReminderEntry re = ReminderEntry.valueOf(minutes, method); in onQueryComplete()
437 public EditEventFragment(EventInfo event, ArrayList<ReminderEntry> reminders, in EditEventFragment()
DEditEventView.java72 import com.android.calendar.CalendarEventModel.ReminderEntry;
226 private ArrayList<ReminderEntry> mUnsupportedReminders = new ArrayList<ReminderEntry>();
1015 ArrayList<ReminderEntry> reminders = model.mReminders; in prepareReminders()
1018 for (ReminderEntry re : reminders) { in prepareReminders()
1029 for (ReminderEntry re : reminders) { in prepareReminders()
1553 ReminderEntry.valueOf(GeneralPreferences.REMINDER_DEFAULT_TIME), in addReminder()
1559 ReminderEntry.valueOf(mDefaultReminderMinutes), in addReminder()