HomeSort by relevance Sort by last modified time
    Searched refs:CompactType (Results 1 - 10 of 10) sorted by null

  /external/icu/icu4c/source/i18n/
number_compact.h 27 CompactType compactType, UErrorCode &status);
61 CompactType compactType, const PluralRules *rules,
number_compact.cpp 27 void getResourceBundleKey(const char *nsName, CompactStyle compactStyle, CompactType compactType,
33 sb.append(compactType == CompactType::TYPE_DECIMAL ? "/decimalFormat" : "/currencyFormat", status);
61 CompactType compactType, UErrorCode &status) {
71 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey, status);
75 getResourceBundleKey("latn", compactStyle, compactType, resourceKey, status);
80 getResourceBundleKey(nsName, CompactStyle::UNUM_SHORT, compactType, resourceKey, status);
85 getResourceBundleKey("latn", CompactStyle::UNUM_SHORT, compactType, resourceKey, status)
    [all...]
number_types.h 93 enum CompactType {
number_formatimpl.cpp 335 CompactType compactType = (isCurrency && unitWidth != UNUM_UNIT_WIDTH_FULL_NAME)
336 ? CompactType::TYPE_CURRENCY : CompactType::TYPE_DECIMAL;
342 compactType,
  /external/icu/android_icu4j/src/main/java/android/icu/number/
CompactNotation.java 13 import android.icu.impl.number.CompactData.CompactType;
52 /* package-private */ MicroPropsGenerator withLocaleData(ULocale locale, String nsName, CompactType compactType,
55 return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, parent);
70 private CompactHandler(CompactNotation notation, ULocale locale, String nsName, CompactType compactType,
76 data.populate(locale, nsName, notation.compactStyle, compactType);
NumberFormatterImpl.java 6 import android.icu.impl.number.CompactData.CompactType;
271 CompactType compactType = (macros.unit instanceof Currency && macros.unitWidth != UnitWidth.FULL_NAME)
272 ? CompactType.CURRENCY
273 : CompactType.DECIMAL;
274 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, nsName, compactType, rules,
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
CompactData.java 24 public enum CompactType {
46 public void populate(ULocale locale, String nsName, CompactStyle compactStyle, CompactType compactType) {
56 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey);
59 getResourceBundleKey("latn", compactStyle, compactType, resourceKey);
63 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey);
67 getResourceBundleKey("latn", CompactStyle.SHORT, compactType, resourceKey);
78 private static void getResourceBundleKey(String nsName, CompactStyle compactStyle, CompactType compactType, StringBuilder sb) {
83 sb.append(compactType == CompactType.DECIMAL ? "/decimalFormat" : "/currencyFormat")
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
CompactData.java 20 public enum CompactType {
42 public void populate(ULocale locale, String nsName, CompactStyle compactStyle, CompactType compactType) {
52 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey);
55 getResourceBundleKey("latn", compactStyle, compactType, resourceKey);
59 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey);
63 getResourceBundleKey("latn", CompactStyle.SHORT, compactType, resourceKey);
74 private static void getResourceBundleKey(String nsName, CompactStyle compactStyle, CompactType compactType, StringBuilder sb) {
79 sb.append(compactType == CompactType.DECIMAL ? "/decimalFormat" : "/currencyFormat")
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
CompactNotation.java 12 import com.ibm.icu.impl.number.CompactData.CompactType;
51 /* package-private */ MicroPropsGenerator withLocaleData(ULocale locale, String nsName, CompactType compactType,
54 return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, parent);
69 private CompactHandler(CompactNotation notation, ULocale locale, String nsName, CompactType compactType,
75 data.populate(locale, nsName, notation.compactStyle, compactType);
NumberFormatterImpl.java 5 import com.ibm.icu.impl.number.CompactData.CompactType;
270 CompactType compactType = (macros.unit instanceof Currency && macros.unitWidth != UnitWidth.FULL_NAME)
271 ? CompactType.CURRENCY
272 : CompactType.DECIMAL;
273 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, nsName, compactType, rules,

Completed in 107 milliseconds