/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")){
|
/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);
|
/external/chromium/third_party/icu/public/common/unicode/ |
locid.h | 50 * according to the customs/conventions of the user's native country, 61 * const char* country, 73 * The second argument to the constructors is a valid <STRONG>ISO Country 114 * itself. Use <code>getCountry</code> to get the ISO Country Code and 117 * name of the country suitable for displaying to the user. Similarly, 122 * that takes a locale as an argument and displays the name or country in 161 * through these objects by language, country, or variant, 202 /** Useful constant for this country/region. @stable ICU 2.0 */ 204 /** Useful constant for this country/region. @stable ICU 2.0 */ 206 /** Useful constant for this country/region. @stable ICU 2.0 * 702 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/external/icu4c/common/unicode/ |
locid.h | 50 * according to the customs/conventions of the user's native country, 61 * const char* country, 73 * The second argument to the constructors is a valid <STRONG>ISO Country 114 * itself. Use <code>getCountry</code> to get the ISO Country Code and 117 * name of the country suitable for displaying to the user. Similarly, 122 * that takes a locale as an argument and displays the name or country in 161 * through these objects by language, country, or variant, 204 /** Useful constant for this country/region. @stable ICU 2.0 */ 206 /** Useful constant for this country/region. @stable ICU 2.0 */ 208 /** Useful constant for this country/region. @stable ICU 2.0 * 718 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/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);
|
/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...] |
/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/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 | 113 // parameter (%1$s) and the country code is the second (%2$s). This code *must* 121 String country = l.getCountry().toLowerCase(); local 124 if ("cn".equals(country)) { 126 } else if ("tw".equals(country)) { 130 if ("br".equals(country)) { 132 } else if ("pt".equals(country)) { 138 country);
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsSafetyLegalActivity.java | 51 final String country = configuration.locale.getCountry(); local 53 String loc = String.format("locale=%s-%s", language, country);
|
LocalePicker.java | 90 String country = s.substring(3, 5); local 91 Locale l = new Locale(language, country); 101 // same lang and a country -> upgrade to full name and
|
/external/bluetooth/bluez/lib/bluetooth/ |
hidp.h | 51 uint8_t country; member in struct:hidp_connadd_req
|
/external/wpa_supplicant_6/wpa_supplicant/ |
config.h | 309 * country - Country code 311 * This is the ISO/IEC alpha2 country code for which we are operating 314 char country[2]; member in struct:wpa_config
|
/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;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LanguageSwitcher.java | 93 String country = mDefaultInputLocale.getCountry(); local 95 (TextUtils.isEmpty(country) ? "" : "_" + country);
|
InputLanguageSelection.java | 129 String country = locale.getCountry(); local 131 + (TextUtils.isEmpty(country) ? "" : "_" + country); 175 String country = s.substring(3, 5); local 176 l = new Locale(language, country); 191 // same lang and a country -> upgrade to full name and
|
/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...] |
/development/ndk/sources/android/native_app_glue/ |
android_native_app_glue.c | 56 char lang[2], country[2]; local 58 AConfiguration_getCountry(android_app->config, country); 65 lang[0], lang[1], country[0], country[1],
|
/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/telephony/java/com/android/internal/telephony/ |
MccTable.java | 40 * 2) The ISO 3166 country codes list, available here: 336 ' iso country code 16 bits', 368 * Mobile Country Code 443 * iso country code 16 bits 495 * Given a Mobile Country Code, returns a default time zone ID 513 * Given a Mobile Country Code, returns an ISO two-character 514 * country code if available. Returns "" if unavailable. 527 * Given a GSM Mobile Country Code, returns an ISO 2-3 character 545 * Given a GSM Mobile Country Code, returns the corresponding 559 * Given a GSM Mobile Country Code, returns the number of wif 639 String country = MccTable.countryCodeForMcc(mcc); local [all...] |
/libcore/luni/src/main/java/com/ibm/icu4jni/util/ |
LocaleData.java | 116 String country = locale.getCountry(); local 121 result.overrideWithDataFrom(get(new Locale(language, country, ""))); 122 } else if (!country.isEmpty()) {
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/ |
mlmeApi.h | 114 dot11_COUNTRY_t country; member in struct:__anon18014
|
/external/bluetooth/bluez/compat/ |
sdp.c | 114 req->subclass, req->country, req->parser, desc, 132 unsigned int vendor, product, version, subclass, country, parser, pos; local 152 &vendor, &product, &version, &subclass, &country, 161 req->country = country; 276 req->country = pdlist ? pdlist->val.uint8 : 0;
|
/external/icu4c/i18n/ |
locdspnm.cpp | 361 const char* country = locale.getCountry(); local 365 UBool hasCountry = uprv_strlen(country) > 0; 372 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", script, "_", country, (char *)0); 389 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", country, (char*)0); 411 appendWithSep(resultRemainder, regionDisplayName(country, temp));
|