/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Address.java | 20 public String city; field in class:Address
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Attraction.java | 35 public String city; field in class:Attraction 44 Uri secondaryImageUrl, LatLng location, String city) { 51 this.city = city;
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Attraction.java | 35 public String city; field in class:Attraction 44 Uri secondaryImageUrl, LatLng location, String city) { 51 this.city = city;
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
Attraction.java | 35 public String city; field in class:Attraction 44 Uri secondaryImageUrl, LatLng location, String city) { 51 this.city = city;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowGeocoder.java | 22 private String city; field in class:ShadowGeocoder 48 address.setLocality(city); 82 * @param city the city for the response 87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { 89 this.city = 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PostalSplitterForJapaneseTest.java | 41 // Postal address for Tokyo Metropolitan City Hall (Tokyo-Tocho) as of 2009 + pseudo PO box. 50 private static final String CITY = "\u65B0\u5BBF\u533A"; 79 assertJoinedPostal(CITY + "\n" + POBOX, null, POBOX, null, CITY, null, null, null); 83 assertJoinedPostal(POSTCODE + "\n" + REGION + " " + CITY + "\n" + STREET, 84 STREET, null, null, CITY, REGION, POSTCODE, null); 99 assertJoinedPostal(REGION + " " + CITY + "\n" + STREET, 100 STREET, null, null, CITY, REGION, null, null); 102 assertJoinedPostal(COUNTRY + "\n" + REGION + " " + CITY + "\n" + STREET, 103 STREET, null, null, CITY, REGION, null, COUNTRY) [all...] |
PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { 105 assertEquals(city, postal.city); 112 String neighborhood, String city, String region, String postcode, String country) { 117 postal.city = city;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 36 public String city; field in class:PostalSplitter.Postal 45 city = values.getAsString(StructuredPostal.CITY); 55 values.put(StructuredPostal.CITY, city); 86 postal.street, postal.pobox, postal.neighborhood, postal.city, 103 final boolean hasCity = !TextUtils.isEmpty(postal.city); 109 // Second block: [region][ ][city][ ][neighborhood] 137 builder.append(postal.city); 169 final boolean hasCity = !TextUtils.isEmpty(postal.city); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
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...] |
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...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 110 * Creates a list of geofences based on the city locations 114 for (String city : CITY_LOCATIONS.keySet()) { 115 LatLng cityLatLng = CITY_LOCATIONS.get(city); 118 .setRequestId(city) 128 // If location is unknown return test city so some data is shown
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 110 * Creates a list of geofences based on the city locations 114 for (String city : CITY_LOCATIONS.keySet()) { 115 LatLng cityLatLng = CITY_LOCATIONS.get(city); 118 .setRequestId(city) 128 // If location is unknown return test city so some data is shown
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/ |
TouristAttractions.java | 110 * Creates a list of geofences based on the city locations 114 for (String city : CITY_LOCATIONS.keySet()) { 115 LatLng cityLatLng = CITY_LOCATIONS.get(city); 118 .setRequestId(city) 128 // If location is unknown return test city so some data is shown
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 387 String city = id.substring(pos+1); local 388 return city.replace('_',' '); 399 String city = getCity(); local 412 ? "\t\t\"" + city + " Standard Time\"\r\n" 413 + "\t\t\"" + city + "-ST\"\r\n" 414 + "\t\t\"" + city + " Daylight Time\"\r\n" 415 + "\t\t\"" + city + "-DT\"\r\n" 420 + "\t\t\"" + city + " Time\"\r\n" 421 + "\t\t\"" + city + "-T\"\r\n" 422 + "\t\t\"" + city + "\"\r\n [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 383 String city = id.substring(pos+1); local 384 return city.replace('_',' '); 395 String city = getCity(); local 408 ? "\t\t\"" + city + " Standard Time\"\r\n" 409 + "\t\t\"" + city + "-ST\"\r\n" 410 + "\t\t\"" + city + " Daylight Time\"\r\n" 411 + "\t\t\"" + city + "-DT\"\r\n" 416 + "\t\t\"" + city + " Time\"\r\n" 417 + "\t\t\"" + city + "-T\"\r\n" 418 + "\t\t\"" + city + "\"\r\n [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
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...] |
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...] |
/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...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 75 * @param city the tourist attraction city 77 public static void startDeviceActivity(Context context, String path, String name, String city) { 84 extraInfo = name + ", " + city;
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 75 * @param city the tourist attraction city 77 public static void startDeviceActivity(Context context, String path, String name, String city) { 84 extraInfo = name + ", " + city;
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
UtilityService.java | 75 * @param city the tourist attraction city 77 public static void startDeviceActivity(Context context, String path, String name, String city) { 84 extraInfo = name + ", " + city;
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
LevelsDalvikActivity.java | 121 mBitmapIn = loadBitmap(R.drawable.city); 122 mBitmapOut = loadBitmap(R.drawable.city);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 139 // If location unknown use test city, otherwise use closest city 140 String city = currentLocation == null ? TouristAttractions.TEST_CITY : local 143 showNotification(city, 313 * @param cityId The city to trigger the notification for 462 attractionData.putString(Constants.EXTRA_CITY, attraction.city);
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 139 // If location unknown use test city, otherwise use closest city 140 String city = currentLocation == null ? TouristAttractions.TEST_CITY : local 143 showNotification(city, 313 * @param cityId The city to trigger the notification for 462 attractionData.putString(Constants.EXTRA_CITY, attraction.city);
|