/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/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/Settings/src/com/android/settings/display/darkmode/ |
D | TimeFormatter.java | 33 mFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in TimeFormatter() 38 c.setTimeZone(mFormatter.getTimeZone()); in of()
|
/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()
|
D | GeneralPreferences.java | 177 mTimeZoneId = Utils.getTimeZone(activity, null); in onCreate() 223 b.putString(TimeZonePickerDialog.BUNDLE_TIME_ZONE, Utils.getTimeZone(activity, null)); in showTimezoneDialog()
|
/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/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/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/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));
|
D | CalendarAppWidgetModel.java | 273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0, in buildFromCursor() 278 String tz = Utils.getTimeZone(mContext, null); in buildFromCursor()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | ExifUtils.java | 61 sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); 63 sFormatterTz.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.kt | 47 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz)) in onReceive() 141 mTimeZone = TimeZone.getTimeZone(id) in setTimeZone()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | ConvertUtilsTest.java | 331 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTime_returnExpectedResult() 353 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTimeHour_12HourFormat_returnExpectedResult() 375 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTimeHour_24HourFormat_returnExpectedResult()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DateTimeFragment.java | 158 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay() 170 now.getTimeZone(), now.getTime()))); in updateTimeAndDateDisplay()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 109 return TimeZone.getTimeZone(timeZoneId) in getHomeTimeZone() 363 val tz = TimeZone.getTimeZone(mTimeZoneId)
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | DateTimePreferenceController.java | 41 now.getTimeZone(), now.getTime()); in getSummary()
|
D | TimeZonePreferenceController.java | 69 now.getTimeZone(), now.getTime()); in getTimeZoneOffsetAndName()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 105 mHomeTimeZone = Utils.getTimeZone(mContext, null); in init() 257 mHomeTimeZone = Utils.getTimeZone(mContext, null); in refresh()
|