HomeSort by relevance Sort by last modified time
    Searched refs:cities (Results 1 - 4 of 4) 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.
80 * @param cities the collection of cities selected for display by the user
82 public static void setSelectedCities(Context context, Collection<City> cities) {
85 editor.putInt(NUMBER_OF_CITIES, cities.size());
88 for (City city : cities) {
97 * @return the domain of cities from which the user may choose a world clock
119 final Map<String, City> cities = new ArrayMap<>(ids.length); local
125 cities.put(id, createCity(id, names[i], timezones[i]));
127 return Collections.unmodifiableMap(cities);
    [all...]
CityModel.java 89 * @return a list of all cities in their display order
93 // Create a set of selections to identify the unselected cities.
96 // Sort the selected cities alphabetically by name.
99 // Combine selected and unselected cities into a single list.
139 * @return a list of cities not selected for display
143 // Create a set of selections to identify the unselected cities.
155 // Sort the unselected cities according by the user's preferred sort.
164 * @return a list of cities selected for display
177 * @param cities the new collection of cities selected for display by the use
    [all...]
DataModel.java 40 /** Indicates the preferred sort order of cities. */
165 // Cities
169 * @return a list of all cities in their display order
194 * @return a list of cities not selected for display
202 * @return a list of cities selected for display
210 * @param cities the new collection of cities selected for display by the user
212 public void setSelectedCities(Collection<City> cities) {
214 mCityModel.setSelectedCities(cities);
226 * @return the order in which cities are sorte
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
ClockFragment.java 99 mCityList = (ListView) fragmentView.findViewById(R.id.cities);
411 * @return {@code false} to prevent the cities from responding to touch

Completed in 53 milliseconds