HomeSort by relevance Sort by last modified time
    Searched refs:displayLocale (Results 1 - 25 of 40) sorted by null

1 2

  /external/icu/icu4c/source/common/
locdispnames.cpp 51 Locale::getDisplayLanguage(const Locale &displayLocale,
63 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName,
75 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName,
91 Locale::getDisplayScript(const Locale &displayLocale,
103 length=uloc_getDisplayScript(fullName, displayLocale.fullName,
115 length=uloc_getDisplayScript(fullName, displayLocale.fullName,
131 Locale::getDisplayCountry(const Locale &displayLocale,
143 length=uloc_getDisplayCountry(fullName, displayLocale.fullName,
155 length=uloc_getDisplayCountry(fullName, displayLocale.fullName,
171 Locale::getDisplayVariant(const Locale &displayLocale,
    [all...]
ucnvdisp.c 35 const char *displayLocale,
54 rb=ures_open(NULL, displayLocale, pErrorCode);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
TestLocaleNamePackaging.java 88 for (ULocale displayLocale : locales) {
89 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
92 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result);
153 for (ULocale displayLocale : locales) {
154 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
157 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result);
197 for (ULocale displayLocale : locales) {
198 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
200 assertEquals(kl + " in " + displayLocale, expected[n++], result);
  /external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
TestLocaleNamePackaging.java 84 for (ULocale displayLocale : locales) {
85 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
88 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result);
149 for (ULocale displayLocale : locales) {
150 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
153 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result);
193 for (ULocale displayLocale : locales) {
194 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale);
196 assertEquals(kl + " in " + displayLocale, expected[n++], result);
  /frameworks/base/core/java/com/android/internal/app/
LocaleHelper.java 108 * @param displayLocale the locale in which to display the name.
112 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) {
113 final ULocale displayULocale = ULocale.forLocale(displayLocale);
117 return sentenceCase ? toSentenceCase(result, displayLocale) : result;
135 * @param displayLocale the locale in which to display the name.
138 public static String getDisplayCountry(Locale locale, Locale displayLocale) {
139 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.forLocale(displayLocale));
156 * @param displayLocale the locale in which to display the names.
162 LocaleList locales, Locale displayLocale, @IntRange(from=1) int maxLocales) {
164 final Locale dispLocale = displayLocale == null ? Locale.getDefault() : displayLocale
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
SubtypeLocaleUtils.java 185 final Locale displayLocale = sResources.getConfiguration().locale;
186 return getSubtypeLocaleDisplayNameInternal(localeString, displayLocale);
191 final Locale displayLocale = getDisplayLocaleOfSubtypeLocale(localeString);
192 return getSubtypeLocaleDisplayNameInternal(localeString, displayLocale);
197 final Locale displayLocale = getDisplayLocaleOfSubtypeLocale(localeString);
204 return getSubtypeLocaleDisplayNameInternal(languageString, displayLocale);
209 @Nonnull final Locale displayLocale) {
215 if (displayLocale.equals(Locale.ROOT)
232 displayName = getExceptionalName.runInLocale(sResources, displayLocale);
235 .getDisplayName(displayLocale);
    [all...]
  /external/icu/icu4c/source/common/unicode/
locid.h 175 * const Locale& displayLocale,
524 * user display in the locale specified by "displayLocale". For example, if the locale's
525 * language code is "en" and displayLocale's language code is "fr", this function would set
527 * @param displayLocale Specifies the locale to be used to display the name. In other words,
529 * displayLocale would result in "Anglais", while passing Locale::getGerman()
530 * for displayLocale would result in "Englisch".
535 UnicodeString& getDisplayLanguage( const Locale& displayLocale,
551 * for user display in the locale specified by "displayLocale". For example, if the locale's
552 * script code is "LATN" and displayLocale's language code is "en", this function would set
554 * @param displayLocale Specifies the locale to be used to display the name. In othe
    [all...]
uloc.h 547 * @param displayLocale Specifies the locale to be used to display the name. In other words,
561 const char* displayLocale,
570 * @param displayLocale Specifies the locale to be used to display the name. In other words,
584 const char* displayLocale,
593 * @param displayLocale Specifies the locale to be used to display the name. In other words,
607 const char* displayLocale,
617 * @param displayLocale Specifies the locale to be used to display the name. In other words,
631 const char* displayLocale,
662 * @param displayLocale Specifies the locale to be used to display the name. In other words,
678 const char* displayLocale,
    [all...]
brkiter.h 467 * @param displayLocale specifies the desired locale for output.
474 const Locale& displayLocale,
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
CurrencyDemo.java 34 Locale displayLocale,
38 NumberFormat result = NumberFormat.getCurrencyInstance(displayLocale);
44 DecimalFormat result = (DecimalFormat)NumberFormat.getCurrencyInstance(displayLocale);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
ULocale.java     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CollatorServiceShim.java 74 public String getDisplayName(String id, ULocale displayLocale) {
76 return delegate.getDisplayName(objectLocale, displayLocale);
114 String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
116 return service.getDisplayName(id, displayLocale);
Collator.java 498 * Return the name of the collator for the objectLocale, localized for the displayLocale.
501 * @param displayLocale the locale for which the display name of the collator should be localized
504 public String getDisplayName(Locale objectLocale, Locale displayLocale) {
505 return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale));
509 * Return the name of the collator for the objectLocale, localized for the displayLocale.
512 * @param displayLocale the locale for which the display name of the collator should be localized
515 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
520 return objectLocale.getDisplayName(displayLocale);
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
CollatorServiceShim.java 73 public String getDisplayName(String id, ULocale displayLocale) {
75 return delegate.getDisplayName(objectLocale, displayLocale);
113 String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
115 return service.getDisplayName(id, displayLocale);
Collator.java 524 * Return the name of the collator for the objectLocale, localized for the displayLocale.
527 * @param displayLocale the locale for which the display name of the collator should be localized
531 public String getDisplayName(Locale objectLocale, Locale displayLocale) {
532 return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale));
536 * Return the name of the collator for the objectLocale, localized for the displayLocale.
539 * @param displayLocale the locale for which the display name of the collator should be localized
543 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
548 return objectLocale.getDisplayName(displayLocale);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
ULocale.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
ULocale.java     [all...]
  /external/icu/icu4c/source/test/cintltst/
cloctst.c 729 static const char *displayLocale="ja";
736 int32_t preflightLen=uloc_getDisplayName(locale, displayLocale, NULL, 0, &ec);
741 len=uloc_getDisplayName(locale, displayLocale, result, UPRV_LENGTHOF(result), &ec);
744 locale, displayLocale, u_errorName(ec));
751 locale, displayLocale, len, expectedLen);
754 locale, displayLocale, preflightLen, expectedLen);
760 log_err("uloc_getDisplayName(%s, %s...) mismatch", locale, displayLocale);
763 locale, displayLocale, resultChars, expectedChars);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationServiceTest.java 141 String getDisplayName(ULocale displayLocale) {
144 name = (String)displayNames.get(displayLocale);
147 name = locale.getDisplayName(displayLocale);
173 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
176 return ci.getDisplayName(displayLocale);
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationServiceTest.java 137 String getDisplayName(ULocale displayLocale) {
140 name = (String)displayNames.get(displayLocale);
143 name = locale.getDisplayName(displayLocale);
169 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
172 return ci.getDisplayName(displayLocale);
  /external/icu/icu4c/source/test/intltest/
svccoll.cpp 222 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
239 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const {
241 UnicodeString* val = (UnicodeString*)displayNames->get(displayLocale.getName());
248 return locale.getDisplayName(displayLocale, name);
295 const Locale& displayLocale,
300 ci->getDisplayName(displayLocale, result);
locnmtst.cpp 270 const char * displayLocale;
342 for (ctxtItemPtr = ctxtItems; ctxtItemPtr->displayLocale != NULL; ctxtItemPtr++) {
345 ULocaleDisplayNames * uldn = uldn_openForContext(ctxtItemPtr->displayLocale, contexts, 3, &status);
347 errln(UnicodeString("FAIL: uldn_openForContext failed for locale ") + ctxtItemPtr->displayLocale +
  /external/icu/icu4c/source/i18n/unicode/
coll.h 672 * @param displayLocale specifies the desired locale for output
679 const Locale& displayLocale,
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodSubtype.java 500 * @param displayLocale {@link Locale} to be used to display {@code localeToDisplay}
501 * @param localeToDisplay {@link Locale} to be displayed in {@code displayLocale}
503 * {@code displayLocale}
508 @Nullable Locale displayLocale, @Nullable Locale localeToDisplay,
514 displayLocale != null ? displayLocale : Locale.getDefault();
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputMethodSubtypeTests.java 182 final Locale displayLocale = SubtypeLocaleUtils.getDisplayLocaleOfSubtypeLocale(
184 if (Locale.ROOT.equals(displayLocale)) {

Completed in 1486 milliseconds

1 2