/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionZonePicker.java | 80 protected Intent prepareResultData(TimeZoneInfo selectedTimeZoneInfo) { in prepareResultData() 87 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() 116 public List<TimeZoneInfo> getRegionTimeZoneInfo(Collection<String> timeZoneIds) { in getRegionTimeZoneInfo() 117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() 119 final TreeSet<TimeZoneInfo> timeZoneInfos = in getRegionTimeZoneInfo() 135 static class TimeZoneInfoComparator implements Comparator<TimeZoneInfo> { 146 public int compare(TimeZoneInfo tzi1, TimeZoneInfo tzi2) { in compare()
|
D | BaseTimeZoneInfoPicker.java | 64 final TimeZoneInfo timeZoneInfo = item.mTimeZoneInfo; in onListItemClick() 69 protected Intent prepareResultData(TimeZoneInfo selectedTimeZoneInfo) { in prepareResultData() 73 public abstract List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData); in getAllTimeZoneInfos() 77 public ZoneAdapter(Context context, List<TimeZoneInfo> timeZones, in ZoneAdapter() 86 List<TimeZoneInfo> timeZones, Locale locale) { in createTimeZoneInfoItems() 92 for (TimeZoneInfo timeZone : timeZones) { in createTimeZoneInfoItems() 101 private final TimeZoneInfo mTimeZoneInfo; 107 private TimeZoneInfoItem(long itemId, TimeZoneInfo timeZoneInfo, Resources resources, in TimeZoneInfoItem() 117 private static String createTitle(TimeZoneInfo timeZoneInfo) { in createTitle()
|
D | TimeZoneInfo.java | 31 public class TimeZoneInfo { class 41 public TimeZoneInfo(Builder builder) { in TimeZoneInfo() method in TimeZoneInfo 119 public TimeZoneInfo build() { in build() 123 return new TimeZoneInfo(this); in build() 142 public TimeZoneInfo format(String timeZoneId) { in format() 151 public TimeZoneInfo format(TimeZone timeZone) { in format() 157 return new TimeZoneInfo.Builder(timeZone) in format()
|
D | FixedOffsetPicker.java | 52 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() 60 private List<TimeZoneInfo> loadFixedOffsets() { in loadFixedOffsets() 61 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in loadFixedOffsets() 63 final List<TimeZoneInfo> timeZoneInfos = new ArrayList<>(); in loadFixedOffsets()
|
D | TimeZoneInfoPreferenceController.java | 40 private TimeZoneInfo mTimeZoneInfo; 60 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() 64 private CharSequence formatOffsetAndName(TimeZoneInfo item) { in formatOffsetAndName() 82 private CharSequence formatInfo(TimeZoneInfo item) { in formatInfo()
|
D | FixedOffsetPreferenceController.java | 27 private TimeZoneInfo mTimeZoneInfo; 49 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() 53 public TimeZoneInfo getTimeZoneInfo() { in getTimeZoneInfo()
|
D | RegionZonePreferenceController.java | 28 private TimeZoneInfo mTimeZoneInfo; 54 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() 58 public TimeZoneInfo getTimeZoneInfo() { in getTimeZoneInfo()
|
D | TimeZoneSettings.java | 80 private TimeZoneInfo.Formatter mTimeZoneInfoFormatter; 104 mTimeZoneInfoFormatter = new TimeZoneInfo.Formatter(mLocale, new Date()); in createPreferenceControllers() 212 final TimeZoneInfo tzInfo = tzId == null ? null : mTimeZoneInfoFormatter.format(tzId); in setDisplayedTimeZoneInfo()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/ |
D | RegionZonePickerTest.java | 26 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 44 TimeZoneInfo timeZone1 = formatter.format("Pacific/Honolulu"); in compareTimeZoneInfo_matchGmtOrder() 45 TimeZoneInfo timeZone2 = formatter.format("America/Los_Angeles"); in compareTimeZoneInfo_matchGmtOrder() 46 TimeZoneInfo timeZone3 = formatter.format("America/Indiana/Marengo"); in compareTimeZoneInfo_matchGmtOrder() 47 TimeZoneInfo timeZone4 = formatter.format("America/New_York"); in compareTimeZoneInfo_matchGmtOrder() 53 List<TimeZoneInfo> list = Arrays.asList(timeZone4, timeZone2, timeZone3, timeZone1); in compareTimeZoneInfo_matchGmtOrder()
|
D | TimeZoneInfoTest.java | 23 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 39 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in testFormat() 53 TimeZoneInfo timeZoneInfo = formatter.format("Australia/Lord_Howe"); in getGmtOffset_zoneLordHowe_correctGmtOffset()
|
D | TimeZoneInfoPreferenceControllerTest.java | 29 import com.android.settings.datetime.timezone.TimeZoneInfo.Formatter; 41 private TimeZoneInfo mTimeZoneInfo;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneInfoPickerTest.java | 84 public List<TimeZoneInfo> getAllTimeZoneInfos(TimeZoneData timeZoneData) { in getAllTimeZoneInfos() 85 TimeZoneInfo zone1 = new TimeZoneInfo.Builder( in getAllTimeZoneInfos() 93 TimeZoneInfo zone2 = new TimeZoneInfo.Builder( in getAllTimeZoneInfos()
|
D | FixedOffsetPreferenceControllerTest.java | 44 TimeZoneInfo fixedOffsetZone = new TimeZoneInfo.Builder( in updateState_GmtMinus8_matchTimeZoneSummary() 57 TimeZoneInfo fixedOffsetZone = new TimeZoneInfo.Builder( in updateState_Utc_matchTimeZoneSummary()
|
D | RegionZonePreferenceControllerTest.java | 44 TimeZoneInfo tzInfo = new TimeZoneInfo.Builder( in updateState_matchTimeZoneName()
|
D | FixedOffsetPickerTest.java | 56 List<TimeZoneInfo> infos = picker.getAllTimeZoneInfos(new TimeZoneData(mFinder)); in getAllTimeZoneInfos_containsUtcAndGmtZones()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 50 import com.android.timezonepicker.TimeZoneInfo; 390 public void onTimeZoneSet(TimeZoneInfo tzi) { in onTimeZoneSet()
|