Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java30 String localTimezone, boolean allDay, Context context) { in getDisplayedDatetime() argument
38 Time currentTime = new Time(localTimezone); in getDisplayedDatetime()
44 long localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone); in getDisplayedDatetime()
45 long localEndMillis = convertAlldayUtcToLocal(null, endMillis, localTimezone); in getDisplayedDatetime()
DCalendarInteraction.java63 String localTimezone = Time.getCurrentTimezone(); in getViewFooter() local
76 dateStart, dateEnd, System.currentTimeMillis(), localTimezone, in getViewFooter()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1405 String localTimezone, boolean allDay, Context context) { in getDisplayedDatetime() argument
1413 Time currentTime = new Time(localTimezone); in getDisplayedDatetime()
1419 long localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone); in getDisplayedDatetime()
1420 long localEndMillis = convertAlldayUtcToLocal(null, endMillis, localTimezone); in getDisplayedDatetime()
1478 public static String getDisplayedTimezone(long startMillis, String localTimezone, in getDisplayedTimezone() argument
1481 if (!TextUtils.equals(localTimezone, eventTimezone)) { in getDisplayedTimezone()
1483 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone()
1485 tzDisplay = localTimezone; in getDisplayedTimezone()
1487 Time startTime = new Time(localTimezone); in getDisplayedTimezone()
DEventInfoFragment.java1524 String localTimezone = Utils.getTimeZone(mActivity, mTZUpdater); in updateEvent() local
1528 System.currentTimeMillis(), localTimezone, mAllDay, context); in updateEvent()
1532 displayedTimezone = Utils.getDisplayedTimezone(mStartMillis, localTimezone, in updateEvent()
1554 Time date = new Time(localTimezone); in updateEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
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()
DCalendarCache.java116 String localTimezone = TimeZone.getDefault().getID(); in readTimezoneInstances()
118 localTimezone, e); in readTimezoneInstances()
119 return localTimezone; in readTimezoneInstances()
DCalendarProvider2.java625 String localTimezone = TimeZone.getDefault().getID(); in isLocalSameAsInstancesTimezone() local
626 return TextUtils.equals(mCalendarCache.readTimezoneInstances(), localTimezone); in isLocalSameAsInstancesTimezone()
642 String localTimezone = TimeZone.getDefault().getID(); in doUpdateTimezoneDependentFields() local
643 doProcessEventRawTimes(localTimezone, TimeUtils.getTimeZoneDatabaseVersion()); in doUpdateTimezoneDependentFields()
668 protected void doProcessEventRawTimes(String localTimezone, String timeZoneDatabaseVersion) { in doProcessEventRawTimes() argument
673 mCalendarCache.writeTimezoneInstances(localTimezone); in doProcessEventRawTimes()
1410 String localTimezone = TimeZone.getDefault().getID(); in acquireInstanceRangeLocked() local
1411 timezoneChanged = !instancesTimezone.equals(localTimezone); in acquireInstanceRangeLocked()
1414 instancesTimezone = localTimezone; in acquireInstanceRangeLocked()
4173 String localTimezone = TimeZone.getDefault().getID(); in updateInTransaction() local
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1012 String localTimezone = TimeZone.getDefault().getID(); in initCalendarCacheLocked() local
1017 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES, localTimezone); in initCalendarCacheLocked()
1018 cache.writeDataLocked(db, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS, localTimezone); in initCalendarCacheLocked()
2891 String localTimezone = TimeZone.getDefault().getID(); in testUpdateProviderProperties() local
2905 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
2914 updateValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
2915 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES); in testUpdateProviderProperties()
2916 checkValueForKey(localTimezone, CalendarCache.KEY_TIMEZONE_INSTANCES_PREVIOUS); in testUpdateProviderProperties()