Home
last modified time | relevance | path

Searched refs:localTimezone (Results 1 – 6 of 6) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarCache.java116 String localTimezone = TimeZone.getDefault().getID(); in readTimezoneInstances()
118 localTimezone, e); in readTimezoneInstances()
119 return localTimezone; in readTimezoneInstances()
DCalendarInstancesHelper.java159 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument
337 eventTime.timezone = localTimezone; in performInstanceExpansion()
409 eventTime.timezone = localTimezone; in performInstanceExpansion()
530 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument
542 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked()
DCalendarProvider2.java631 String localTimezone = TimeZone.getDefault().getID(); in isLocalSameAsInstancesTimezone() local
632 return TextUtils.equals(mCalendarCache.readTimezoneInstances(), localTimezone); in isLocalSameAsInstancesTimezone()
648 String localTimezone = TimeZone.getDefault().getID(); in doUpdateTimezoneDependentFields() local
649 doProcessEventRawTimes(localTimezone, TimeUtils.getTimeZoneDatabaseVersion()); in doUpdateTimezoneDependentFields()
674 protected void doProcessEventRawTimes(String localTimezone, String timeZoneDatabaseVersion) { in doProcessEventRawTimes() argument
679 mCalendarCache.writeTimezoneInstances(localTimezone); in doProcessEventRawTimes()
1559 String localTimezone = TimeZone.getDefault().getID(); in acquireInstanceRangeLocked() local
1560 timezoneChanged = !instancesTimezone.equals(localTimezone); in acquireInstanceRangeLocked()
1563 instancesTimezone = localTimezone; in acquireInstanceRangeLocked()
4435 String localTimezone = TimeZone.getDefault().getID(); in updateInTransactionInner() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1315 String localTimezone, boolean allDay, Context context) { in getDisplayedDatetime() argument
1323 Time currentTime = new Time(localTimezone); in getDisplayedDatetime()
1329 long localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone); in getDisplayedDatetime()
1330 long localEndMillis = convertAlldayUtcToLocal(null, endMillis, localTimezone); in getDisplayedDatetime()
1388 public static String getDisplayedTimezone(long startMillis, String localTimezone, in getDisplayedTimezone() argument
1391 if (!TextUtils.equals(localTimezone, eventTimezone)) { in getDisplayedTimezone()
1393 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone()
1395 tzDisplay = localTimezone; in getDisplayedTimezone()
1397 Time startTime = new Time(localTimezone); in getDisplayedTimezone()
DEventInfoFragment.java689 String localTimezone = Utils.getTimeZone(mActivity, mTZUpdater); in updateEvent() local
693 System.currentTimeMillis(), localTimezone, mAllDay, context); in updateEvent()
697 displayedTimezone = Utils.getDisplayedTimezone(mStartMillis, localTimezone, in updateEvent()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1129 String localTimezone = TimeZone.getDefault().getID(); in initCalendarCacheLocked() local
1134 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES, localTimezone); in initCalendarCacheLocked()
1135 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS, localTimezone); in initCalendarCacheLocked()
3076 String localTimezone = TimeZone.getDefault().getID(); in testUpdateProviderProperties() local
3090 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3099 updateValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3100 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3101 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS); in testUpdateProviderProperties()