Searched refs:timezone (Results 1 - 25 of 43) sorted by relevance

12

/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 DCalendarInstancesHelper.java291 eventTime.timezone = eventTimezone;
332 // Initialize the "eventTime" timezone outside the loop.
335 eventTime.timezone = Time.TIMEZONE_UTC;
337 eventTime.timezone = localTimezone;
407 eventTime.timezone = Time.TIMEZONE_UTC;
409 eventTime.timezone = localTimezone;
703 // Update the timezone-dependent fields.
706 local.timezone = Time.TIMEZONE_UTC;
708 local.timezone = fields.timezone;
[all...]
/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/TimeZoneUpdater/src/main/com/android/timezone/updater/
H A DRulesCheckReceiver.java16 package com.android.timezone.updater;
18 import android.app.timezone.Callback;
19 import android.app.timezone.DistroFormatVersion;
20 import android.app.timezone.DistroRulesVersion;
21 import android.app.timezone.RulesManager;
22 import android.app.timezone.RulesState;
23 import android.app.timezone.RulesUpdaterContract;
88 mRulesManager = (RulesManager) context.getSystemService("timezone");
/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java103 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/Contacts/src/com/android/contacts/interactions/
H A DCalendarInteractionUtils.java43 // All day events require special timezone adjustment.
111 recycle.timezone = Time.TIMEZONE_UTC;
113 recycle.timezone = tz;
121 recycle.timezone = tz;
123 recycle.timezone = Time.TIMEZONE_UTC;
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java143 info.endTime.timezone = Time.TIMEZONE_UTC;
150 info.startTime.timezone = Time.TIMEZONE_UTC;
H A DEditEventHelper.java711 dtstart.timezone = originalModel.mTimezone;
755 untilTime.timezone = Time.TIMEZONE_UTC;
773 dtstart.timezone = Time.TIMEZONE_UTC;
1218 String timezone = model.mTimezone;
1219 if (timezone == null) {
1220 timezone = TimeZone.getDefault().getID();
1222 Time startTime = new Time(timezone);
1223 Time endTime = new Time(timezone);
1236 // the timezone to UTC, as required for all-day events.
1237 timezone
[all...]
H A DEditEventView.java422 mStartTime.timezone = mTimezone;
424 mEndTime.timezone = mTimezone;
601 b.putString(RecurrencePickerDialog.BUNDLE_TIME_ZONE, mStartTime.timezone);
721 // the timezone to UTC, as required for all-day events.
726 mStartTime.timezone = mTimezone;
732 mEndTime.timezone = mTimezone;
744 mStartTime.timezone = mTimezone;
745 mEndTime.timezone = mTimezone;
1078 mStartTime.timezone = mTimezone;
1083 mEndTime.timezone
[all...]
/packages/apps/TimeZoneData/oem_template/data_app/
H A DAndroid.mk23 LOCAL_ASSET_DIR := system/timezone/output_data/distro
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/
H A DTimeZoneRulesDataProvider.java17 package com.android.timezone.data;
19 import com.android.timezone.distro.DistroException;
20 import com.android.timezone.distro.DistroVersion;
21 import com.android.timezone.distro.TimeZoneDistro;
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java114 mSelectedDay.timezone = mHomeTimeZone;
116 mToday.timezone = mHomeTimeZone;
201 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) {
250 v.setWeekParams(drawingParams, mSelectedDay.timezone);
305 day.timezone = mHomeTimeZone;
H A DSimpleDayPickerFragment.java128 Time midnight = new Time(mFirstVisibleDay.timezone);
172 mFirstDayOfMonth.timezone = tz;
174 mFirstVisibleDay.timezone = tz;
176 mTempTime.timezone = tz;
H A DMonthByWeekFragment.java120 mSelectedDay.timezone = tz;
122 mTempTime.timezone = tz;
123 mFirstDayOfMonth.timezone = tz;
125 mFirstVisibleDay.timezone = tz;
H A DMonthListView.java59 mTempTime.timezone =
H A DSimpleWeeksAdapter.java241 v.setWeekParams(drawingParams, mSelectedDay.timezone);
/packages/apps/Calendar/src/com/android/calendar/
H A DDeleteEventHelper.java378 String timezone = mModel.mTimezone;
380 values.put(Events.EVENT_TIMEZONE, timezone);
416 date.timezone = Time.TIMEZONE_UTC;
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...]
H A DDayFragment.java66 mSelectedDay.timezone = tz;
/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/TimeZoneData/oem_template/data_app/testing/
H A DAndroid.mk21 aosp_test_data_path := system/timezone/testing/data
/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/src/com/android/calendar/agenda/
H A DAgendaFragment.java409 event.startTime.timezone = Time.TIMEZONE_UTC;
410 event.endTime.timezone = Time.TIMEZONE_UTC;

Completed in 1082 milliseconds

12