Searched refs:originalModel (Results 1 – 2 of 2) sorted by relevance
624 public boolean isUnchanged(CalendarEventModel originalModel) { in isUnchanged() argument625 if (this == originalModel) { in isUnchanged()628 if (originalModel == null) { in isUnchanged()632 if (!checkOriginalModelFields(originalModel)) { in isUnchanged()637 if (!TextUtils.isEmpty(originalModel.mLocation)) { in isUnchanged()640 } else if (!mLocation.equals(originalModel.mLocation)) { in isUnchanged()645 if (!TextUtils.isEmpty(originalModel.mTitle)) { in isUnchanged()648 } else if (!mTitle.equals(originalModel.mTitle)) { in isUnchanged()653 if (!TextUtils.isEmpty(originalModel.mDescription)) { in isUnchanged()656 } else if (!mDescription.equals(originalModel.mDescription)) { in isUnchanged()[all …]
268 public boolean saveEvent(CalendarEventModel model, CalendarEventModel originalModel, in saveEvent() argument293 if (originalModel != null && !isSameEvent(model, originalModel)) { in saveEvent()298 if (originalModel != null && model.isUnchanged(originalModel)) { in saveEvent()307 if (model.mUri != null && originalModel == null) { in saveEvent()331 } else if (TextUtils.isEmpty(model.mRrule) && TextUtils.isEmpty(originalModel.mRrule)) { in saveEvent()333 checkTimeDependentFields(originalModel, model, values, modifyWhich); in saveEvent()336 } else if (TextUtils.isEmpty(originalModel.mRrule)) { in saveEvent()345 values.put(Events.ORIGINAL_SYNC_ID, originalModel.mSyncId); in saveEvent()347 boolean allDay = originalModel.mAllDay; in saveEvent()349 values.put(Events.STATUS, originalModel.mEventStatus); in saveEvent()[all …]