/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | CalendarInteractionUtils.java | 30 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()
|
D | CalendarInteraction.java | 63 String localTimezone = Time.getCurrentTimezone(); in getViewFooter() local 76 dateStart, dateEnd, System.currentTimeMillis(), localTimezone, in getViewFooter()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 1405 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()
|
D | EventInfoFragment.java | 1524 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/ |
D | CalendarInstancesHelper.java | 159 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()
|
D | CalendarCache.java | 116 String localTimezone = TimeZone.getDefault().getID(); in readTimezoneInstances() 118 localTimezone, e); in readTimezoneInstances() 119 return localTimezone; in readTimezoneInstances()
|
D | CalendarProvider2.java | 625 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/ |
D | CalendarProvider2Test.java | 1012 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()
|