HomeSort by relevance Sort by last modified time
    Searched defs:cities (Results 1 - 2 of 2) sorted by null

  /packages/apps/DeskClock/src/com/android/deskclock/data/
CityDAO.java 48 /** 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) {
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); local
126 // Skip cities whose timezone cannot be resolved.
128 cities.put(id, city)
    [all...]
CityModel.java 103 * @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 selected for display by the use
269 final List<City> cities = getAllCities(); local
    [all...]

Completed in 57 milliseconds