Home
last modified time | relevance | path

Searched refs:City (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityModel.java67 private Map<String, City> mCityMap;
70 private List<City> mAllCities;
73 private List<City> mSelectedCities;
76 private List<City> mUnselectedCities;
79 private City mHomeCity;
105 List<City> getAllCities() { in getAllCities()
108 final List<City> selected = new ArrayList<>(getSelectedCities()); in getAllCities()
111 Collections.sort(selected, new City.NameComparator()); in getAllCities()
114 final List<City> allCities = new ArrayList<>(getCityMap().size()); in getAllCities()
126 City getHomeCity() { in getHomeCity()
[all …]
DCity.java28 public final class City { class
57 City(String id, int index, String indexString, String name, String phoneticName, TimeZone tz) { in City() method in City
132 public static final class UtcOffsetComparator implements Comparator<City> {
134 private final Comparator<City> mDelegate1 = new UtcOffsetIndexComparator();
136 private final Comparator<City> mDelegate2 = new NameComparator();
138 public int compare(City c1, City c2) { in compare()
156 public static final class UtcOffsetIndexComparator implements Comparator<City> {
161 public int compare(City c1, City c2) { in compare()
177 public static final class NameComparator implements Comparator<City> {
179 private final Comparator<City> mDelegate = new NameIndexComparator();
[all …]
DCityDAO.java60 static List<City> getSelectedCities(SharedPreferences prefs, Map<String, City> cityMap) { in getSelectedCities()
62 final List<City> selectedCities = new ArrayList<>(size); in getSelectedCities()
66 final City city = cityMap.get(id); in getSelectedCities()
78 static void setSelectedCities(SharedPreferences prefs, Collection<City> cities) { in setSelectedCities()
83 for (City city : cities) { in setSelectedCities()
94 static Map<String, City> getCities(Context context) { in getCities()
99 final Map<String, City> cities = new ArrayMap<>(citiesCount); in getCities()
125 final City city = createCity(id, cityParts[0], cityParts[1]); in getCities()
146 static City createCity(String id, String formattedName, String tzId) { in createCity()
164 return new City(id, index, indexString, name, phoneticName, tz); in createCity()
DDataModel.java330 public List<City> getAllCities() { in getAllCities()
338 public City getHomeCity() { in getHomeCity()
346 public List<City> getUnselectedCities() { in getUnselectedCities()
354 public List<City> getSelectedCities() { in getSelectedCities()
362 public void setSelectedCities(Collection<City> cities) { in setSelectedCities()
370 public Comparator<City> getCityIndexComparator() { in getCityIndexComparator()
DCityListener.java25 void citiesChanged(List<City> oldCities, List<City> newCities); in citiesChanged()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java48 import com.android.deskclock.data.City;
257 private List<City> mFilteredCities = Collections.emptyList();
262 private final Set<City> mUserSelectedCities = new ArraySet<>();
312 public City getItem(int position) { in getItem()
343 final City city = getItem(position); in getView()
405 final City city = (City) b.getTag(); in onCheckedChanged()
440 final City city = getItem(position); in getSections()
500 final List<City> selected = DataModel.getDataModel().getSelectedCities(); in refresh()
517 final String query = City.removeSpecialCharacters(queryText.toUpperCase()); in filter()
520 final List<City> filteredCities; in filter()
[all …]
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.java31 import com.android.deskclock.data.City;
61 private City mHomeCity;
63 private List<City> mCities = Collections.emptyList();
112 final City left = leftIndex == -1 ? mHomeCity : in getViewAt()
114 final City right = rightIndex < mCities.size() ? mCities.get(rightIndex) : null; in getViewAt()
180 private void update(RemoteViews rv, City city, int clockId, int labelId, int dayId) {
220 private City mHomeCity;
221 private List<City> mCities;
DDigitalAppWidgetProvider.java45 import com.android.deskclock.data.City;
352 final List<City> selectedCities = dm.getSelectedCities(); in updateDayChangeCallback()
366 for (City city : selectedCities) { in updateDayChangeCallback()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java45 import com.android.deskclock.data.City;
386 final City city; in onBindViewHolder()
414 private City getHomeCity() { in getHomeCity()
418 private List<City> getCities() { in getCities()
429 public void citiesChanged(List<City> oldCities, List<City> newCities) { in citiesChanged()
449 private void bind(Context context, City city, int position, boolean isPortrait) { in bind()
/packages/providers/TelephonyProvider/assets/
Dcarrier_list.textpb10136 carrier_name: "Wireless City Planning"
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...