HomeSort by relevance Sort by last modified time
    Searched refs:City (Results 1 - 14 of 14) sorted by null

  /packages/apps/DeskClock/src/com/android/deskclock/data/
City.java 24 * A read-only domain object representing a city of the world and associated time information. It
27 public final class City {
29 /** A unique identifier for the city. */
38 /** The display name of the city. */
41 /** The phonetic name of the city used to order cities for display. */
44 /** The {@link TimeZone#getID() id} of the timezone in which the city is located. */
53 City(String id, int index, String indexString, String name, String phoneticName,
81 return String.format("City {id=%s, index=%d, indexString=%s, name=%s, phonetic=%s, tz=%s}",
95 public static final class UtcOffsetComparator implements Comparator<City> {
97 private final Comparator<City> mDelegate1 = new UtcOffsetIndexComparator();
    [all...]
CityModel.java 42 * All {@link City} data is accessed via this model.
60 /** Maps city ID to city instance. */
61 private Map<String, City> mCityMap;
63 /** List of city instances in display order. */
64 private List<City> mAllCities;
66 /** List of selected city instances in display order. */
67 private List<City> mSelectedCities;
69 /** List of unselected city instances in display order. */
70 private List<City> mUnselectedCities
    [all...]
CityDAO.java 40 * This class encapsulates the transfer of data between {@link City} domain objects and their
45 // Regex to match natural index values when parsing city names.
51 // Prefix for a key to a preference that stores the id of a selected city.
60 * @param cityMap maps city ids to city instances
61 * @return the list of city ids selected for display by the user
63 public static List<City> getSelectedCities(Context context, Map<String, City> cityMap) {
66 final List<City> selectedCities = new ArrayList<>(size);
70 final City city = cityMap.get(id) local
    [all...]
DataModel.java 56 /** The model from which city data are fetched. */
171 public List<City> getAllCities() {
177 * @param cityName the case-insensitive city name to search for
178 * @return the city with the given {@code cityName}; {@code null} if no such city exists
180 public City getCity(String cityName) {
186 * @return a city representing the user's home timezone
188 public City getHomeCity() {
196 public List<City> getUnselectedCities() {
204 public List<City> getSelectedCities()
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/xml/
example_test.go 15 City, State string
47 // <City>Hanga Roa</City>
55 City, State string
87 // <City>Hanga Roa</City>
103 City, State string
129 <City>Hanga Roa</City>
  /prebuilts/go/linux-x86/src/encoding/xml/
example_test.go 15 City, State string
47 // <City>Hanga Roa</City>
55 City, State string
87 // <City>Hanga Roa</City>
103 City, State string
129 <City>Hanga Roa</City>
  /packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CitySelectionActivity.java 48 import com.android.deskclock.data.City;
68 * <li>Digital Widget -> Tap any city clock</li>
178 * City 1 (alphabetically first)
179 * City 2 (alphabetically second)
181 * A City A1 (alphabetically first starting with A)
182 * City A2 (alphabetically second starting with A)
184 * B City B1 (alphabetically first starting with B)
185 * City B2 (alphabetically second starting with B)
192 * A City A1 (alphabetically first starting with A)
193 * City A2 (alphabetically second starting with A
302 final City city = getItem(position); local
361 final City city = (City) b.getTag(); local
396 final City city = getItem(position); local
541 final City city = getItem(position); local
    [all...]
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalWidgetViewsFactory.java 30 import com.android.deskclock.data.City;
57 private City mHomeCity;
58 private List<City> mCities;
115 final City left = leftIndex == -1 ? mHomeCity :
117 final City right = rightIndex < mCities.size() ? mCities.get(rightIndex) : null;
183 private void update(RemoteViews clock, City city, int clockId, int labelId, int dayId) {
188 clock.setString(clockId, "setTimeZone", city.getTimeZoneId());
189 clock.setTextViewText(labelId, city.getName());
191 // Compute if the city week day matches the weekday of the current timezone
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
ClockFragment.java 41 import com.android.deskclock.data.City;
364 // Retrieve the city to bind.
365 final City city = (City) getItem(position); local
367 // Inflate a new view for the city, if necessary.
380 analogClock.setTimeZone(city.getTimeZoneId());
385 digitalClock.setTimeZone(city.getTimeZoneId());
389 // Bind the city name.
391 name.setText(city.getName())
    [all...]
HandleDeskClockApiCalls.java 24 import com.android.deskclock.data.City;
42 // add a clock of a selected city, if no city is specified opens the city selection screen
44 // delete a clock of a selected city, if no city is specified shows CitiesActivity for the user
45 // to choose a city
48 public static final String EXTRA_CITY = "com.android.deskclock.extra.clock.CITY";
271 // If no city was given, start the city chooser
290 final City city = DataModel.getDataModel().getCity(cityName); local
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
CivicLocationElement.java 97 public static final int CITY = 3;
132 City,
168 s_caTypes.put(CITY, CAType.City);
  /external/ImageMagick/www/api/
morphology.php 264 <dd> Manhattan:[{radius}][x{scale}[!]] Manhattan Distance (also known as Rectilinear, City Block, or the Taxi Cab distance metric), it is the distance needed when you can only travel in horizontal or vertical directions only. It is the distance a 'Rook' in chess would have to travel, and results in a diamond like distances, where diagonals are further than expected. </dd>
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/asn1/
asn1_test.go 613 RelativeDistinguishedNameSET{AttributeTypeAndValue{Type: ObjectIdentifier{2, 5, 4, 7}, Value: "City"}},
625 RelativeDistinguishedNameSET{AttributeTypeAndValue{Type: ObjectIdentifier{2, 5, 4, 7}, Value: "City"}},
    [all...]
  /prebuilts/go/linux-x86/src/encoding/asn1/
asn1_test.go 613 RelativeDistinguishedNameSET{AttributeTypeAndValue{Type: ObjectIdentifier{2, 5, 4, 7}, Value: "City"}},
625 RelativeDistinguishedNameSET{AttributeTypeAndValue{Type: ObjectIdentifier{2, 5, 4, 7}, Value: "City"}},
    [all...]

Completed in 731 milliseconds