Home
last modified time | relevance | path

Searched refs:getTimeZone (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java147 int result = Integer.compare(tzi1.getTimeZone().getOffset(mNow.getTime()), in compare()
148 tzi2.getTimeZone().getOffset(mNow.getTime())); in compare()
150 result = Integer.compare(tzi1.getTimeZone().getRawOffset(), in compare()
151 tzi2.getTimeZone().getRawOffset()); in compare()
DBaseTimeZoneInfoPicker.java122 if (name == null && timeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in createTitle()
143 if (mTimeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in getSummary()
167 return mTimeFormat.format(Calendar.getInstance(mTimeZoneInfo.getTimeZone())); in getCurrentTime()
DTimeZoneInfo.java55 public TimeZone getTimeZone() { in getTimeZone() method in TimeZoneInfo
154 final java.util.TimeZone javaTimeZone = java.util.TimeZone.getTimeZone(id); in format()
DTimeZoneInfoPreferenceController.java74 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName()
91 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DRegionZonePicker.java147 int result = Integer.compare(tzi1.getTimeZone().getOffset(mNow.getTime()), in compare()
148 tzi2.getTimeZone().getOffset(mNow.getTime())); in compare()
150 result = Integer.compare(tzi1.getTimeZone().getRawOffset(), in compare()
151 tzi2.getTimeZone().getRawOffset()); in compare()
DBaseTimeZoneInfoPicker.java122 if (name == null && timeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in createTitle()
143 if (mTimeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in getSummary()
167 return mTimeFormat.format(Calendar.getInstance(mTimeZoneInfo.getTimeZone())); in getCurrentTime()
DTimeZoneInfo.java55 public TimeZone getTimeZone() { in getTimeZone() method in TimeZoneInfo
154 final java.util.TimeZone javaTimeZone = java.util.TimeZone.getTimeZone(id); in format()
DTimeZoneInfoPreferenceController.java74 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName()
91 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DDateTime.java70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0")); in convertToDate()
110 public int getTimeZone() { in getTimeZone() method in DateTime
115 …+ " " + getDay() + "; " + getHour() + " " + getMinute() + " " + getSecond() + " " + getTimeZone()); in print()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCity.java69 public TimeZone getTimeZone() { return mTimeZone; } in getTimeZone() method in City
162 final int utcOffset1 = c1.getTimeZone().getOffset(now); in compare()
163 final int utcOffset2 = c2.getTimeZone().getOffset(now); in compare()
DSettingsDAO.java120 return TimeZone.getTimeZone(timeZoneId); in getHomeTimeZone()
372 final TimeZone tz = TimeZone.getTimeZone(id); in TimeZoneDescriptor()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.java177 tz = getTimeZone(context, null); in formatDateRange()
270 public String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in CalendarUtils.TimeZoneUtils
317 getTimeZone(context, callback); in forceDBRequery()
DCalendarController.java88 mTime.switchTimezone(Utils.getTimeZone(mContext, this));
349 info.startTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
352 info.selectedTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
357 info.endTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
DAllInOneActivity.java219 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater);
230 mTimeZone = Utils.getTimeZone(AllInOneActivity.this, mHomeTimeUpdater);
315 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in onCreate()
876 mTimeZone = Utils.getTimeZone(this, mHomeTimeUpdater); in updateSecondaryTitleFields()
917 TimeZone.getTimeZone(mTimeZone).getDisplayName( in updateSecondaryTitleFields()
DUtils.java282 public static String getTimeZone(Context context, Runnable callback) { in getTimeZone() method in Utils
283 return mTZUtils.getTimeZone(context, callback); in getTimeZone()
1238 Time weekTime = new Time(getTimeZone(context, null)); in getWeekNumberFromTime()
1269 getTimeZone(context, null); in getDayOfWeekString()
1393 TimeZone tz = TimeZone.getTimeZone(localTimezone); in getDisplayedTimezone()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java279 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setState()
351 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setCompleteState()
412 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setExecutedState()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayTimeFormatter.java35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter()
40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayTimeFormatter.java35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter()
40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java312 String tz = Utils.getTimeZone(mContext, null);
491 String tz = Utils.getTimeZone(mContext, mTimezoneChanged);
528 Time time = new Time(Utils.getTimeZone(mContext, null));
532 Time time2 = new Time(Utils.getTimeZone(mContext, null));
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz));
154 mTimeZone = TimeZone.getTimeZone(id); in setTimeZone()
DClockFragment.java450 final String cityTimeZoneId = city.getTimeZone().getID(); in bind()
481 final Calendar cityCal = Calendar.getInstance(city.getTimeZone()); in bind()
487 final TimeZone cityTimeZone = TimeZone.getTimeZone(cityTimeZoneId); in bind()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeFragment.java144 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()
152 now.getTimeZone(), now.getTime())); in updateTimeAndDateDisplay()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.java187 rv.setString(clockId, "setTimeZone", city.getTimeZone().getID());
192 final Calendar cityCal = Calendar.getInstance(city.getTimeZone());
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java224 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in initialValue()
257 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseDateTimeToCalendar()
282 final GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseEmailDateTimeToMillis()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java105 mHomeTimeZone = Utils.getTimeZone(mContext, null); in init()
257 mHomeTimeZone = Utils.getTimeZone(mContext, null); in refresh()

123