/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionZonePicker.java | 147 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()
|
D | BaseTimeZoneInfoPicker.java | 122 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()
|
D | TimeZoneInfoPreferenceController.java | 67 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName() 84 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
|
D | TimeZoneInfo.java | 55 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/ |
D | RegionZonePicker.java | 147 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()
|
D | BaseTimeZoneInfoPicker.java | 122 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()
|
D | TimeZoneInfo.java | 55 public TimeZone getTimeZone() { in getTimeZone() method in TimeZoneInfo 154 final java.util.TimeZone javaTimeZone = java.util.TimeZone.getTimeZone(id); in format()
|
D | TimeZoneInfoPreferenceController.java | 66 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName() 83 final TimeZone timeZone = item.getTimeZone(); in formatInfo()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | City.java | 69 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/ |
D | BipAttachmentFormatTest.java | 101 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()
|
D | BipDatetimeTest.java | 95 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParseFromValidStringWithUtc() 170 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreateFromDateTime()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 177 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()
|
D | CalendarController.java | 88 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()
|
D | AllInOneActivity.java | 219 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()
|
D | Utils.java | 282 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/ |
D | ActionMonitor.java | 279 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/ |
D | NightDisplayTimeFormatter.java | 35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter() 40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | NightDisplayTimeFormatter.java | 35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter() 40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 312 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/ |
D | BipDateTime.java | 81 TimeZone tz = TimeZone.getTimeZone("UTC"); in BipDateTime() 137 TimeZone utc = TimeZone.getTimeZone("UTC"); in toString()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | ExifUtils.java | 60 sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); 62 sFormatterTz.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.java | 45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz)); 154 mTimeZone = TimeZone.getTimeZone(id); in setTimeZone()
|
D | ClockFragment.java | 450 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/ |
D | DateTimeFragment.java | 148 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay() 156 now.getTimeZone(), now.getTime())); in updateTimeAndDateDisplay()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetCityViewsFactory.java | 187 rv.setString(clockId, "setTimeZone", city.getTimeZone().getID()); 192 final Calendar cityCal = Calendar.getInstance(city.getTimeZone());
|