Home
last modified time | relevance | path

Searched refs:postal (Results 1 – 13 of 13) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java70 public void split(Postal postal, String formattedAddress) { in split() argument
72 postal.street = formattedAddress; in split()
84 public String join(Postal postal) { in join() argument
86 postal.street, postal.pobox, postal.neighborhood, postal.city, in join()
87 postal.region, postal.postcode, postal.country in join()
93 return joinJaJp(postal); in join()
95 return joinEnUs(postal); in join()
99 private String joinJaJp(final Postal postal) { in joinJaJp() argument
100 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinJaJp()
101 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinJaJp()
[all …]
DDataRowHandlerForStructuredPostal.java87 final PostalSplitter.Postal postal = new PostalSplitter.Postal(); in fixStructuredPostalComponents() local
90 mSplitter.split(postal, unstruct); in fixStructuredPostalComponents()
91 postal.toValues(update); in fixStructuredPostalComponents()
94 postal.fromValues(augmented); in fixStructuredPostalComponents()
95 final String joined = mSplitter.join(postal); in fixStructuredPostalComponents()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPostalSplitterTest.java100 final Postal postal = new Postal(); in assertSplitPostal() local
101 mPostalSplitter.split(postal, formattedPostal); in assertSplitPostal()
102 assertEquals(street, postal.street); in assertSplitPostal()
103 assertEquals(pobox, postal.pobox); in assertSplitPostal()
104 assertEquals(neighborhood, postal.neighborhood); in assertSplitPostal()
105 assertEquals(city, postal.city); in assertSplitPostal()
106 assertEquals(region, postal.region); in assertSplitPostal()
107 assertEquals(postcode, postal.postcode); in assertSplitPostal()
108 assertEquals(country, postal.country); in assertSplitPostal()
113 final Postal postal = new Postal(); in assertJoinedPostal() local
[all …]
DPostalSplitterForJapaneseTest.java116 final Postal postal = new Postal(); in assertSplitPostal() local
117 mPostalSplitter.split(postal, formattedPostal); in assertSplitPostal()
118 assertEquals(street, postal.street); in assertSplitPostal()
119 assertEquals(pobox, postal.pobox); in assertSplitPostal()
120 assertEquals(neighborhood, postal.neighborhood); in assertSplitPostal()
121 assertEquals(city, postal.city); in assertSplitPostal()
122 assertEquals(region, postal.region); in assertSplitPostal()
123 assertEquals(postcode, postal.postcode); in assertSplitPostal()
124 assertEquals(country, postal.country); in assertSplitPostal()
129 final Postal postal = new Postal(); in assertJoinedPostal() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java228 StructuredPostalDataItem postal = (StructuredPostalDataItem) item; in DataAction() local
229 final String postalAddress = postal.getFormattedAddress(); in DataAction()
DQuickContactActivity.java1939 StructuredPostalDataItem postal = (StructuredPostalDataItem) dataItem; in dataItemToEntry() local
1940 final String postalAddress = postal.getFormattedAddress(); in dataItemToEntry()
1944 header = postal.getFormattedAddress(); in dataItemToEntry()
1948 if (postal.hasKindTypeColumn(kind)) { in dataItemToEntry()
1950 postal.getKindTypeColumn(kind), postal.getLabel()).toString(); in dataItemToEntry()
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt787 787 mimetype=vnd.android.cursor.item/postal-address_v2
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt95230 vnd.android.cursor.dir/postal-address:
95298 vnd.android.cursor.item/postal-address:
95306 vnd.android.cursor.item/postal-address_v2:
95350 vnd.android.cursor.dir/postal-address_v2:
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz ... ,flags=,originalFreq=170 53 word=postal,f=170,flags=,originalFreq= ...
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...