/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | 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; 98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
H A D | PostalSplitterForJapaneseTest.java | 115 String neighborhood, String city, String region, String postcode, String country) { 121 assertEquals(city, postal.city); 128 String neighborhood, String city, String region, String postcode, String country) { 133 postal.city = city; 114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | City.java | 48 public static ContentValues createContentValues(City city) { argument 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. 77 * @param cityId for the desired city. 78 * @return city i 133 addCity(ContentResolver contentResolver, City city) argument 140 updateCity(ContentResolver contentResolver, City city) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | 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); 175 // Second block: [city][, ][region][ ][postcode] 203 builder.append(postal.city); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Utils.java | 606 public static String getCityName(CityObj city, CityObj dbCity) { argument 607 return (city.mCityId == null || dbCity == null) ? city.mCityName : dbCity.mCityName;
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | 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; field in class:ContactsSyncParser.Address 694 return city != null || country != null || code != null || state != null 1199 public void addPostal(Entity entity, int type, String street, String city, String state, argument 1204 if (cv != null && cvCompareString(cv, StructuredPostal.CITY, city) [all...] |