Searched refs:nameStyle (Results 1 - 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
H A DCustomSymbolCurrency.java47 public String getName(ULocale locale, int nameStyle, boolean[] isChoiceFormat) { argument
48 if (nameStyle == SYMBOL_NAME) {
51 return super.getName(locale, nameStyle, isChoiceFormat);
56 ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) {
57 if (nameStyle == PLURAL_LONG_NAME && subType.equals("XXX")) {
61 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat);
55 getName( ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DCustomSymbolCurrency.java43 public String getName(ULocale locale, int nameStyle, boolean[] isChoiceFormat) { argument
44 if (nameStyle == SYMBOL_NAME) {
47 return super.getName(locale, nameStyle, isChoiceFormat);
52 ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) {
53 if (nameStyle == PLURAL_LONG_NAME && subType.equals("XXX")) {
57 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat);
51 getName( ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) argument
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DCurrency.java538 int nameStyle,
540 return getName(ULocale.forLocale(locale), nameStyle, isChoiceFormat);
548 * @param nameStyle selector for which kind of name to return.
549 * The nameStyle should be either SYMBOL_NAME or
561 * @throws IllegalArgumentException if the nameStyle is not SYMBOL_NAME
565 public String getName(ULocale locale, int nameStyle, boolean[] isChoiceFormat) { argument
573 switch (nameStyle) {
587 throw new IllegalArgumentException("bad name style: " + nameStyle);
595 public String getName(Locale locale, int nameStyle, String pluralCount, argument
597 return getName(ULocale.forLocale(locale), nameStyle, pluralCoun
537 getName(Locale locale, int nameStyle, boolean[] isChoiceFormat) argument
623 getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrency.java560 int nameStyle,
562 return getName(ULocale.forLocale(locale), nameStyle, isChoiceFormat);
570 * @param nameStyle selector for which kind of name to return.
571 * The nameStyle should be either SYMBOL_NAME or
583 * @throws IllegalArgumentException if the nameStyle is not SYMBOL_NAME
588 public String getName(ULocale locale, int nameStyle, boolean[] isChoiceFormat) { argument
596 switch (nameStyle) {
610 throw new IllegalArgumentException("bad name style: " + nameStyle);
619 public String getName(Locale locale, int nameStyle, String pluralCount, argument
621 return getName(ULocale.forLocale(locale), nameStyle, pluralCoun
559 getName(Locale locale, int nameStyle, boolean[] isChoiceFormat) argument
648 getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Ducurr.h150 * @param nameStyle selector for which kind of name to return
164 UCurrNameStyle nameStyle,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DCurrencyTest.java213 int nameStyle = Currency.LONG_NAME;
216 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat);
218 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DCurrencyTest.java210 int nameStyle = Currency.LONG_NAME;
213 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat);
215 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat);
/external/icu/icu4c/source/common/
H A Ducurr.cpp680 UCurrNameStyle nameStyle,
700 int32_t choice = (int32_t) nameStyle;
678 ucurr_getName(const UChar* currency, const char* locale, UCurrNameStyle nameStyle, UBool* isChoiceFormat, int32_t* len, UErrorCode* ec) argument

Completed in 1089 milliseconds