/external/chromium/third_party/icu/source/tools/tzcode/ |
tzselect.ksh | 77 country= 151 country = cc_list[i] 152 if (cc_name[country]) { 153 country = cc_name[country] 155 print country 161 # If there's more than one country, ask the user which one. 164 echo >&2 'Please select a country.' 165 select country in $countries 167 case $country i [all...] |
/external/icu4c/tools/tzcode/ |
tzselect.ksh | 77 country= 151 country = cc_list[i] 152 if (cc_name[country]) { 153 country = cc_name[country] 155 print country 161 # If there's more than one country, ask the user which one. 164 echo >&2 'Please select a country.' 165 select country in $countries 167 case $country i [all...] |
/frameworks/base/include/tts/ |
TtsEngine.h | 105 // Returns the level of support for the language, country and variant. 106 // @return TTS_LANG_COUNTRY_VAR_AVAILABLE if the language, country and variant are supported, 108 // TTS_LANG_COUNTRY_AVAILABLE if the language and country are supported and the 113 // the specified country and variant 117 virtual tts_support_result isLanguageAvailable(const char *lang, const char *country, 122 // language value is issued. Language and country values are coded according to the ISO three 127 // @param country pointer to the ISO three letter code for the country 130 virtual tts_result loadLanguage(const char *lang, const char *country, const char *variant); 132 // Load the resources associated with the specified language, country and Locale variant [all...] |
/libcore/luni/src/main/java/org/apache/xml/utils/res/ |
XResourceBundle.java | 103 String country = locale.getCountry(); local 108 suffix += "_" + country; 110 if (country.equals("JP")) 111 suffix += "_" + country + "_" + variant;
|
/frameworks/base/packages/TtsService/src/android/tts/ |
SynthProxy.java | 103 public int isLanguageAvailable(String language, String country, String variant) { 104 return native_isLanguageAvailable(mJniData, language, country, variant); 117 public int setLanguage(String language, String country, String variant) { 118 return native_setLanguage(mJniData, language, country, variant); 124 public int loadLanguage(String language, String country, String variant) { 125 return native_loadLanguage(mJniData, language, country, variant); 143 * Returns the currently set language, country and variant information. 200 String country, String variant); 202 private native final int native_setLanguage(int jniData, String language, String country, 205 private native final int native_loadLanguage(int jniData, String language, String country, [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSearch.java | 75 String country = l.getCountry().toLowerCase(); local 78 if ("cn".equals(country)) { 80 } else if ("tw".equals(country)) { 84 if ("br".equals(country)) { 86 } else if ("pt".equals(country)) { 91 R.string.google_search_base, language, country);
|
GoogleSuggestClient.java | 112 // parameter (%1$s) and the country code is the second (%2$s). This code *must* 120 String country = l.getCountry().toLowerCase(); local 123 if ("cn".equals(country)) { 125 } else if ("tw".equals(country)) { 129 if ("br".equals(country)) { 131 } else if ("pt".equals(country)) { 137 country)
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 425 String country = world[i]; local 433 guess = guessTimeZone(c, country); 439 guess = guessTimeZone(c, country); 461 String country = world[i]; local 469 guess = guessTimeZone(c, country); 474 private static TimeZone guessTimeZone(Calendar c, String country) { 478 country);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TimeUtilsTest.java | 389 String country = world[i]; local 397 guess = guess(c, country); 401 guess = guess(c, country); 413 String country = world[i]; local 421 guess = guess(c, country); 426 private static TimeZone guess(Calendar c, String country) { 430 country);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PostalSplitterForJapaneseTest.java | 45 private static final String COUNTRY = "\u65E5\u672C"; 94 assertJoinedPostal(COUNTRY + " " + POSTCODE + "\n" + STREET, 95 STREET, null, null, null, null, POSTCODE, COUNTRY); 102 assertJoinedPostal(COUNTRY + "\n" + REGION + " " + CITY + "\n" + STREET, 103 STREET, null, null, CITY, REGION, null, COUNTRY); 105 assertJoinedPostal(COUNTRY + "\n" + STREET, 106 STREET, null, null, null, null, null, COUNTRY); 110 assertJoinedPostal(COUNTRY + "\n" + STREET, 111 null, null, STREET, null, null, null, COUNTRY); 115 String neighborhood, String city, String region, String postcode, String country) { [all...] |
PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { 108 assertEquals(country, postal.country); 112 String neighborhood, String city, String region, String postcode, String country) { 120 postal.country = country;
|
/device/htc/common/ |
README.ecclist_for_mcc.conf | 22 [MCC of a country] white space [Emergency number for that country, separated by comma]
|
/libcore/luni/src/main/java/java/util/ |
Currency.java | 65 // it a valid country code, and will just return a sensible default for the default 101 * Returns the {@code Currency} instance for this {@code Locale}'s country. 104 * the {@code Locale} of a country. 105 * @return the {@code Currency} used in the country defined by the locale parameter. 108 * if the locale's country is not a supported ISO 3166 Country. 116 String country = locale.getCountry(); local 120 country = country + "_" + variant; 123 String currencyCode = ICU.getCurrencyCodeNative(country); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
zonemeta.h | 21 const UChar *country; // const because it's a reference to a resource bundle string. member in struct:CanonicalMapEntry 46 * Return the canonical country code for this tzid. If we have none, or if the time zone 47 * is not associated with a country, return null. 52 * Return the country code if this is a 'single' time zone that can fallback to just 53 * the country, otherwise return empty string. (Note, one must also check the locale data 54 * to see that there is a localization for the country in order to implement 57 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
|
/external/svox/pico/src/com/svox/pico/ |
GetSampleText.java | 41 String country = i.getExtras().getString("country"); local 45 if (country.equals("GBR")){
|
/frameworks/base/location/java/android/location/ |
GeocoderParams.java | 28 * language, country and variant information from the Geocoder's locale 72 String country = in.readString(); 74 gp.mLocale = new Locale(language, country, variant);
|
/packages/apps/Browser/tools/ |
get_search_engines.py | 146 def getSearchEnginesForCountry(self, country): 147 """Returns the list of search engine names for the given country. 152 # where XX = country. 153 pos = self.chrome_data.find('engines_' + country) 155 print ('Unable to find search engine data for country ' + country + '.') 200 The new file contains search engines specific to that country. If required 206 print ('Locale must be of format <language>-<country>. For e.g.' 211 country = locale[separator_pos + 1:].upper() 212 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 39 public String country; field in class:PostalSplitter.Postal 48 country = values.getAsString(StructuredPostal.COUNTRY); 58 values.put(StructuredPostal.COUNTRY, country); 87 postal.region, postal.postcode, postal.country 106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); 108 // First block: [country][ ][postcode] 120 builder.append(postal.country); 172 final boolean hasCountry = !TextUtils.isEmpty(postal.country); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 138 String country = loc.getCountry(); local 139 if (!TextUtils.isEmpty(country)) { 140 localeString += "_" + country; 147 * "ll" is the language code and "cc" is the country code. 162 String country = data.length > 4 ? new String(data, 3, 2) : ""; local 166 loc = new Locale(language, country);
|
/frameworks/base/native/android/ |
configuration.cpp | 58 outCountry[0] = config->country[0]; 59 outCountry[1] = config->country[1]; 129 void AConfiguration_setCountry(AConfiguration* config, const char* country) { 130 config->country[0] = country[0]; 131 config->country[1] = country[1];
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
Messages.java | 359 String country = locale.getCountry(); local 361 if (country.equals("TW")) 362 suffix += "_" + country;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LanguageSwitcher.java | 93 String country = mDefaultInputLocale.getCountry(); local 95 (TextUtils.isEmpty(country) ? "" : "_" + country);
|
/external/bluetooth/bluez/lib/bluetooth/ |
hidp.h | 51 uint8_t country; member in struct:hidp_connadd_req
|
/external/icu4c/common/ |
ulocimp.h | 59 char *country, int32_t countryCapacity,
|
/external/icu4c/i18n/ |
zonemeta.h | 36 * Return the canonical country code for this tzid. If we have none, or if the time zone 37 * is not associated with a country, return null. 42 * Return the country code if this is a 'single' time zone that can fallback to just 43 * the country, otherwise return empty string. (Note, one must also check the locale data 44 * to see that there is a localization for the country in order to implement 47 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
|