/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | BaseTimeZoneInfoPicker.java | 64 final TimeZoneInfo timeZoneInfo = item.mTimeZoneInfo; in onListItemClick() 101 private final TimeZoneInfo mTimeZoneInfo; field in BaseTimeZoneInfoPicker.TimeZoneInfoItem 110 mTimeZoneInfo = timeZoneInfo; in TimeZoneInfoItem() 141 String name = mTimeZoneInfo.getGenericName(); in getSummary() 143 if (mTimeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in getSummary() 144 name = mTimeZoneInfo.getDaylightName(); in getSummary() 146 name = mTimeZoneInfo.getStandardName(); in getSummary() 152 CharSequence gmtOffset = mTimeZoneInfo.getGmtOffset(); in getSummary() 156 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), name); in getSummary() 167 return mTimeFormat.format(Calendar.getInstance(mTimeZoneInfo.getTimeZone())); in getCurrentTime()
|
D | FixedOffsetPreferenceController.java | 27 private TimeZoneInfo mTimeZoneInfo; field in FixedOffsetPreferenceController 35 if (mTimeZoneInfo == null) { in getSummary() 39 String standardName = mTimeZoneInfo.getStandardName(); in getSummary() 41 return mTimeZoneInfo.getGmtOffset(); in getSummary() 45 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), standardName); in getSummary() 50 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 54 return mTimeZoneInfo; in getTimeZoneInfo()
|
D | RegionZonePreferenceController.java | 28 private TimeZoneInfo mTimeZoneInfo; field in RegionZonePreferenceController 48 return mTimeZoneInfo == null ? "" in getSummary() 51 mTimeZoneInfo.getExemplarLocation(), mTimeZoneInfo.getGmtOffset()); in getSummary() 55 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 59 return mTimeZoneInfo; in getTimeZoneInfo()
|
D | TimeZoneInfoPreferenceController.java | 41 private TimeZoneInfo mTimeZoneInfo; field in TimeZoneInfoPreferenceController 58 CharSequence formattedTimeZone = mTimeZoneInfo == null ? "" : formatInfo(mTimeZoneInfo); in updateState() 60 preference.setVisible(mTimeZoneInfo != null); in updateState() 64 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 68 return mTimeZoneInfo; in getTimeZoneInfo()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneInfoPicker.java | 64 final TimeZoneInfo timeZoneInfo = item.mTimeZoneInfo; in onListItemClick() 101 private final TimeZoneInfo mTimeZoneInfo; field in BaseTimeZoneInfoPicker.TimeZoneInfoItem 110 mTimeZoneInfo = timeZoneInfo; in TimeZoneInfoItem() 141 String name = mTimeZoneInfo.getGenericName(); in getSummary() 143 if (mTimeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in getSummary() 144 name = mTimeZoneInfo.getDaylightName(); in getSummary() 146 name = mTimeZoneInfo.getStandardName(); in getSummary() 152 CharSequence gmtOffset = mTimeZoneInfo.getGmtOffset(); in getSummary() 156 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), name); in getSummary() 167 return mTimeFormat.format(Calendar.getInstance(mTimeZoneInfo.getTimeZone())); in getCurrentTime()
|
D | FixedOffsetPreferenceController.java | 27 private TimeZoneInfo mTimeZoneInfo; field in FixedOffsetPreferenceController 35 if (mTimeZoneInfo == null) { in getSummary() 39 String standardName = mTimeZoneInfo.getStandardName(); in getSummary() 41 return mTimeZoneInfo.getGmtOffset(); in getSummary() 45 R.string.zone_info_offset_and_name, mTimeZoneInfo.getGmtOffset(), standardName); in getSummary() 50 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 54 return mTimeZoneInfo; in getTimeZoneInfo()
|
D | RegionZonePreferenceController.java | 28 private TimeZoneInfo mTimeZoneInfo; field in RegionZonePreferenceController 48 return mTimeZoneInfo == null ? "" in getSummary() 51 mTimeZoneInfo.getExemplarLocation(), mTimeZoneInfo.getGmtOffset()); in getSummary() 55 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 59 return mTimeZoneInfo; in getTimeZoneInfo()
|
D | TimeZoneInfoPreferenceController.java | 41 private TimeZoneInfo mTimeZoneInfo; field in TimeZoneInfoPreferenceController 58 CharSequence formattedTimeZone = mTimeZoneInfo == null ? "" : formatInfo(mTimeZoneInfo); in updateState() 60 preference.setVisible(mTimeZoneInfo != null); in updateState() 64 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo() 68 return mTimeZoneInfo; in getTimeZoneInfo()
|