Searched defs:timezone (Results 1 - 11 of 11) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCityObj.java31 public CityObj(String name, String timezone, String id) { argument
33 mTimeZone = timezone;
41 ", timezone=" + mTimeZone +
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DMetaData.java43 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 DCalendarCache.java85 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 DCalendarDatabaseHelper.java538 // 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 DCalendarProvider2.java464 * 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/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarSyncTestingBase.java169 * @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 DCalendarProvider2Test.java507 // 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/widget/
H A DCalendarAppWidgetService.java441 private static long getNextMidnightTimeMillis(String timezone) { argument
450 time.timezone = timezone;
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java124 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/Calendar/tests/src/com/android/calendar/alerts/
H A DAlertServiceTest.java738 int month, int year, String timezone) {
739 Time t = new Time(timezone);
737 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java563 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...]

Completed in 162 milliseconds