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

  /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 28 * Handler for postal address data rows.
86 final PostalSplitter.Postal postal = new PostalSplitter.Postal(); local
89 mSplitter.split(postal, unstruct);
90 postal.toValues(update);
93 postal.fromValues(augmented);
94 final String joined = mSplitter.join(postal);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PostalSplitterForJapaneseTest.java 19 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...]
PostalSplitterTest.java 19 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...]

Completed in 98 milliseconds