Home
last modified time | relevance | path

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

12

/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.java223 StructuredPostalDataItem postal = (StructuredPostalDataItem) item; in DataAction() local
224 final String postalAddress = postal.getFormattedAddress(); in DataAction()
DQuickContactActivity.java1630 StructuredPostalDataItem postal = (StructuredPostalDataItem) dataItem; in dataItemToEntry() local
1631 final String postalAddress = postal.getFormattedAddress(); in dataItemToEntry()
1636 header = postal.getFormattedAddress(); in dataItemToEntry()
1640 if (postal.hasKindTypeColumn(kind)) { in dataItemToEntry()
1642 postal.getKindTypeColumn(kind), postal.getLabel()).toString(); in dataItemToEntry()
/packages/apps/TV/tests/input/tools/
Dget_test_logos.sh31 pet petrol phone picnic postal
/packages/apps/TV/partner_support/g3doc/
DCloudEpgForPartners.md35 lineups in a given postal code. The TIS then inserts a row to the inputs table
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt787 787 mimetype=vnd.android.cursor.item/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
Den_GB_wordlist.combined.gz
Dit_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
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, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dpt_PT_wordlist.combined.gz
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dtr_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...

12