/external/chromium_org/third_party/icu/source/common/ |
locdispnames.cpp | 16 * Code for locale display names, separated out from other .cpp files 39 Locale::getDisplayLanguage(UnicodeString& dispLang) const 51 Locale::getDisplayLanguage(const Locale &displayLocale, 85 Locale::getDisplayScript(UnicodeString& dispScript) const 91 Locale::getDisplayScript(const Locale &displayLocale, 125 Locale::getDisplayCountry(UnicodeString& dispCntry) const 131 Locale::getDisplayCountry(const Locale &displayLocale [all...] |
resbund.cpp | 27 * Modified to load locale index out of new file distinct 64 * will be treated as distinct, even if they are for the same locale. 92 * supported. For this reason, LOCALE names override FILE names. If 104 * is to place all locale resources into default.txt, which should 114 * requested locale. Then it is done for the default locale, as 115 * returned by Locale::getDefault(). Then the special file 116 * default.txt is searched for the default locale. The overall FILE 119 * Note that although file name searching includes the default locale, 121 * no longer includes the default locale. The path is LCV -> LC -> [all...] |
/external/icu4c/common/ |
locdispnames.cpp | 16 * Code for locale display names, separated out from other .cpp files 39 Locale::getDisplayLanguage(UnicodeString& dispLang) const 51 Locale::getDisplayLanguage(const Locale &displayLocale, 85 Locale::getDisplayScript(UnicodeString& dispScript) const 91 Locale::getDisplayScript(const Locale &displayLocale, 125 Locale::getDisplayCountry(UnicodeString& dispCntry) const 131 Locale::getDisplayCountry(const Locale &displayLocale [all...] |
resbund.cpp | 27 * Modified to load locale index out of new file distinct 64 * will be treated as distinct, even if they are for the same locale. 92 * supported. For this reason, LOCALE names override FILE names. If 104 * is to place all locale resources into default.txt, which should 114 * requested locale. Then it is done for the default locale, as 115 * returned by Locale::getDefault(). Then the special file 116 * default.txt is searched for the default locale. The overall FILE 119 * Note that although file name searching includes the default locale, 121 * no longer includes the default locale. The path is LCV -> LC -> [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontFallbackWin.cpp | 58 // We don't have to worry about East Asian fonts with locale-dependent 171 // Initialize the locale-dependent mapping. 172 // Since Chrome synchronizes the ICU default locale with its UI locale, 173 // this ICU locale tells the current UI locale of Chrome. 174 icu::Locale locale = icu::Locale::getDefault(); local 176 if (locale == icu::Locale::getJapanese()) [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
tblcoll.h | 30 * Added a private RuleBasedCollator(Locale&) constructor, 100 * If specific data for a locale is not available, the orders eventually falls back 123 * @see Locale 135 * @see Locale 149 * @see Locale 164 * @see Locale 175 * @see Locale 344 * . Collator::createInstance(Locale::US, status); 448 * Gets the locale of the Collator 449 * @param type can be either requested, valid or actual locale. For mor [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
phonenumber_offline_geocoder.cc | 122 const PhoneNumber& number, const Locale& language) const { 129 const string* region_code, const Locale& language) const { 136 icu::Locale("", region_code->c_str()).getDisplayCountry( 144 const PhoneNumber& number, const Locale& language) const { 153 const PhoneNumber& number, const Locale& language, 168 const PhoneNumber& number, const Locale& locale) const { 172 return GetDescriptionForValidNumber(number, locale); 176 const PhoneNumber& number, const Locale& language,
|
/external/icu4c/i18n/unicode/ |
tblcoll.h | 30 * Added a private RuleBasedCollator(Locale&) constructor, 100 * If specific data for a locale is not available, the orders eventually falls back 123 * @see Locale 135 * @see Locale 149 * @see Locale 164 * @see Locale 175 * @see Locale 372 * Gets the locale of the Collator 373 * @param type can be either requested, valid or actual locale. For more 377 * @return locale where the collation data lives. If the collato [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 30 import java.util.Locale; 77 * @return the raw locale string for the user's preferred captioning 86 * @return the locale for the user's preferred captioning language, or null 89 public final Locale getLocale() { 95 return new Locale(splitLocale[0], splitLocale[1], splitLocale[2]); 97 return new Locale(splitLocale[0], splitLocale[1]); 99 return new Locale(splitLocale[0]); 199 final Locale locale = getLocale(); local 202 listener.onLocaleChanged(locale); [all...] |
/libcore/luni/src/main/java/java/text/ |
DateFormatSymbols.java | 25 import java.util.Locale; 70 * Locale, necessary to lazily load time zone strings. We force the time 74 transient final Locale locale; field in class:DateFormatSymbols 83 zoneStrings = TimeZoneNames.getZoneStrings(locale); 90 * symbols for the user's default locale. 91 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". 94 this(Locale.getDefault()); 99 * symbols for the specified locale [all...] |
DecimalFormatSymbols.java | 26 import java.util.Locale; 34 * {@code DecimalFormatSymbols} from its locale data. If you need to change any 38 * @see java.util.Locale 57 private transient Locale locale; field in class:DecimalFormatSymbols 62 * the user's default locale. 63 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". 69 this(Locale.getDefault()); 74 * specified Locale [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SubtypeSwitcher.java | 39 import java.util.Locale; 174 final Locale newLocale = SubtypeLocaleUtils.getSubtypeLocale(newSubtype); 175 final Locale systemLocale = mResources.getConfiguration().locale; 249 public boolean needsToDisplayLanguage(final Locale keyboardLocale) { 259 private static Locale sForcedLocaleForTesting = null; 261 void forceLocale(final Locale locale) { 262 sForcedLocaleForTesting = locale; 265 public Locale getCurrentSubtypeLocale() [all...] |
/external/chromium_org/base/i18n/ |
rtl.cc | 25 std::string GetLocaleString(const icu::Locale& locale) { 26 const char* language = locale.getLanguage(); 27 const char* country = locale.getCountry(); 28 const char* variant = locale.getVariant(); 72 // Represents the locale-specific ICU text direction. 75 // Convert the ICU default locale to a string. 77 return GetLocaleString(icu::Locale::getDefault()); 80 // Convert the ICU canonicalized locale to a string. 81 std::string GetCanonicalLocale(const char* locale) { 97 const icu::Locale& locale = icu::Locale::getDefault(); local 136 const icu::Locale& locale = icu::Locale::getDefault(); local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmapts.cpp | 32 Locale saveLocale; 33 Locale::setDefault(Locale::getEnglish(), status); 35 errln("ERROR: Could not set default locale, test may not give correct results"); 38 Locale::setDefault(saveLocale, status); 81 DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); 138 DateFormat *fr = DateFormat::createTimeInstance(DateFormat::FULL, Locale::getFrench()); 139 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); 140 DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::getGerman()); 214 const Locale *locales = DateFormat::getAvailableLocales(count) [all...] |
g7coll.cpp | 83 const Locale locales[8] = { 84 Locale("en", "US", ""), 85 Locale("en", "GB", ""), 86 Locale("en", "CA", ""), 87 Locale("fr", "FR", ""), 88 Locale("fr", "CA", ""), 89 Locale("de", "DE", ""), 90 Locale("it", "IT", ""), 91 Locale("ja", "JP", "") 114 msg += "Locale "; [all...] |
/external/icu4c/test/intltest/ |
dtfmapts.cpp | 32 Locale saveLocale; 33 Locale::setDefault(Locale::getEnglish(), status); 35 errln("ERROR: Could not set default locale, test may not give correct results"); 38 Locale::setDefault(saveLocale, status); 81 DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); 138 DateFormat *fr = DateFormat::createTimeInstance(DateFormat::FULL, Locale::getFrench()); 139 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); 140 DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::getGerman()); 214 const Locale *locales = DateFormat::getAvailableLocales(count) [all...] |
g7coll.cpp | 83 const Locale locales[8] = { 84 Locale("en", "US", ""), 85 Locale("en", "GB", ""), 86 Locale("en", "CA", ""), 87 Locale("fr", "FR", ""), 88 Locale("fr", "CA", ""), 89 Locale("de", "DE", ""), 90 Locale("it", "IT", ""), 91 Locale("ja", "JP", "") 114 msg += "Locale "; [all...] |
tufmtts.cpp | 43 Locale loc(locales[locIndex]); 50 std::cout << "locale: " << locales[locIndex] << "\n"; 161 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); 163 TimeUnitFormat tmf_fr(Locale("fr"), status); 178 tmf_en->setLocale(Locale("fr"), status); 182 Locale("fr"), status); 190 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status); 194 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), UTMUTFMT_ABBREVIATED_STYLE, status); 199 format->setLocale(Locale("zh"), status); 209 * to long unit names for a locale where the locale data does not [all...] |
/dalvik/dx/src/com/android/dx/command/annotool/ |
Main.java | 21 import java.util.Locale; 78 eTypes.add(ElementType.valueOf(p.toUpperCase(Locale.ROOT))); 89 printTypes.add(PrintType.valueOf(p.toUpperCase(Locale.ROOT)));
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 34 import java.util.Locale; 86 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); 88 this.schemeName = scheme.toLowerCase(Locale.ENGLISH);
|
/external/apache-http/src/org/apache/http/auth/ |
NTCredentials.java | 34 import java.util.Locale; 80 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), 111 this.workstation = workstation.toUpperCase(Locale.ENGLISH);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
DateTimeEditElement.h | 38 class Locale; 67 Locale& locale; member in struct:WebCore::FINAL::LayoutParameters 75 LayoutParameters(Locale& locale, const StepRange& stepRange) 76 : locale(locale)
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
MediaType.java | 19 import java.util.Locale; 53 String type = typeSubtype.group(1).toLowerCase(Locale.US); 54 String subtype = typeSubtype.group(2).toLowerCase(Locale.US);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
HttpResponseStub.java | 11 import java.util.Locale; 47 @Override public Locale getLocale() { 51 @Override public void setLocale(Locale locale) {
|
/frameworks/base/core/java/android/text/method/ |
WordIterator.java | 24 import java.util.Locale; 44 * Constructs a WordIterator using the default locale. 47 this(Locale.getDefault()); 51 * Constructs a new WordIterator for the specified locale. 52 * @param locale The locale to be used when analysing the text. 54 public WordIterator(Locale locale) { 55 mIterator = BreakIterator.getWordInstance(locale);
|