Home
last modified time | relevance | path

Searched refs:country (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DPhoneNumberTestService.java60 final String country = intent.getStringExtra(EXTRA_COUNTRY_CODE); in onHandleIntent() local
64 Log.i(TAG, "Input country code: " + country); in onHandleIntent()
69 if (country != null) countries.add(country); in onHandleIntent()
80 private void dump(String number, String country) { in dump() argument
81 Log.i(TAG, "Result for: " + number + " / " +country); in dump()
82 dump_PhoneNumberUtils_formatNumberToE164(number, country); in dump()
83 dump_PhoneNumberUtil_format(number, country, PhoneNumberFormat.E164); in dump()
84 dump_PhoneNumberUtil_format(number, country, PhoneNumberFormat.INTERNATIONAL); in dump()
85 dump_PhoneNumberUtil_format(number, country, PhoneNumberFormat.NATIONAL); in dump()
86 dump_PhoneNumberUtil_format(number, country, PhoneNumberFormat.RFC3966); in dump()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSearch.java78 String country = locale.getCountry(); in getLanguage() local
80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) { in getLanguage()
82 hl.append(country); in getLanguage()
85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl); in getLanguage()
90 private static boolean useLangCountryHl(String language, String country) { in useLangCountryHl() argument
93 return "GB".equals(country); in useLangCountryHl()
95 return "CN".equals(country) || "TW".equals(country); in useLangCountryHl()
97 return "BR".equals(country) || "PT".equals(country); in useLangCountryHl()
/packages/apps/Browser/tools/
Dget_search_engines.py145 def getSearchEnginesForCountry(self, country): argument
152 pos = self.chrome_data.find('engines_' + country)
154 print ('Unable to find search engine data for country ' + country + '.')
210 country = locale[separator_pos + 1:].upper()
211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country)
213 self.writeEngineList(dir_path, country)
215 def writeEngineList(self, dir_path, country): argument
220 engines = self.getSearchEnginesForCountry(country)
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java39 public String country; field in PostalSplitter.Postal
48 country = values.getAsString(StructuredPostal.COUNTRY); in fromValues()
58 values.put(StructuredPostal.COUNTRY, country); in toValues()
87 postal.region, postal.postcode, postal.country in join()
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); in joinJaJp()
120 builder.append(postal.country); in joinJaJp()
172 final boolean hasCountry = !TextUtils.isEmpty(postal.country); in joinEnUs()
220 builder.append(postal.country); in joinEnUs()
DCountryMonitor.java50 public void onCountryDetected(Country country) { in getCountryIso()
51 mCurrentCountryIso = country.getCountryIso(); in getCountryIso()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
108 assertEquals(country, postal.country); in assertSplitPostal()
112 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
120 postal.country = country; in assertJoinedPostal()
DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
124 assertEquals(country, postal.country); in assertSplitPostal()
128 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
136 postal.country = country; in assertJoinedPostal()
/packages/apps/Mms/src/com/android/mms/
DMmsApp.java82 public synchronized void onCountryDetected(Country country) { in onCreate()
83 mCountryIso = country.getCountryIso(); in onCreate()
178 Country country = mCountryDetector.detectCountry(); in getCurrentCountryIso() local
179 if (country != null) { in getCurrentCountryIso()
180 mCountryIso = country.getCountryIso(); in getCurrentCountryIso()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DContactsSyncAdapter.java338 String country; field in ContactsSyncAdapter.Address
344 return city != null || country != null || code != null || state != null in hasData()
525 work.country = getValue(); in addData()
540 home.country = getValue(); in addData()
555 other.country = getValue(); in addData()
679 work.state, work.country, work.code); in addData()
683 home.state, home.country, home.code); in addData()
687 other.state, other.country, other.code); in addData()
1394 String country, String code) { in addPostal() argument
1400 cvCompareString(cv, StructuredPostal.COUNTRY, country) && in addPostal()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java358 String country = readUTF(dis); in lookupAddress() local
362 if (country == null) { in lookupAddress()
365 locale = new Locale(language, country); in lookupAddress()
367 locale = new Locale(language, country, variant); in lookupAddress()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java73 String country = locale.getCountry(); in createMediaScanner() local
76 if (country != null) { in createMediaScanner()
77 scanner.setLocale(language + "_" + country); in createMediaScanner()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialCache.java364 static boolean isCountryNanp(String country) { in isCountryNanp() argument
365 if (TextUtils.isEmpty(country)) { in isCountryNanp()
371 return sNanpCountries.contains(country.toUpperCase()); in isCountryNanp()
/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java366 String country = locale.getCountry(); in addLocaleToHttpAcceptLanguage() local
367 if (country != null) { in addLocaleToHttpAcceptLanguage()
369 builder.append(country); in addLocaleToHttpAcceptLanguage()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndLanguageSettings.java242 String country = conf.locale.getCountry(); in onResume() local
243 if (country.equals("ZZ")) { in onResume()
245 } else if (country.equals("ZY")) { in onResume()
/packages/apps/Settings/src/com/android/settings/
DSettingsSafetyLegalActivity.java53 final String country = configuration.locale.getCountry(); in onCreate() local
55 String loc = String.format("locale=%s-%s", language, country); in onCreate()
/packages/apps/Browser/src/com/android/browser/
DAutofillHandler.java119 String country = c.getString(c.getColumnIndex( in run() local
125 state, zip, country, phone); in run()
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1355802835, ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dfr_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dnl_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1355802836, ...
Dnb_wordlist.combined.gz

12