Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dlocdispnames.cpp53 Locale::getDisplayLanguage(const Locale &displayLocale, in getDisplayLanguage() argument
65 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
77 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
93 Locale::getDisplayScript(const Locale &displayLocale, in getDisplayScript() argument
105 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
117 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
133 Locale::getDisplayCountry(const Locale &displayLocale, in getDisplayCountry() argument
145 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
157 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
173 Locale::getDisplayVariant(const Locale &displayLocale, in getDisplayVariant() argument
[all …]
Ducnvdisp.cpp37 const char *displayLocale, in ucnv_getDisplayName() argument
56 rb=ures_open(NULL, displayLocale, pErrorCode); in ucnv_getDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestLocaleNamePackaging.java90 for (ULocale displayLocale : locales) { in testRegionDisplayNames()
91 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testRegionDisplayNames()
94 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
156 for (ULocale displayLocale : locales) { in testLanguageDisplayNames()
157 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLanguageDisplayNames()
160 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
201 for (ULocale displayLocale : locales) { in testLocaleDisplayNameWithKeywords()
202 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLocaleDisplayNameWithKeywords()
204 assertEquals(kl + " in " + displayLocale, expected[n++], result); in testLocaleDisplayNameWithKeywords()
/external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java87 for (ULocale displayLocale : locales) { in testRegionDisplayNames()
88 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testRegionDisplayNames()
91 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
153 for (ULocale displayLocale : locales) { in testLanguageDisplayNames()
154 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLanguageDisplayNames()
157 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
198 for (ULocale displayLocale : locales) { in testLocaleDisplayNameWithKeywords()
199 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLocaleDisplayNameWithKeywords()
201 assertEquals(kl + " in " + displayLocale, expected[n++], result); in testLocaleDisplayNameWithKeywords()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java47 public SimpleFormatter(ULocale displayLocale) { in SimpleFormatter() argument
48 this.ldn = LocaleDisplayNames.getInstance(displayLocale); in SimpleFormatter()
537 public String getDisplayName(NameFormatter displayLocale) {
538 if (displayLocale == null) displayLocale = getDefaultFormatter();
539 return displayLocale.getDisplayName(this);
570 public String getDisplayName(ULocale displayLocale) {
571 return getSimpleFormatterFor(displayLocale).getDisplayName(this);
589 public String getDisplayCountry(NameFormatter displayLocale) {
590 if (displayLocale == null) displayLocale = getDefaultFormatter();
591 return displayLocale.getDisplayCountry(this);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java1325 public String getDisplayLanguage(ULocale displayLocale) { in getDisplayLanguage() argument
1326 return getDisplayLanguageInternal(this, displayLocale, false); in getDisplayLanguage()
1348 public static String getDisplayLanguage(String localeID, ULocale displayLocale) { in getDisplayLanguage() argument
1349 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, false); in getDisplayLanguage()
1367 public String getDisplayLanguageWithDialect(ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1368 return getDisplayLanguageInternal(this, displayLocale, true); in getDisplayLanguageWithDialect()
1392 public static String getDisplayLanguageWithDialect(String localeID, ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1393 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, true); in getDisplayLanguageWithDialect()
1396 private static String getDisplayLanguageInternal(ULocale locale, ULocale displayLocale, in getDisplayLanguageInternal() argument
1399 return LocaleDisplayNames.getInstance(displayLocale).languageDisplayName(lang); in getDisplayLanguageInternal()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1408 public String getDisplayLanguage(ULocale displayLocale) { in getDisplayLanguage() argument
1409 return getDisplayLanguageInternal(this, displayLocale, false); in getDisplayLanguage()
1433 public static String getDisplayLanguage(String localeID, ULocale displayLocale) { in getDisplayLanguage() argument
1434 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, false); in getDisplayLanguage()
1454 public String getDisplayLanguageWithDialect(ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1455 return getDisplayLanguageInternal(this, displayLocale, true); in getDisplayLanguageWithDialect()
1481 public static String getDisplayLanguageWithDialect(String localeID, ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1482 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, true); in getDisplayLanguageWithDialect()
1485 private static String getDisplayLanguageInternal(ULocale locale, ULocale displayLocale, in getDisplayLanguageInternal() argument
1488 return LocaleDisplayNames.getInstance(displayLocale).languageDisplayName(lang); in getDisplayLanguageInternal()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java1218 public String getDisplayLanguage(ULocale displayLocale) { in getDisplayLanguage() argument
1219 return getDisplayLanguageInternal(this, displayLocale, false); in getDisplayLanguage()
1243 public static String getDisplayLanguage(String localeID, ULocale displayLocale) { in getDisplayLanguage() argument
1244 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, false); in getDisplayLanguage()
1264 public String getDisplayLanguageWithDialect(ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1265 return getDisplayLanguageInternal(this, displayLocale, true); in getDisplayLanguageWithDialect()
1291 public static String getDisplayLanguageWithDialect(String localeID, ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1292 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, true); in getDisplayLanguageWithDialect()
1295 private static String getDisplayLanguageInternal(ULocale locale, ULocale displayLocale, in getDisplayLanguageInternal() argument
1299 return locale.toLocale().getDisplayLanguage(displayLocale.toLocale()); in getDisplayLanguageInternal()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c739 static const char *displayLocale="ja"; in TestDisplayNames() local
746 int32_t preflightLen=uloc_getDisplayName(locale, displayLocale, NULL, 0, &ec); in TestDisplayNames()
751 len=uloc_getDisplayName(locale, displayLocale, result, UPRV_LENGTHOF(result), &ec); in TestDisplayNames()
754 locale, displayLocale, u_errorName(ec)); in TestDisplayNames()
761 locale, displayLocale, len, expectedLen); in TestDisplayNames()
764 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
770 log_err("uloc_getDisplayName(%s, %s...) mismatch", locale, displayLocale); in TestDisplayNames()
773 locale, displayLocale, resultChars, expectedChars); in TestDisplayNames()
780 len=uloc_getDisplayName(locale, displayLocale, result, i, &ec); in TestDisplayNames()
874 static void doTestDisplayNames(const char* displayLocale, int32_t compareIndex) in doTestDisplayNames() argument
[all …]
/external/icu/icu4c/source/common/unicode/
Duloc.h570 const char* displayLocale,
593 const char* displayLocale,
618 const char* displayLocale,
642 const char* displayLocale,
689 const char* displayLocale,
716 const char* displayLocale,
Dlocid.h837 UnicodeString& getDisplayLanguage( const Locale& displayLocale,
865 UnicodeString& getDisplayScript( const Locale& displayLocale,
893 UnicodeString& getDisplayCountry( const Locale& displayLocale,
913 UnicodeString& getDisplayVariant( const Locale& displayLocale,
941 UnicodeString& getDisplayName( const Locale& displayLocale,
/external/icu/libandroidicu/include/unicode/
Duloc.h570 const char* displayLocale,
593 const char* displayLocale,
618 const char* displayLocale,
642 const char* displayLocale,
689 const char* displayLocale,
716 const char* displayLocale,
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollatorServiceShim.java81 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() argument
83 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
126 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
128 return service.getDisplayName(id, displayLocale); in getDisplayName()
DCollator.java550 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
551 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
562 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
567 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
1102 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
1104 ULocale.forLocale(displayLocale)); in getDisplayName()
1115 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
1116 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollatorServiceShim.java82 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() argument
84 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
127 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
129 return service.getDisplayName(id, displayLocale); in getDisplayName()
DCollator.java523 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
524 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
534 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
539 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
1060 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
1062 ULocale.forLocale(displayLocale)); in getDisplayName()
1072 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
1073 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java36 Locale displayLocale, in getCurrencyFormat() argument
40 NumberFormat result = NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
46 DecimalFormat result = (DecimalFormat)NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationServiceTest.java145 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() argument
148 name = (String)displayNames.get(displayLocale); in TestRegisterFactory()
151 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
179 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() argument
182 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java142 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() argument
145 name = (String)displayNames.get(displayLocale); in TestRegisterFactory()
148 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
176 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() argument
179 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp225 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
242 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const { in getDisplayName() argument
244 UnicodeString* val = (UnicodeString*)displayNames->get(displayLocale.getName()); in getDisplayName()
251 return locale.getDisplayName(displayLocale, name); in getDisplayName()
298 const Locale& displayLocale, in getDisplayName() argument
303 ci->getDisplayName(displayLocale, result); in getDisplayName()
Dlocnmtst.cpp284 const char * displayLocale; member
372 for (ctxtItemPtr = ctxtItems; ctxtItemPtr->displayLocale != NULL; ctxtItemPtr++) { in TestUldnDisplayContext()
375 …ULocaleDisplayNames * uldn = uldn_openForContext(ctxtItemPtr->displayLocale, contexts, 3, &status); in TestUldnDisplayContext()
377 … errln(UnicodeString("FAIL: uldn_openForContext failed for locale ") + ctxtItemPtr->displayLocale + in TestUldnDisplayContext()
Dloctest.cpp756 void LocaleTest::doTestDisplayNames(Locale& displayLocale, int32_t compareIndex) { in doTestDisplayNames() argument
775 testLocale.getDisplayLanguage(displayLocale, testLang); in doTestDisplayNames()
776 testLocale.getDisplayScript(displayLocale, testScript); in doTestDisplayNames()
777 testLocale.getDisplayCountry(displayLocale, testCtry); in doTestDisplayNames()
778 testLocale.getDisplayVariant(displayLocale, testVar); in doTestDisplayNames()
779 testLocale.getDisplayName(displayLocale, testName); in doTestDisplayNames()
808 …dataerrln("Display language (" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString… in doTestDisplayNames()
810 …dataerrln("Display script (" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(t… in doTestDisplayNames()
812 …dataerrln("Display country (" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(… in doTestDisplayNames()
814 …dataerrln("Display variant (" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(… in doTestDisplayNames()
[all …]
/external/icu/icu4c/source/i18n/
Dcoll.cpp119 const Locale& displayLocale, in getDisplayName() argument
122 return objectLocale.getDisplayName(displayLocale, result); in getDisplayName()
577 const Locale& displayLocale, in getDisplayName() argument
584 return gService->getDisplayName(locNameStr, name, displayLocale); in getDisplayName()
587 return objectLocale.getDisplayName(displayLocale, name); in getDisplayName()
/external/icu/icu4c/source/i18n/unicode/
Dcoll.h684 const Locale& displayLocale,
1252 const Locale& displayLocale,
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java333 final Locale displayLocale = calendarPanel.getDisplayLocale(); in updateMonthName() local
335 getInstance(displayLocale).getBestPattern("MMMMy"); in updateMonthName()
337 displayLocale); in updateMonthName()

12