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.java629 String localTimezone = TimeZone.getDefault().getID(); in isLocalSameAsInstancesTimezone() local
630 return TextUtils.equals(mCalendarCache.readTimezoneInstances(), localTimezone); in isLocalSameAsInstancesTimezone()
646 String localTimezone = TimeZone.getDefault().getID(); in doUpdateTimezoneDependentFields() local
647 doProcessEventRawTimes(localTimezone, TimeUtils.getTimeZoneDatabaseVersion()); in doUpdateTimezoneDependentFields()
672 protected void doProcessEventRawTimes(String localTimezone, String timeZoneDatabaseVersion) { in doProcessEventRawTimes() argument
677 mCalendarCache.writeTimezoneInstances(localTimezone); in doProcessEventRawTimes()
1557 String localTimezone = TimeZone.getDefault().getID(); in acquireInstanceRangeLocked() local
1558 timezoneChanged = !instancesTimezone.equals(localTimezone); in acquireInstanceRangeLocked()
1561 instancesTimezone = localTimezone; in acquireInstanceRangeLocked()
4433 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.java1110 String localTimezone = TimeZone.getDefault().getID(); in initCalendarCacheLocked() local
1115 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES, localTimezone); in initCalendarCacheLocked()
1116 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS, localTimezone); in initCalendarCacheLocked()
3057 String localTimezone = TimeZone.getDefault().getID(); in testUpdateProviderProperties() local
3071 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3080 updateValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3081 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
3082 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS); in testUpdateProviderProperties()