Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java83 TimeZone tz = TimeZone.getTimeZone("UTC"); in ObexTime() local
84 tz.setRawOffset(offset); in ObexTime()
86 builder.setTimeZone(tz); in ObexTime()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.java173 String tz; in formatDateRange() local
175 tz = Time.TIMEZONE_UTC; in formatDateRange()
177 tz = getTimeZone(context, null); in formatDateRange()
182 tz).toString(); in formatDateRange()
DUtils.java693 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { in convertAlldayUtcToLocal() argument
699 recycle.timezone = tz; in convertAlldayUtcToLocal()
703 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { in convertAlldayLocalToUTC() argument
707 recycle.timezone = tz; in convertAlldayLocalToUTC()
720 public static long getNextMidnight(Time recycle, long theTime, String tz) { in getNextMidnight() argument
724 recycle.timezone = tz; in getNextMidnight()
1393 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone() local
1394 if (tz == null || tz.getID().equals("GMT")) { in getDisplayedTimezone()
1399 tzDisplay = tz.getDisplayName(startTime.isDst != 0, TimeZone.SHORT); in getDisplayedTimezone()
DGeneralPreferences.java292 String tz; in onPreferenceChange() local
296 tz = mTimeZoneId; in onPreferenceChange()
298 tz = CalendarCache.TIMEZONE_TYPE_AUTO; in onPreferenceChange()
300 Utils.setTimeZone(activity, tz); in onPreferenceChange()
DDayFragment.java65 String tz = Utils.getTimeZone(getActivity(), mTZUpdater);
66 mSelectedDay.timezone = tz;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java81 TimeZone tz = TimeZone.getTimeZone("UTC"); in BipDateTime() local
82 tz.setRawOffset(0); in BipDateTime()
83 builder.setTimeZone(tz); in BipDateTime()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityDAO.kt136 val tz = TimeZone.getTimeZone(tzId) in createCity() constant
138 if ("GMT" == tz.id) { in createCity()
152 return City(id, index, indexString, name, phoneticName, tz) in createCity()
DSettingsDAO.kt363 val tz = TimeZone.getTimeZone(mTimeZoneId) constant
364 mOffset = tz.getOffset(currentTime)
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java312 String tz = Utils.getTimeZone(mContext, null);
314 start = Utils.convertAlldayLocalToUTC(recycle, start, tz);
315 end = Utils.convertAlldayLocalToUTC(recycle, end, tz);
491 String tz = Utils.getTimeZone(mContext, mTimezoneChanged);
496 mModel = buildAppWidgetModel(mContext, matrixCursor, tz);
511 long triggerTime = calculateUpdateTime(mModel, now, tz);
DCalendarAppWidgetModel.java278 String tz = Utils.getTimeZone(mContext, null); in buildFromCursor() local
298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz); in buildFromCursor()
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz); in buildFromCursor()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java165 String tz = Time.getCurrentTimezone(); in onAttach() local
170 mSelectedDay.switchTimezone(tz); in onAttach()
172 mFirstDayOfMonth.timezone = tz; in onAttach()
174 mFirstVisibleDay.timezone = tz; in onAttach()
176 mTempTime.timezone = tz; in onAttach()
DMonthByWeekFragment.java102 String tz = Utils.getTimeZone(mContext, mTZUpdater);
103 mSelectedDay.timezone = tz;
105 mTempTime.timezone = tz;
106 mFirstDayOfMonth.timezone = tz;
108 mFirstVisibleDay.timezone = tz;
DSimpleWeekView.java212 public void setWeekParams(HashMap<String, Integer> params, String tz) { in setWeekParams() argument
217 mTimeZone = tz; in setWeekParams()
247 Time time = new Time(tz); in setWeekParams()
277 Time today = new Time(tz); in setWeekParams()
DMonthWeekEventsView.java490 public void setWeekParams(HashMap<String, Integer> params, String tz) { in setWeekParams() argument
491 super.setWeekParams(params, tz); in setWeekParams()
497 updateToday(tz); in setWeekParams()
521 public boolean updateToday(String tz) { in updateToday() argument
522 mToday.timezone = tz; in updateToday()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDatetimeTest.java36 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
42 if (tz != null) builder.setTimeZone(tz); in makeDate()
DBipAttachmentFormatTest.java35 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
41 if (tz != null) builder.setTimeZone(tz); in makeDate()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java128 float tz = t * z; in onAccelerometerChanged() local
130 float length = (float) Math.sqrt(tx * tx + ty * ty + tz * tz); in onAccelerometerChanged()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.kt46 val tz = intent.getStringExtra("time-zone") in onReceive() constant
47 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz)) in onReceive()
DUtils.kt444 for (tz in zones) { in getNextDay() variable
445 val c = Calendar.getInstance(tz) in getNextDay()
/packages/modules/GeoTZ/
Drun-data-pipeline.sh169 --tz-ids "${STEP1_RESTRICT_TO_ZONES}"
185 --tz-ids ${STEP2_TZIDS_FILE} \
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java188 TimeZone tz = TimeZone.getDefault(); in adjDate() local
189 long dt = Long.valueOf(date) - tz.getRawOffset(); in adjDate()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java154 private void setTimezone(String tz) { in setTimezone() argument
155 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); in setTimezone() local
/packages/modules/RuntimeI18n/apex/
Dcom.android.i18n.pem35 SIPaizx9DlkC3fQvHxtzkWBrfN+zk8b8fUxdPXgz8U6HbR6nz44ARzZs+K3IV/tz
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2749 String tz = cursor.getString(4); // Calendar timezone in upgradeToVersion62() local
2758 newTime.clear(tz); in upgradeToVersion62()
2766 newTime.clear(tz); in upgradeToVersion62()
2773 newData[2] = tz; in upgradeToVersion62()
/packages/modules/GeoTZ/validation/geonames/known_diffs/
Dknown_diffs5000.prototxt369 isoCountryCodes: "tz"

12