/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | MetaData.java | 43 public String timezone; // local timezone used for Instance expansion field in MetaData.Fields 89 fields.timezone = mFields.timezone; in getFields() 118 fields.timezone = mFields.timezone; in getFieldsLocked() 131 String timezone = null; in readLocked() local 140 timezone = cursor.getString(METADATA_INDEX_LOCAL_TIMEZONE); in readLocked() 151 mFields.timezone = timezone; in readLocked() 170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument 174 writeLocked(timezone, begin, end); in write() 194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument 197 values.put(CalendarMetaData.LOCAL_TIMEZONE, timezone); in writeLocked() [all …]
|
D | CalendarCache.java | 104 public void writeTimezoneInstances(String timezone) { in writeTimezoneInstances() argument 106 writeData(KEY_TIMEZONE_INSTANCES, timezone); in writeTimezoneInstances() 123 public void writeTimezoneInstancesPrevious(String timezone) { in writeTimezoneInstancesPrevious() argument 125 writeData(KEY_TIMEZONE_INSTANCES_PREVIOUS, timezone); in writeTimezoneInstancesPrevious()
|
D | CalendarInstancesHelper.java | 291 eventTime.timezone = eventTimezone; in performInstanceExpansion() 335 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion() 337 eventTime.timezone = localTimezone; in performInstanceExpansion() 407 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion() 409 eventTime.timezone = localTimezone; in performInstanceExpansion() 706 local.timezone = Time.TIMEZONE_UTC; in updateInstancesLocked() 708 local.timezone = fields.timezone; in updateInstancesLocked()
|
D | CalendarDatabaseHelper.java | 1472 private static boolean fixAllDayTime(Time time, String timezone, Long timeInMillis) { in fixAllDayTime() argument 2534 String timezone; in upgradeToVersion69() local 2550 timezone = cursor.getString(6); in upgradeToVersion69() 2567 if (!TextUtils.equals(timezone, utc)) { in upgradeToVersion69() 2569 timezone = utc; in upgradeToVersion69() 2572 time.clear(timezone); in upgradeToVersion69() 2573 update |= fixAllDayTime(time, timezone, dtstart); in upgradeToVersion69() 2576 time.clear(timezone); in upgradeToVersion69() 2577 update |= fixAllDayTime(time, timezone, dtend); in upgradeToVersion69() 2613 timezone, in upgradeToVersion69() [all …]
|
D | CalendarProvider2.java | 702 private long get2445ToMillis(String timezone, String dt2445) { in get2445ToMillis() argument 709 Time time = (timezone != null) ? new Time(timezone) : new Time(); in get2445ToMillis() 722 String timezone, String dtStart2445, String dtEnd2445) { in updateEventsStartEndLocked() argument 725 values.put(Events.DTSTART, get2445ToMillis(timezone, dtStart2445)); in updateEventsStartEndLocked() 726 values.put(Events.DTEND, get2445ToMillis(timezone, dtEnd2445)); in updateEventsStartEndLocked() 1637 dtstart.timezone = values.getAsString(Events.EVENT_TIMEZONE); in setRecurrenceEnd() 1676 untilTime.timezone = Time.TIMEZONE_UTC; in setRecurrenceEnd() 1689 dtstart.timezone = Time.TIMEZONE_UTC; in setRecurrenceEnd() 3023 String timezone = values.getAsString(Events.EVENT_TIMEZONE); in updateEventRawTimesLocked() local 3031 if (allDay || TextUtils.isEmpty(timezone)) { in updateEventRawTimesLocked() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | CalendarInteractionUtils.java | 111 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal() 113 recycle.timezone = tz; in convertAlldayUtcToLocal() 121 recycle.timezone = tz; in convertAlldayLocalToUTC() 123 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayLocalToUTC()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 711 dtstart.timezone = originalModel.mTimezone; in updatePastEvents() 755 untilTime.timezone = Time.TIMEZONE_UTC; in updatePastEvents() 773 dtstart.timezone = Time.TIMEZONE_UTC; in updatePastEvents() 1218 String timezone = model.mTimezone; in getContentValuesFromModel() local 1219 if (timezone == null) { in getContentValuesFromModel() 1220 timezone = TimeZone.getDefault().getID(); in getContentValuesFromModel() 1222 Time startTime = new Time(timezone); in getContentValuesFromModel() 1223 Time endTime = new Time(timezone); in getContentValuesFromModel() 1237 timezone = Time.TIMEZONE_UTC; in getContentValuesFromModel() 1241 startTime.timezone = timezone; in getContentValuesFromModel() [all …]
|
D | EditEventActivity.java | 143 info.endTime.timezone = Time.TIMEZONE_UTC; in getEventInfoFromIntent() 150 info.startTime.timezone = Time.TIMEZONE_UTC; in getEventInfoFromIntent()
|
D | EditEventView.java | 422 mStartTime.timezone = mTimezone; in setTimezone() 424 mEndTime.timezone = mTimezone; in setTimezone() 601 b.putString(RecurrencePickerDialog.BUNDLE_TIME_ZONE, mStartTime.timezone); in onClick() 726 mStartTime.timezone = mTimezone; in fillModelFromUI() 732 mEndTime.timezone = mTimezone; in fillModelFromUI() 744 mStartTime.timezone = mTimezone; in fillModelFromUI() 745 mEndTime.timezone = mTimezone; in fillModelFromUI() 1078 mStartTime.timezone = mTimezone; in setModel() 1083 mEndTime.timezone = mTimezone; in setModel() 1116 mStartTime.timezone = mTimezone; in setModel() [all …]
|
D | EditEventFragment.java | 860 t.timezone = tz; in run() 863 t.timezone = Time.TIMEZONE_UTC; in run() 865 t.timezone = tz; in run()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ExifUtil.java | 103 TimeZone timezone = Calendar.getInstance().getTimeZone(); 104 mExif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME, timestampMs, timezone); 105 mExif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME_DIGITIZED, timestampMs, timezone); 106 mExif.addDateTimeStampTag(ExifInterface.TAG_DATE_TIME_ORIGINAL, timestampMs, timezone);
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | Utils.java | 23 int month, int year, String timezone) { in createTimeInMillis() argument 24 Time t = new Time(timezone); in createTimeInMillis()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 343 String timezone = TimeZone.getDefault().getID(); in setMidnightUpdater() local 344 if (handler == null || runnable == null || timezone == null) { in setMidnightUpdater() 348 Time time = new Time(timezone); in setMidnightUpdater() 366 String timezone = TimeZone.getDefault().getID(); in setQuarterHourUpdater() local 367 if (handler == null || runnable == null || timezone == null) { in setQuarterHourUpdater() 586 public static String getGMTHourOffset(TimeZone timezone, boolean useShortForm) { in getGMTHourOffset() argument 587 final int gmtOffset = timezone.getRawOffset(); in getGMTHourOffset()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 114 mSelectedDay.timezone = mHomeTimeZone; in updateTimeZones() 116 mToday.timezone = mHomeTimeZone; in updateTimeZones() 201 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { in getView() 250 v.setWeekParams(drawingParams, mSelectedDay.timezone); in getView() 305 day.timezone = mHomeTimeZone; in setDayParameters()
|
D | SimpleDayPickerFragment.java | 128 Time midnight = new Time(mFirstVisibleDay.timezone); 172 mFirstDayOfMonth.timezone = tz; in onAttach() 174 mFirstVisibleDay.timezone = tz; in onAttach() 176 mTempTime.timezone = tz; in onAttach()
|
D | MonthByWeekFragment.java | 120 mSelectedDay.timezone = tz; 122 mTempTime.timezone = tz; 123 mFirstDayOfMonth.timezone = tz; 125 mFirstVisibleDay.timezone = tz;
|
D | MonthListView.java | 59 mTempTime.timezone =
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 523 boolean allDay, String timezone) { in EventInfo() argument 524 init(title, startDate, endDate, allDay, timezone); in EventInfo() 528 boolean allDay, String timezone) { in init() argument 532 time.timezone = Time.TIMEZONE_UTC; in init() 533 } else if (timezone != null) { in init() 534 time.timezone = timezone; in init() 536 mTimezone = time.timezone; in init() 557 String rrule, boolean allDay, String timezone) { in EventInfo() argument 558 init(title, description, startDate, endDate, rrule, allDay, timezone); in EventInfo() 562 String rrule, boolean allDay, String timezone) { in init() argument [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 741 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal() 743 recycle.timezone = tz; in convertAlldayUtcToLocal() 751 recycle.timezone = tz; in convertAlldayLocalToUTC() 753 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayLocalToUTC() 768 recycle.timezone = tz; in getNextMidnight() 1380 public static void setMidnightUpdater(Handler h, Runnable r, String timezone) { in setMidnightUpdater() argument 1381 if (h == null || r == null || timezone == null) { in setMidnightUpdater() 1385 Time time = new Time(timezone); in setMidnightUpdater() 1647 public static void setTodayIcon(LayerDrawable icon, Context c, String timezone) { in setTodayIcon() argument 1658 Time now = new Time(timezone); in setTodayIcon()
|
D | DeleteEventHelper.java | 378 String timezone = mModel.mTimezone; in deleteRepeatingEvent() local 380 values.put(Events.EVENT_TIMEZONE, timezone); in deleteRepeatingEvent() 416 date.timezone = Time.TIMEZONE_UTC; in deleteRepeatingEvent()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 442 private static long getNextMidnightTimeMillis(String timezone) { 451 time.timezone = timezone;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 409 event.startTime.timezone = Time.TIMEZONE_UTC; in showEventInfo() 410 event.endTime.timezone = Time.TIMEZONE_UTC; in showEventInfo()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.java | 402 final TimeZone timezone = city.getTimeZone(); in getSections() local 403 sections.add(Utils.getGMTHourOffset(timezone, Utils.isPreL())); in getSections()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 147 int month, int year, String timezone) { in createTimeInMillis() argument 148 Time t = new Time(timezone); in createTimeInMillis()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 153 time.timezone = Time.TIMEZONE_UTC; in testGetAppWidgetModel_AllDayEventLater()
|