Home
last modified time | relevance | path

Searched refs:postal (Results 1 – 25 of 25) 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/TV/tests/input/tools/
Dget_test_logos.sh31 pet petrol phone picnic postal
/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.java1635 StructuredPostalDataItem postal = (StructuredPostalDataItem) dataItem; in dataItemToEntry() local
1636 final String postalAddress = postal.getFormattedAddress(); in dataItemToEntry()
1641 header = postal.getFormattedAddress(); in dataItemToEntry()
1645 if (postal.hasKindTypeColumn(kind)) { in dataItemToEntry()
1647 postal.getKindTypeColumn(kind), postal.getLabel()).toString(); in dataItemToEntry()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactDataHandlerTest.java621 String postal = "structuredPostalFormattedAddress"; in testConvertCurrentRowToPerson_postal() local
626 values.put(CommonDataKinds.StructuredPostal.FORMATTED_ADDRESS, postal); in testConvertCurrentRowToPerson_postal()
636 mResources, type, label).toString(), postal) in testConvertCurrentRowToPerson_postal()
649 assertThat(contactPoints[0].getAddresses()).asList().containsExactly(postal); in testConvertCurrentRowToPerson_postal()
/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_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
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.gz
Dpl_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dfr_wordlist.combined.gz
Dsv_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...