Searched refs:mReminders (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 274 public ArrayList<ReminderEntry> mReminders; field in CalendarEventModel 282 mReminders = new ArrayList<ReminderEntry>(); in CalendarEventModel() 300 mReminders.add(ReminderEntry.valueOf(defaultReminderMins)); in CalendarEventModel() 442 mReminders = new ArrayList<ReminderEntry>(); in clear() 511 result = prime * result + ((mReminders == null) ? 0 : mReminders.hashCode()); in hashCode() 792 if (mReminders == null) { in checkOriginalModelFields() 793 if (originalModel.mReminders != null) { in checkOriginalModelFields() 796 } else if (!mReminders.equals(originalModel.mReminders)) { in checkOriginalModelFields() 883 if (mReminders.size() <= 1) { in normalizeReminders() 888 Collections.sort(mReminders); in normalizeReminders() [all …]
|
D | EventInfoFragment.java | 391 public ArrayList<ReminderEntry> mReminders; field in EventInfoFragment 671 mReminders = reminders; in EventInfoFragment() 898 mReminders = Utils.readRemindersFromBundle(savedInstanceState); in onCreateView() 1068 (mReminders != null && mReminders.size() > 0); in initEventCursor() 1191 mReminders = EventViewUtils.reminderItemsToReminders(mReminderViews, in onSaveInstanceState() 1193 int numReminders = mReminders.size(); in onSaveInstanceState() 1198 for (ReminderEntry reminder : mReminders) { in onSaveInstanceState() 1947 if (mReminders != null) { in initReminders() 1948 reminders = mReminders; in initReminders() 2194 mReminders = EventViewUtils.reminderItemsToReminders(mReminderViews, in saveReminders() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventFragment.java | 119 private ArrayList<ReminderEntry> mReminders; field in EditEventFragment 219 if (mModel.mHasAlarm && mReminders == null) { in onQueryComplete() 229 if (mReminders == null) { in onQueryComplete() 231 mReminders = new ArrayList<ReminderEntry>(); in onQueryComplete() 233 Collections.sort(mReminders); in onQueryComplete() 235 mOriginalModel.mReminders = mReminders; in onQueryComplete() 236 mModel.mReminders = in onQueryComplete() 237 (ArrayList<ReminderEntry>) mReminders.clone(); in onQueryComplete() 314 mModel.mReminders.add(re); in onQueryComplete() 315 mOriginalModel.mReminders.add(re); in onQueryComplete() [all …]
|
D | EditEventActivity.java | 57 private ArrayList<ReminderEntry> mReminders; field in EditEventActivity 71 mReminders = getReminderEntriesFromIntent(); in onCreate() 100 mEditFragment = new EditEventFragment(mEventInfo, mReminders, mEventColorInitialized, in onCreate()
|
D | EditEventView.java | 580 mModel.mReminders = EventViewUtils.reminderItemsToReminders( in fillModelFromReadOnlyUi() 582 mModel.mReminders.addAll(mUnsupportedReminders); in fillModelFromReadOnlyUi() 674 mModel.mReminders = EventViewUtils.reminderItemsToReminders(mReminderItems, in fillModelFromUI() 676 mModel.mReminders.addAll(mUnsupportedReminders); in fillModelFromUI() 1015 ArrayList<ReminderEntry> reminders = model.mReminders; in prepareReminders() 1768 mModel.mReminders.clear(); in onItemSelected() 1769 mModel.mReminders.addAll(mModel.mDefaultReminders); in onItemSelected() 1770 mModel.mHasAlarm = mModel.mReminders.size() != 0; in onItemSelected()
|
D | EditEventHelper.java | 317 ArrayList<ReminderEntry> reminders = model.mReminders; in saveEvent() 425 originalReminders = originalModel.mReminders; in saveEvent()
|
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
D | EditEventHelperTest.java | 413 mHelper.saveRemindersWithBackRef(expectedOps, br_id, mModel1.mReminders, in verifySaveEventNewEvent() 460 mHelper.saveReminders(expectedOps, TEST_EVENT_ID, mModel1.mReminders, in verifySaveEventModifyRecurring() 461 mModel2.mReminders, false); in verifySaveEventModifyRecurring() 514 mHelper.saveRemindersWithBackRef(expectedOps, id, mModel1.mReminders, in verifySaveEventRecurringToNonRecurring() 515 mModel2.mReminders, true); in verifySaveEventRecurringToNonRecurring() 597 mHelper.saveReminders(expectedOps, TEST_EVENT_ID, mModel1.mReminders, in verifySaveEventUpdateNonRecurring() 598 mModel2.mReminders, false); in verifySaveEventUpdateNonRecurring() 655 mHelper.saveRemindersWithBackRef(expectedOps, id, mModel1.mReminders, in verifySaveEventModifySingleInstance() 656 mModel2.mReminders, true); in verifySaveEventModifySingleInstance() 711 mHelper.saveRemindersWithBackRef(expectedOps, id, mModel1.mReminders, in verifySaveEventModifyAllFollowingWithNonRecurring() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModePrioritySettings.java | 44 private SwitchPreference mReminders; field in ZenModePrioritySettings 60 mReminders = (SwitchPreference) root.findPreference(KEY_REMINDERS); in onCreate() 61 mReminders.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreate() 175 mReminders.setChecked(isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS)); in updateControls()
|