Home
last modified time | relevance | path

Searched refs:getTimeZone (Results 1 – 25 of 62) 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()
DTimeZoneInfoPreferenceController.java67 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName()
84 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
DTimeZoneInfo.java55 public TimeZone getTimeZone() { in getTimeZone() method in TimeZoneInfo
154 final java.util.TimeZone javaTimeZone = java.util.TimeZone.getTimeZone(canonicalZoneId); in format()
/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.java66 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName()
83 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
/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()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormatTest.java101 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParseAttachment()
157 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreateAttachment()
186 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParsedAttachmentToString()
245 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreatedAttachmentToString()
DBipDatetimeTest.java95 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParseFromValidStringWithUtc()
170 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreateFromDateTime()
/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/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/Settings/src/com/android/settings/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java81 TimeZone tz = TimeZone.getTimeZone("UTC"); in BipDateTime()
137 TimeZone utc = TimeZone.getTimeZone("UTC"); in toString()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DExifUtils.java60 sFormatter.setTimeZone(TimeZone.getTimeZone("UTC"));
62 sFormatterTz.setTimeZone(TimeZone.getTimeZone("UTC"));
/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.java148 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()
156 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());

123