Searched refs:cities (Results 1 - 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DCityDAO.java48 /** Key to a preference that stores the number of selected cities. */
76 * @param cities the collection of cities selected for display by the user
78 static void setSelectedCities(SharedPreferences prefs, Collection<City> cities) { argument
80 editor.putInt(NUMBER_OF_CITIES, cities.size());
83 for (City city : cities) {
92 * @return the domain of cities from which the user may choose a world clock
99 final Map<String, City> cities = new ArrayMap<>(citiesCount);
126 // Skip cities whose timezone cannot be resolved.
128 cities
[all...]
H A DCityModel.java103 * @return a list of all cities in their display order
107 // Create a set of selections to identify the unselected cities.
110 // Sort the selected cities alphabetically by name.
113 // Combine selected and unselected cities into a single list.
137 * @return a list of cities not selected for display
141 // Create a set of selections to identify the unselected cities.
153 // Sort the unselected cities according by the user's preferred sort.
162 * @return a list of cities selected for display
175 * @param cities the new collection of cities selecte
177 setSelectedCities(Collection<City> cities) argument
[all...]
H A DDataModel.java57 /** Indicates the preferred sort order of cities. */
328 * @return a list of all cities in their display order
344 * @return a list of cities not selected for display
352 * @return a list of cities selected for display
360 * @param cities the new collection of cities selected for display by the user
362 public void setSelectedCities(Collection<City> cities) { argument
364 mCityModel.setSelectedCities(cities);
376 * @return the order in which cities are sorted
384 * Adjust the order in which cities ar
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DClockFragment.java112 mCityList = (RecyclerView) fragmentView.findViewById(R.id.cities);

Completed in 55 milliseconds