Home
last modified time | relevance | path

Searched refs:RegionItem (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionSearchPicker.java50 private BaseTimeZoneAdapter<RegionItem> mAdapter;
71 private void onListItemClick(RegionItem item) { in onListItemClick()
115 private List<RegionItem> createAdapterItem(Set<String> regionIds) { in createAdapterItem()
117 final TreeSet<RegionItem> items = new TreeSet<>(new RegionInfoComparator(collator)); in createAdapterItem()
123 items.add(new RegionItem(i++, regionId, name)); in createAdapterItem()
129 static class RegionItem implements AdapterItem { class in RegionSearchPicker
136 RegionItem(long itemId, String id, String name) { in RegionItem() method in RegionSearchPicker.RegionItem
181 private static class RegionInfoComparator implements Comparator<RegionItem> {
189 public int compare(RegionItem r1, RegionItem r2) { in compare()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionSearchPickerTest.java34 import com.android.settings.datetime.timezone.RegionSearchPicker.RegionItem;
87 BaseTimeZoneAdapter<RegionItem> adapter = picker.createAdapter(new TimeZoneData(finder)); in clickItemView_duringRegionSearch_shouldNotCrash()