Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 25 of 38) 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/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/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()
DCityDAO.java147 final TimeZone tz = TimeZone.getTimeZone(tzId); in createCity() local
149 if ("GMT".equals(tz.getID())) { in createCity()
164 return new City(id, index, indexString, name, phoneticName, tz); in createCity()
DCity.java57 City(String id, int index, String indexString, String name, String phoneticName, TimeZone tz) { in City() argument
63 mTimeZone = tz; in City()
DSettingsDAO.kt363 val tz = TimeZone.getTimeZone(mTimeZoneId) constant
364 mOffset = tz.getOffset(currentTime)
DSettingsDAO.java372 final TimeZone tz = TimeZone.getTimeZone(id); in TimeZoneDescriptor() local
373 mOffset = tz.getOffset(currentTime); in TimeZoneDescriptor()
/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.java44 final String tz = intent.getStringExtra("time-zone");
45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz));
DUtils.java465 for (TimeZone tz : zones) { in getNextDay()
466 final Calendar c = Calendar.getInstance(tz); in getNextDay()
/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

12