Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 25 of 93) sorted by relevance

1234

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java43 public String timezone; // local timezone used for Instance expansion field in MetaData.Fields
89 fields.timezone = mFields.timezone; in getFields()
118 fields.timezone = mFields.timezone; in getFieldsLocked()
131 String timezone = null; in readLocked() local
140 timezone = cursor.getString(METADATA_INDEX_LOCAL_TIMEZONE); in readLocked()
151 mFields.timezone = timezone; in readLocked()
170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
174 writeLocked(timezone, begin, end); in write()
194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument
197 values.put(CalendarMetaData.LOCAL_TIMEZONE, timezone); in writeLocked()
[all …]
DCalendarCache.java104 public void writeTimezoneInstances(String timezone) { in writeTimezoneInstances() argument
106 writeData(KEY_TIMEZONE_INSTANCES, timezone); in writeTimezoneInstances()
123 public void writeTimezoneInstancesPrevious(String timezone) { in writeTimezoneInstancesPrevious() argument
125 writeData(KEY_TIMEZONE_INSTANCES_PREVIOUS, timezone); in writeTimezoneInstancesPrevious()
DCalendarInstancesHelper.java291 eventTime.timezone = eventTimezone; in performInstanceExpansion()
335 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion()
337 eventTime.timezone = localTimezone; in performInstanceExpansion()
407 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion()
409 eventTime.timezone = localTimezone; in performInstanceExpansion()
706 local.timezone = Time.TIMEZONE_UTC; in updateInstancesLocked()
708 local.timezone = fields.timezone; in updateInstancesLocked()
DCalendarDatabaseHelper.java1477 private static boolean fixAllDayTime(Time time, String timezone, Long timeInMillis) { in fixAllDayTime() argument
2539 String timezone; in upgradeToVersion69() local
2555 timezone = cursor.getString(6); in upgradeToVersion69()
2572 if (!TextUtils.equals(timezone, utc)) { in upgradeToVersion69()
2574 timezone = utc; in upgradeToVersion69()
2577 time.clear(timezone); in upgradeToVersion69()
2578 update |= fixAllDayTime(time, timezone, dtstart); in upgradeToVersion69()
2581 time.clear(timezone); in upgradeToVersion69()
2582 update |= fixAllDayTime(time, timezone, dtend); in upgradeToVersion69()
2618 timezone, in upgradeToVersion69()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionSearchPickerTest.java17 package com.android.settings.datetime.timezone;
31 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;
32 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.ItemViewHolder;
33 import com.android.settings.datetime.timezone.RegionSearchPicker.RegionItem;
34 import com.android.settings.datetime.timezone.model.TimeZoneData;
36 import libcore.timezone.CountryZonesFinder;
DFixedOffsetPickerTest.java17 package com.android.settings.datetime.timezone;
26 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;
27 import com.android.settings.datetime.timezone.model.TimeZoneData;
29 import libcore.timezone.CountryZonesFinder;
DRegionZonePickerTest.java17 package com.android.settings.datetime.timezone;
23 import com.android.settings.datetime.timezone.RegionZonePicker.TimeZoneInfoComparator;
24 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter;
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/
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;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/model/
DTimeZoneData.java16 package com.android.car.developeroptions.datetime.timezone.model;
21 import libcore.timezone.CountryTimeZones;
22 import libcore.timezone.CountryZonesFinder;
23 import libcore.timezone.TimeZoneFinder;
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DTimeZoneData.java16 package com.android.settings.datetime.timezone.model;
21 import libcore.timezone.CountryTimeZones;
22 import libcore.timezone.CountryZonesFinder;
23 import libcore.timezone.TimeZoneFinder;
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataTest.java17 package com.android.settings.datetime.timezone.model;
24 import libcore.timezone.CountryTimeZones;
25 import libcore.timezone.CountryTimeZones.TimeZoneMapping;
26 import libcore.timezone.CountryZonesFinder;
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionSearchPicker.java17 package com.android.settings.datetime.timezone;
31 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;
32 import com.android.settings.datetime.timezone.model.FilteredCountryTimeZones;
33 import com.android.settings.datetime.timezone.model.TimeZoneData;
DBaseTimeZonePicker.java17 package com.android.settings.datetime.timezone;
35 import com.android.settings.datetime.timezone.model.TimeZoneData;
36 import com.android.settings.datetime.timezone.model.TimeZoneDataLoader;
DRegionZonePicker.java17 package com.android.settings.datetime.timezone;
31 import com.android.settings.datetime.timezone.model.FilteredCountryTimeZones;
32 import com.android.settings.datetime.timezone.model.TimeZoneData;
DTimeZoneSettings.java17 package com.android.settings.datetime.timezone;
38 import com.android.settings.datetime.timezone.model.FilteredCountryTimeZones;
39 import com.android.settings.datetime.timezone.model.TimeZoneData;
40 import com.android.settings.datetime.timezone.model.TimeZoneDataLoader;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DRegionSearchPicker.java17 package com.android.car.developeroptions.datetime.timezone;
31 import com.android.car.developeroptions.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;
32 import com.android.car.developeroptions.datetime.timezone.model.FilteredCountryTimeZones;
33 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneData;
DBaseTimeZonePicker.java17 package com.android.car.developeroptions.datetime.timezone;
35 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneData;
36 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneDataLoader;
DRegionZonePicker.java17 package com.android.car.developeroptions.datetime.timezone;
31 import com.android.car.developeroptions.datetime.timezone.model.FilteredCountryTimeZones;
32 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneData;
DTimeZoneSettings.java17 package com.android.car.developeroptions.datetime.timezone;
38 import com.android.car.developeroptions.datetime.timezone.model.FilteredCountryTimeZones;
39 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneData;
40 import com.android.car.developeroptions.datetime.timezone.model.TimeZoneDataLoader;
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java559 boolean allDay, String timezone) { in EventInfo() argument
560 init(title, startDate, endDate, allDay, timezone); in EventInfo()
564 boolean allDay, String timezone) { in init() argument
568 time.timezone = Time.TIMEZONE_UTC; in init()
569 } else if (timezone != null) { in init()
570 time.timezone = timezone; in init()
572 mTimezone = time.timezone; in init()
593 String rrule, boolean allDay, String timezone) { in EventInfo() argument
594 init(title, description, startDate, endDate, rrule, allDay, timezone); in EventInfo()
598 String rrule, boolean allDay, String timezone) { in init() argument
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java113 mSelectedDay.timezone = mHomeTimeZone; in updateTimeZones()
115 mToday.timezone = mHomeTimeZone; in updateTimeZones()
200 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { in getView()
249 v.setWeekParams(drawingParams, mSelectedDay.timezone); in getView()
281 day.timezone = mHomeTimeZone; in setDayParameters()
/packages/apps/Camera2/src/com/android/camera/util/
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/Calendar/src/com/android/calendar/
DUtils.java697 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal()
699 recycle.timezone = tz; in convertAlldayUtcToLocal()
707 recycle.timezone = tz; in convertAlldayLocalToUTC()
709 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayLocalToUTC()
724 recycle.timezone = tz; in getNextMidnight()
1290 public static void setMidnightUpdater(Handler h, Runnable r, String timezone) { in setMidnightUpdater() argument
1291 if (h == null || r == null || timezone == null) { in setMidnightUpdater()
1295 Time time = new Time(timezone); in setMidnightUpdater()
1447 public static void setTodayIcon(LayerDrawable icon, Context c, String timezone) { in setTodayIcon() argument
1458 Time now = new Time(timezone); in setTodayIcon()
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/
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/Settings/tests/uitests/src/com/android/settings/ui/
DZonePickerSettingsTest.java113 private void testSelectTimeZone(String region, String timezone, String expectedTimeZoneOffset, in testSelectTimeZone() argument
134 selectItemInList(new UiSelector().textContains(timezone)) in testSelectTimeZone()
143 assertTrue("Expect " + expectedTimeZoneOffset + " is shown for " + timezone, in testSelectTimeZone()

1234