/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 32 public static class Postal { 68 * components in the {@link Postal} object. 70 public void split(Postal postal, String formattedAddress) { 72 postal.street = formattedAddress; 81 * Flattens the given {@link Postal} into a single field, usually for 84 public String join(Postal postal) { 86 postal.street, postal.pobox, postal.neighborhood, postal.city [all...] |
DataRowHandlerForStructuredPostal.java | 29 * Handler for postal address data rows. 87 final PostalSplitter.Postal postal = new PostalSplitter.Postal(); local 90 mSplitter.split(postal, unstruct); 91 postal.toValues(update); 94 postal.fromValues(augmented); 95 final String joined = mSplitter.join(postal);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PostalSplitterTest.java | 21 import com.android.providers.contacts.PostalSplitter.Postal; 100 final Postal postal = new Postal(); local 101 mPostalSplitter.split(postal, formattedPostal); 102 assertEquals(street, postal.street); 103 assertEquals(pobox, postal.pobox); 104 assertEquals(neighborhood, postal.neighborhood); 105 assertEquals(city, postal.city); 106 assertEquals(region, postal.region) 113 final Postal postal = new Postal(); local [all...] |
PostalSplitterForJapaneseTest.java | 21 import com.android.providers.contacts.PostalSplitter.Postal; 41 // Postal address for Tokyo Metropolitan City Hall (Tokyo-Tocho) as of 2009 + pseudo PO box. 116 final Postal postal = new Postal(); local 117 mPostalSplitter.split(postal, formattedPostal); 118 assertEquals(street, postal.street); 119 assertEquals(pobox, postal.pobox); 120 assertEquals(neighborhood, postal.neighborhood); 121 assertEquals(city, postal.city) 129 final Postal postal = new Postal(); local [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/ |
address_problem.h | 45 // used to match postal code against the general format pattern. Formats 49 // For example, in the US, postal codes are five digits with an optional 55 // match. This is used to match postal code against a regular expression. 57 // For example, in the US, postal codes in the state of California start
|
address_field.h | 32 POSTAL_CODE, // Zip or postal code.
|
/external/chromium_org/chrome/browser/chromeos/contacts/ |
contact_test_util.cc | 55 std::string PostalAddressToString(const Contact_PostalAddress& postal) { 56 return postal.address() + "," + 57 base::IntToString(postal.type().relation()) + "," + 58 postal.type().label() + "," + 59 base::IntToString(postal.primary()); 105 "postal=", ' '); 212 Contact::PostalAddress* postal = contact->add_postal_addresses(); local 213 postal->set_address(address); 214 postal->mutable_type()->set_relation(relation); 215 postal->mutable_type()->set_label(label) [all...] |
/external/chromium_org/content/test/data/android/device_files/content_detection/ |
geo_address_real.html | 12 <span class="locality">Chicago</span>, <span class="region">IL</span> <span class="postal-code">60637</span><br> 15 <span class="locality">Chicago</span>, <span class="region" id="test3">IL</span> <span class="postal-code">60637</span></div><br>
|
/external/llvm/test/YAMLParser/ |
spec-02-27.data | 15 postal : 48046
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
OnPostalAddressPickerActionListener.java | 21 * Action callbacks that can be sent by a postal address picker.
|
PostalAddressPickerFragment.java | 29 * Fragment containing a postal address list for picking.
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
rule_test.cc | 47 "\"zip_name_type\":\"postal\"," 79 "\"zip_name_type\":\"postal\"," 154 // Tests for parsing the postal code name. 161 // Verifies that a postal code name is parsed correctly. 167 // Test parsing all postal code names. 171 std::make_pair("{\"zip_name_type\":\"postal\"}",
|
/external/chromium/chrome/browser/resources/options/ |
autofill_edit_address_overlay.js | 122 address[7] = $('postal-code').value; 144 $('postal-code').oninput = function(event) { 165 !$('city').value && !$('state').value && !$('postal-code').value && 172 * Updates the postal code and state field labels appropriately for the 182 var postal = $('postal-code-label'); 183 postal.textContent = details['postalCodeLabel']; 249 $('postal-code').value = ''; 280 $('postal-code').value = address['postalCode'];
|
autofill_edit_address_overlay.html | 40 <label id="postal-code-label" for="postal-code"></label> 51 <input type="text" class="autofill-form" id="postal-code">
|
/external/chromium_org/chrome/browser/resources/options/ |
autofill_edit_address_overlay.js | 150 address[7] = $('postal-code').value; 170 $('postal-code').oninput = function(event) { 191 !$('city').value && !$('state').value && !$('postal-code').value && 198 * Updates the postal code and state field labels appropriately for the 207 var postal = $('postal-code-label'); 208 postal.textContent = details.postalCodeLabel; 245 $('postal-code').value = ''; 275 $('postal-code').value = address.postalCode;
|
autofill_edit_address_overlay.html | 43 <div id="postal-code-label"></div> 44 <input id="postal-code" type="text">
|
/packages/apps/Contacts/tests/res/values/ |
donottranslate_strings.xml | 35 <item>ACTION_PICK: postal</item> 36 <item>ACTION_PICK: postal (legacy)</item> 45 <item>ACTION_GET_CONTENT: postal</item> 46 <item>ACTION_GET_CONTENT: postal (legacy)</item>
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
StructuredPostalDataItem.java | 24 * Represents a structured postal data item, wrapping the columns in
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/res/ |
messages.grdp | 53 desc="Postal Code. Values are frequently alphanumeric."> 54 Postal Code 138 desc="Message to be shown when an incorrect postal code is entered by the user. Postal codes are used in countries like New Zealand."> 139 Invalid postal code
|
/external/chromium_org/third_party/opus/src/doc/ |
draft-valin-codec-opus-update.xml | 21 <postal> 27 </postal> 36 <postal> 42 </postal> 51 <postal> 57 </postal>
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/ |
AutofillDialogResult.java | 94 * @param postalCode Postal code 161 * @return Postal code
|
/external/chromium/chrome/browser/autofill/ |
autofill_country.h | 58 // The localized label for the postal code (or zip code) field.
|
autofill_country_unittest.cc | 27 EXPECT_EQ(ASCIIToUTF16("Postal code"), canada_en.postal_code_label());
|
/frameworks/base/tests/ImfTest/res/values/ |
strings.xml | 28 <string name="postal_address_edit_text_label">Postal Address</string>
|
/packages/apps/ContactsCommon/tests/res/xml/ |
test_basic_contacts.xml | 200 Postal address. 203 <DataKind kind="postal" needsStructured="false" > 211 <DataKind kind="postal" needsStructured="true" >
|