/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | MetaData.java | 43 public String timezone; // local timezone used for Instance expansion field in class:MetaData.Fields 89 fields.timezone = mFields.timezone; 118 fields.timezone = mFields.timezone; 131 String timezone = null; 140 timezone = cursor.getString(METADATA_INDEX_LOCAL_TIMEZONE); 151 mFields.timezone = timezone; 170 write(String timezone, long begin, long end, int startDay, int endDay) argument 194 writeLocked(String timezone, long begin, long end) argument [all...] |
H A D | CalendarCache.java | 85 Log.e(TAG, "Could not read timezone database version from CalendarCache"); 99 Log.e(TAG, "Cannot read timezone type from CalendarCache - using AUTO as default", e); 104 public void writeTimezoneInstances(String timezone) { argument 106 writeData(KEY_TIMEZONE_INSTANCES, timezone); 108 Log.e(TAG, "Cannot write instances timezone to CalendarCache"); 117 Log.e(TAG, "Cannot read instances timezone from CalendarCache - using device one: " + 123 public void writeTimezoneInstancesPrevious(String timezone) { argument 125 writeData(KEY_TIMEZONE_INSTANCES_PREVIOUS, timezone); 127 Log.e(TAG, "Cannot write previous instance timezone to CalendarCache"); 135 Log.e(TAG, "Cannot read previous instances timezone fro [all...] |
H A D | CalendarDatabaseHelper.java | 538 // timezone for event 565 // timezone for event with allDay events are in local timezone 605 // timezone for event 631 // timezone for event with allDay events are in local timezone 674 // timezone for event 699 // timezone for event with allDay events are in local timezone 903 "timezone TEX 1464 fixAllDayTime(Time time, String timezone, Long timeInMillis) argument [all...] |
H A D | CalendarInstancesHelper.java | 293 eventTime.timezone = eventTimezone; 334 // Initialize the "eventTime" timezone outside the loop. 337 eventTime.timezone = Time.TIMEZONE_UTC; 339 eventTime.timezone = localTimezone; 409 eventTime.timezone = Time.TIMEZONE_UTC; 411 eventTime.timezone = localTimezone; 704 // Update the timezone-dependent fields. 707 local.timezone = Time.TIMEZONE_UTC; 709 local.timezone = fields.timezone; [all...] |
H A D | CalendarProvider2.java | 464 * Listens for timezone changes and disk-no-longer-full events 595 * This creates a background thread to check the timezone and update 596 * the timezone dependent fields in the Instances table if the timezone 621 * This method runs in a background thread. If the timezone has changed 627 // Nothing to do if we have the "home" timezone type (timezone is sticky) 631 // We are here in "auto" mode, the timezone is coming from the device 637 // Even if the timezone hasn't changed, check for missed alarms. 698 private long get2445ToMillis(String timezone, Strin argument 717 updateEventsStartEndLocked(long eventId, String timezone, String dtStart2445, String dtEnd2445) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | CityObj.java | 31 public CityObj(String name, String timezone, String id) { argument 33 mTimeZone = timezone; 41 ", timezone=" + mTimeZone +
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarSyncTestingBase.java | 169 * @param timezone 173 protected void insertCalendar(String name, String timezone, String calendarUrl) argument 189 values.put(CalendarContract.Calendars.CALENDAR_TIME_ZONE, timezone); 232 // Constructor for normal events, using the default timezone 261 // Constructor for normal events, specifying the timezone 263 boolean allDay, String timezone) { 264 init(title, startDate, endDate, allDay, timezone); 268 boolean allDay, String timezone) { 272 time.timezone = Time.TIMEZONE_UTC; 273 } else if (timezone ! 262 EventInfo(String title, String startDate, String endDate, boolean allDay, String timezone) argument 267 init(String title, String startDate, String endDate, boolean allDay, String timezone) argument 293 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 298 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 336 init(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String timezone) argument [all...] |
H A D | CalendarProvider2Test.java | 507 // Constructor for normal events, using the default timezone 513 // Constructor for normal events, specifying the timezone 515 boolean allDay, String timezone) { 516 init(title, startDate, endDate, allDay, timezone); 520 boolean allDay, String timezone) { 524 time.timezone = Time.TIMEZONE_UTC; 525 } else if (timezone != null) { 526 time.timezone = timezone; 528 mTimezone = time.timezone; 514 EventInfo(String title, String startDate, String endDate, boolean allDay, String timezone) argument 519 init(String title, String startDate, String endDate, boolean allDay, String timezone) argument 548 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 553 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument 593 init(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String timezone, String customPackageName, String customPackageUri, String uid2445) argument 1046 insertCal(String name, String timezone) argument 1055 insertCal(String name, String timezone, String account) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | TimezoneAdapter.java | 43 * timezones (one user-provided, the device timezone, and two recent timezones), 51 * {@link TimezoneRow} is an immutable class for representing a timezone. We 57 /** The ID of this timezone, e.g. "America/Los_Angeles" */ 60 /** The display name of this timezone, e.g. "Pacific Time" */ 63 /** The actual offset of this timezone from GMT in milliseconds */ 70 * A one-line representation of this timezone, including both GMT offset 211 * Constructs a timezone adapter that contains an initial set of entries 212 * including the current timezone, the device timezone, and two recently 230 * Given the ID of a timezone, return [all...] |
H A D | Utils.java | 563 recycle.timezone = Time.TIMEZONE_UTC; 565 recycle.timezone = tz; 573 recycle.timezone = tz; 575 recycle.timezone = Time.TIMEZONE_UTC; 590 recycle.timezone = tz; 1146 * @param context The calling context, used to get the timezone and do the 1173 public static void setMidnightUpdater(Handler h, Runnable r, String timezone) { argument 1174 if (h == null || r == null || timezone == null) { 1178 Time time = new Time(timezone); 1211 // All day events require special timezone adjustmen 1440 setTodayIcon(LayerDrawable icon, Context c, String timezone) argument [all...] |
H A D | DeleteEventHelper.java | 378 String timezone = mModel.mTimezone; 380 values.put(Events.EVENT_TIMEZONE, timezone); 416 date.timezone = Time.TIMEZONE_UTC;
|
H A D | DayFragment.java | 66 mSelectedDay.timezone = tz;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventActivity.java | 118 info.endTime.timezone = Time.TIMEZONE_UTC; 125 info.startTime.timezone = Time.TIMEZONE_UTC;
|
H A D | EditEventHelper.java | 678 dtstart.timezone = originalModel.mTimezone; 722 untilTime.timezone = Time.TIMEZONE_UTC; 740 dtstart.timezone = Time.TIMEZONE_UTC; 1173 String timezone = model.mTimezone; 1174 if (timezone == null) { 1175 timezone = TimeZone.getDefault().getID(); 1177 Time startTime = new Time(timezone); 1178 Time endTime = new Time(timezone); 1190 // the timezone to UTC, as required for all-day events. 1191 timezone [all...] |
H A D | EditEventView.java | 884 // the timezone to UTC, as required for all-day events. 889 mStartTime.timezone = mTimezone; 895 mEndTime.timezone = mTimezone; 907 mStartTime.timezone = mTimezone; 908 mEndTime.timezone = mTimezone; 931 // Save the timezone so we can display it as a standard option next time 1175 mStartTime.timezone = mTimezone; 1180 mEndTime.timezone = mTimezone; 1208 mStartTime.timezone = mTimezone; 1209 mEndTime.timezone [all...] |
H A D | EditEventFragment.java | 714 t.timezone = tz; 717 t.timezone = Time.TIMEZONE_UTC; 719 t.timezone = tz;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekAdapter.java | 107 mSelectedDay.timezone = mHomeTimeZone; 109 mToday.timezone = mHomeTimeZone; 194 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { 243 v.setWeekParams(drawingParams, mSelectedDay.timezone); 282 day.timezone = mHomeTimeZone;
|
H A D | MonthByWeekFragment.java | 98 mSelectedDay.timezone = tz; 100 mTempTime.timezone = tz; 101 mFirstDayOfMonth.timezone = tz; 103 mFirstVisibleDay.timezone = tz;
|
H A D | SimpleDayPickerFragment.java | 128 Time midnight = new Time(mFirstVisibleDay.timezone); 172 mFirstDayOfMonth.timezone = tz; 174 mFirstVisibleDay.timezone = tz; 176 mTempTime.timezone = tz;
|
H A D | MonthListView.java | 59 mTempTime.timezone =
|
H A D | SimpleWeeksAdapter.java | 241 v.setWeekParams(drawingParams, mSelectedDay.timezone);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetService.java | 441 private static long getNextMidnightTimeMillis(String timezone) { argument 450 time.timezone = timezone;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaFragment.java | 407 event.startTime.timezone = Time.TIMEZONE_UTC; 408 event.endTime.timezone = Time.TIMEZONE_UTC;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | UtilsTests.java | 124 int month, int year, String timezone) { 125 Time t = new Time(timezone); 162 // Must reset the timezone here, because even though the fake provider will be 123 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
|
/packages/apps/Settings/src/com/android/settings/net/ |
H A D | NetworkPolicyEditor.java | 143 cycleTimezone = time.timezone;
|