Searched defs:timezone (Results 1 - 13 of 13) 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/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.java467 * Listens for timezone changes and disk-no-longer-full events
599 * This creates a background thread to check the timezone and update
600 * the timezone dependent fields in the Instances table if the timezone
625 * This method runs in a background thread. If the timezone has changed
631 // Nothing to do if we have the "home" timezone type (timezone is sticky)
635 // We are here in "auto" mode, the timezone is coming from the device
641 // Even if the timezone hasn't changed, check for missed alarms.
702 private long get2445ToMillis(String timezone, Strin argument
721 updateEventsStartEndLocked(long eventId, String timezone, String dtStart2445, String dtEnd2445) 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.java343 String timezone = TimeZone.getDefault().getID();
344 if (handler == null || runnable == null || timezone == null) {
348 Time time = new Time(timezone);
366 String timezone = TimeZone.getDefault().getID();
367 if (handler == null || runnable == null || timezone == null) {
582 * Returns string denoting the timezone hour offset (e.g. GMT -8:00)
586 public static String getGMTHourOffset(TimeZone timezone, boolean useShortForm) { argument
587 final 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/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java515 // Constructor for normal events, using the default timezone
521 // Constructor for normal events, specifying the timezone
523 boolean allDay, String timezone) {
524 init(title, startDate, endDate, allDay, timezone);
528 boolean allDay, String timezone) {
532 time.timezone = Time.TIMEZONE_UTC;
533 } else if (timezone != null) {
534 time.timezone = timezone;
536 mTimezone = time.timezone;
522 EventInfo(String title, String startDate, String endDate, boolean allDay, String timezone) argument
527 init(String title, String startDate, String endDate, boolean allDay, String timezone) argument
556 EventInfo(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
561 init(String title, String description, String startDate, String endDate, String rrule, boolean allDay, String timezone) argument
601 init(String originalTitle, String originalInstance, String title, String description, String startDate, String endDate, boolean allDay, String timezone, String customPackageName, String customPackageUri, String uid2445) argument
1065 insertCal(String name, String timezone) argument
1074 insertCal(String name, String timezone, String account) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1940 * @param timezone a TimeZone object.
1943 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
1946 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/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java2002 * @param timezone a TimeZone object.
2005 public boolean addDateTimeStampTag(int tagId, long timestamp, TimeZone timezone) { argument
2008 mDateTimeStampFormat.setTimeZone(timezone);

Completed in 405 milliseconds