Home
last modified time | relevance | path

Searched refs:maxInstance (Results 1 – 3 of 3) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java45 public long maxInstance; // UTC millis field in MetaData.Fields
91 fields.maxInstance = mFields.maxInstance; in getFields()
120 fields.maxInstance = mFields.maxInstance; in getFieldsLocked()
132 long minInstance = 0, maxInstance = 0; in readLocked() local
142 maxInstance = cursor.getLong(METADATA_INDEX_MAX_INSTANCE); in readLocked()
153 mFields.maxInstance = maxInstance; in readLocked()
208 mFields.minInstance = mFields.maxInstance = 0; in writeLocked()
215 mFields.maxInstance = end; in writeLocked()
DCalendarInstancesHelper.java623 if (fields.maxInstance == 0) { in updateInstancesLocked()
660 boolean insideWindow = dtstartMillis <= fields.maxInstance in updateInstancesLocked()
666 && originalInstanceTime <= fields.maxInstance in updateInstancesLocked()
691 if (dtstartMillis <= fields.maxInstance && dtendMillis >= fields.minInstance) { in updateInstancesLocked()
812 performInstanceExpansion(fields.minInstance, fields.maxInstance, in updateRecurrenceInstancesLocked()
DCalendarProvider2.java1367 long maxInstance = fields.maxInstance; in acquireInstanceRangeLocked() local
1383 if (maxInstance == 0 || timezoneChanged || forceExpansion) { in acquireInstanceRangeLocked()
1425 if ((begin >= minInstance) && (end <= maxInstance)) { in acquireInstanceRangeLocked()
1445 if (end > maxInstance) { in acquireInstanceRangeLocked()
1446 mInstancesHelper.expandInstanceRangeLocked(maxInstance, expandEnd, instancesTimezone); in acquireInstanceRangeLocked()
1447 maxInstance = expandEnd; in acquireInstanceRangeLocked()
1451 mMetaData.writeLocked(instancesTimezone, minInstance, maxInstance); in acquireInstanceRangeLocked()