Home
last modified time | relevance | path

Searched refs:displayLocale (Results 1 – 5 of 5) sorted by relevance

/base/global/i18n/frameworks/intl/src/
Dphone_number_format.cpp127 icu::Locale displayLocale = icu::Locale::createFromName(locale.c_str()); in getLocationName() local
128 displayLocale.addLikelySubtags(status); in getLocationName()
130 builder.setLanguage(displayLocale.getLanguage()); in getLocationName()
131 builder.setScript(displayLocale.getScript()); in getLocationName()
147 regionLocale.getDisplayCountry(displayLocale, displayRegion); in getLocationName()
153 if (getBlockedRegionName(regionCode, displayLocale.getLanguage())) { in getLocationName()
169 const std::string& displayLocale, const std::string& regionCode) in getPhoneLocationName() argument
188 locName = LocaleConfig::GetDisplayRegion(regionCode, displayLocale, false); in getPhoneLocationName()
Dlocale_config.cpp240 icu::Locale displayLocale = icu::Locale::forLanguageTag(displayLocaleTag.c_str(), status); in GetDisplayLanguageInner() local
244 icu::LocaleDisplayNames *dspNames = icu::LocaleDisplayNames::createInstance(displayLocale, in GetDisplayLanguageInner()
637 string LocaleConfig::GetDisplayLanguage(const string &language, const string &displayLocale, bool s… in GetDisplayLanguage() argument
642 icu::Locale displayLoc = icu::Locale::forLanguageTag(displayLocale, status); in GetDisplayLanguage()
654 result = GetDsiplayLanguageWithDialect(language, displayLocale); in GetDisplayLanguage()
665 … return PseudoLocalizationProcessor(GetDisplayLanguageInner(adjust, displayLocale, sentenceCase)); in GetDisplayLanguage()
668 std::string LocaleConfig::ComputeLocale(const std::string &displayLocale) in ComputeLocale() argument
705 LocaleInfo localeinfo(displayLocale, configs); in ComputeLocale()
831 …nfig::GetDsiplayLanguageWithDialect(const std::string &localeStr, const std::string &displayLocale) in GetDsiplayLanguageWithDialect() argument
833 std::string finalLocale = ComputeLocale(displayLocale); in GetDsiplayLanguageWithDialect()
[all …]
Di18n_calendar.cpp298 icu::Locale displayLocale = icu::Locale::forLanguageTag(displayLocaleTag, status); in GetDisplayName() local
302 icu::LocaleDisplayNames *dspName = icu::LocaleDisplayNames::createInstance(displayLocale); in GetDisplayName()
/base/global/i18n/frameworks/intl/include/
Dlocale_config.h88 …tatic std::string GetDisplayLanguage(const std::string &language, const std::string &displayLocale,
90 static std::string GetDisplayRegion(const std::string &region, const std::string &displayLocale,
163 …tring GetDsiplayLanguageWithDialect(const std::string &language, const std::string &displayLocale);
164 … std::string GetDisplayOverrideRegion(const std::string &region, const std::string &displayLocale);
165 static std::string ComputeLocale(const std::string &displayLocale);
Dphone_number_format.h44 const std::string& displayLocale, const std::string& regionCode);