HomeSort by relevance Sort by last modified time
    Searched refs:city (Results 1 - 25 of 40) sorted by null

1 2

  /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;
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
City.java 29 public final class City implements ClockContract.CitiesColumns {
48 public static ContentValues createContentValues(City city) {
50 values.put(CITY_ID, city.mCityId);
51 values.put(CITY_NAME, city.mCityName);
52 values.put(TIMEZONE_NAME, city.mTimezoneName);
53 values.put(TIMEZONE_OFFSET, city.mTimezoneOffset);
62 * Return content uri for specific city id.
66 * @return a new city content uri with the given ID appended to the end of the path
74 * Get city from cityId
    [all...]
  /external/robolectric/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/
CitiesActivity.java 122 // language's city strings are read from the xml file.
161 for (CityObj city : mSelectedCities) {
162 city.isHeader = false;
163 filteredList.add(city);
176 for (CityObj city : mCities) {
178 // If the city is a deleted entry, ignore it.
179 if (city.mCityId.equals(DELETED_ENTRY)) {
185 if (!selectedCityIds.contains(city.mCityId)) {
186 // If the list is sorted by name, and the city has an index
187 // different than the previous city's index, update the section header
    [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...]
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
TouristAttractions.java 111 * Creates a list of geofences based on the city locations
115 for (String city : CITY_LOCATIONS.keySet()) {
116 LatLng cityLatLng = CITY_LOCATIONS.get(city);
119 .setRequestId(city)
129 // In debug build still return a city so some data is displayed
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
TouristAttractions.java 111 * Creates a list of geofences based on the city locations
115 for (String city : CITY_LOCATIONS.keySet()) {
116 LatLng cityLatLng = CITY_LOCATIONS.get(city);
119 .setRequestId(city)
129 // In debug build still return a city so some data is displayed
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
TouristAttractions.java 111 * Creates a list of geofences based on the city locations
115 for (String city : CITY_LOCATIONS.keySet()) {
116 LatLng cityLatLng = CITY_LOCATIONS.get(city);
119 .setRequestId(city)
129 // In debug build still return a city so some data is displayed
  /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 51 // add a clock of a selected city, if no city is specified opens the city selection screen
53 // delete a clock of a selected city, if no city is specified shows CitiesActivity for the user
54 // to choose a city
57 public static final String EXTRA_CITY = "com.android.deskclock.extra.clock.CITY";
424 // if a city isn't specified open CitiesActivity to choose a city
434 // if a city is passed add that city to the lis
436 final CityObj city = cities.get(cityExtra.toLowerCase()); local
477 final CityObj city = cities.get(cityExtra.toLowerCase()); local
    [all...]
Utils.java 651 LogUtils.e("City lists sizes are not the same, truncating");
655 // Default to using the first character of the city name as the index unless one is
663 LogUtils.w("Cannot parse city name %s; skipping", parseString);
689 for (CityObj city : cities) {
690 map.put(city.mCityName.toLowerCase(), city); local
713 public static String getCityName(CityObj city, CityObj dbCity) {
714 return (city.mCityId == null || dbCity == null) ? city.mCityName : dbCity.mCityName;
    [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;
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ContactsSyncParser.java 187 work.city = getValue();
202 home.city = getValue();
217 other.city = getValue();
332 ops.addPostal(entity, StructuredPostal.TYPE_WORK, work.street, work.city,
336 ops.addPostal(entity, StructuredPostal.TYPE_HOME, home.street, home.city,
340 ops.addPostal(entity, StructuredPostal.TYPE_OTHER, other.street, other.city,
687 String city;
694 return city != null || country != null || code != null || state != null
    [all...]
  /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,
303 * @param cityId The city to trigger the notification for
452 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,
303 * @param cityId The city to trigger the notification for
452 attractionData.putString(Constants.EXTRA_CITY, attraction.city);
  /development/samples/browseable/XYZTouristAttractions/Application/src/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,
303 * @param cityId The city to trigger the notification for
452 attractionData.putString(Constants.EXTRA_CITY, attraction.city);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailFragment.java 111 Uri.encode(mAttraction.name + ", " + mAttraction.city)));
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailFragment.java 111 Uri.encode(mAttraction.name + ", " + mAttraction.city)));

Completed in 542 milliseconds

1 2