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

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DUtils.java23 int month, int year, String timezone) {
24 Time t = new Time(timezone);
22 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCityObj.java32 public CityObj(String name, String timezone, String id) { argument
34 mTimeZone = timezone;
42 ", 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.java540 // timezone for event
567 // timezone for event with allDay events are in local timezone
607 // timezone for event
633 // timezone for event with allDay events are in local timezone
676 // timezone for event
701 // timezone for event with allDay events are in local timezone
906 "timezone TEX
1472 fixAllDayTime(Time time, String timezone, Long timeInMillis) argument
[all...]
H A DCalendarProvider2.java472 * Listens for timezone changes and disk-no-longer-full events
604 * This creates a background thread to check the timezone and update
605 * the timezone dependent fields in the Instances table if the timezone
630 * This method runs in a background thread. If the timezone has changed
636 // Nothing to do if we have the "home" timezone type (timezone is sticky)
640 // We are here in "auto" mode, the timezone is coming from the device
646 // Even if the timezone hasn't changed, check for missed alarms.
707 private long get2445ToMillis(String timezone, Strin argument
726 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.java442 private static long getNextMidnightTimeMillis(String timezone) { argument
451 time.timezone = timezone;
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java147 int month, int year, String timezone) {
148 Time t = new Time(timezone);
186 // Must reset the timezone here, because even though the fake provider will be
146 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java383 String timezone = TimeZone.getDefault().getID();
384 if (handler == null || runnable == null || timezone == null) {
388 Time time = new Time(timezone);
406 String timezone = TimeZone.getDefault().getID();
407 if (handler == null || runnable == null || timezone == null) {
563 // Read strings array of name,timezone, id
581 * Returns string denoting the timezone hour offset (e.g. GMT-8:00)
583 public static String getGMTHourOffset(TimeZone timezone, boolean showMinutes) { argument
586 int gmtOffset = timezone.getRawOffset();
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java741 recycle.timezone = Time.TIMEZONE_UTC;
743 recycle.timezone = tz;
751 recycle.timezone = tz;
753 recycle.timezone = Time.TIMEZONE_UTC;
768 recycle.timezone = tz;
1353 * @param context The calling context, used to get the timezone and do the
1380 public static void setMidnightUpdater(Handler h, Runnable r, String timezone) { argument
1381 if (h == null || r == null || timezone == null) {
1385 Time time = new Time(timezone);
1418 // All day events require special timezone adjustmen
1647 setTodayIcon(LayerDrawable icon, Context c, String timezone) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1961 * @param timezone a TimeZone object.
1964 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1967 mDateTimeStampFormat.setTimeZone(timezone);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java1961 * @param timezone a TimeZone object.
1964 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1967 mDateTimeStampFormat.setTimeZone(timezone);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifInterface.java1961 * @param timezone a TimeZone object.
1964 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1967 mDateTimeStampFormat.setTimeZone(timezone);
/packages/apps/Mms/src/com/android/mms/exif/
H A DExifInterface.java1961 * @param timezone a TimeZone object.
1964 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1967 mDateTimeStampFormat.setTimeZone(timezone);

Completed in 2604 milliseconds