Home
last modified time | relevance | path

Searched refs:compactStyle (Results 1 – 16 of 16) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DCompactNotation.java40 final CompactStyle compactStyle; field in CompactNotation
54 /* package-private */ CompactNotation(CompactStyle compactStyle) { in CompactNotation() argument
56 this.compactStyle = compactStyle; in CompactNotation()
60 compactStyle = null; in CompactNotation()
93 if (notation.compactStyle != null) { in CompactHandler()
94 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DCompactNotation.java39 final CompactStyle compactStyle; field in CompactNotation
53 /* package-private */ CompactNotation(CompactStyle compactStyle) { in CompactNotation() argument
55 this.compactStyle = compactStyle; in CompactNotation()
59 compactStyle = null; in CompactNotation()
92 if (notation.compactStyle != null) { in CompactHandler()
93 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
/external/icu/icu4c/source/i18n/
Dnumber_compact.cpp28 void getResourceBundleKey(const char *nsName, CompactStyle compactStyle, CompactType compactType, in getResourceBundleKey() argument
33 … sb.append(compactStyle == CompactStyle::UNUM_SHORT ? "/patternsShort" : "/patternsLong", status); in getResourceBundleKey()
61 void CompactData::populate(const Locale &locale, const char *nsName, CompactStyle compactStyle, in populate() argument
68 bool compactIsShort = compactStyle == CompactStyle::UNUM_SHORT; in populate()
72 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey, status); in populate()
76 getResourceBundleKey("latn", compactStyle, compactType, resourceKey, status); in populate()
218 CompactHandler::CompactHandler(CompactStyle compactStyle, const Locale &locale, const char *nsName, in CompactHandler() argument
223 data.populate(locale, nsName, compactStyle, compactType, status); in CompactHandler()
Dnumber_decimfmtprops.cpp35 compactStyle.nullify(); in clear()
84 eq = eq && compactStyle == other.compactStyle; in _equals()
Dnumber_compact.h26 void populate(const Locale &locale, const char *nsName, CompactStyle compactStyle,
59 CompactHandler(CompactStyle compactStyle, const Locale &locale, const char *nsName,
Dnumber_notation.cpp54 union_.compactStyle = CompactStyle::UNUM_SHORT; in compactShort()
60 union_.compactStyle = CompactStyle::UNUM_LONG; in compactLong()
Dcompactdecimalformat.cpp33 fields->properties->compactStyle = style; in CompactDecimalFormat()
Dnumber_decimfmtprops.h96 NullableValue<UNumberCompactStyle> compactStyle;
Dnumber_mapper.cpp257 if (!properties.compactStyle.isNull()) { in oldToNew()
258 if (properties.compactStyle.getNoError() == UNumberCompactStyle::UNUM_LONG) { in oldToNew()
Dnumber_formatimpl.cpp400 macros.notation.fUnion.compactStyle, in macrosToMicroGenerator()
Dnumber_skeletons.cpp1289 UNumberCompactStyle style = macros.notation.fUnion.compactStyle; in notation()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCompactData.java48 CompactStyle compactStyle, in populate() argument
56 boolean compactIsShort = compactStyle == CompactStyle.SHORT; in populate()
60 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey); in populate()
63 getResourceBundleKey("latn", compactStyle, compactType, resourceKey); in populate()
84 CompactStyle compactStyle, in getResourceBundleKey() argument
90 sb.append(compactStyle == CompactStyle.SHORT ? "/patternsShort" : "/patternsLong"); in getResourceBundleKey()
DDecimalFormatProperties.java81 private transient CompactStyle compactStyle; field in DecimalFormatProperties
153 compactStyle = null; in _clear()
199 compactStyle = other.compactStyle; in _copyFrom()
246 eq = eq && _equalsHelper(compactStyle, other.compactStyle); in _equals()
309 hashCode ^= _hashCodeHelper(compactStyle); in _hashCode()
412 return compactStyle; in getCompactStyle()
671 public DecimalFormatProperties setCompactStyle(CompactStyle compactStyle) { in setCompactStyle() argument
672 this.compactStyle = compactStyle; in setCompactStyle()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCompactData.java53 CompactStyle compactStyle, in populate() argument
61 boolean compactIsShort = compactStyle == CompactStyle.SHORT; in populate()
65 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey); in populate()
68 getResourceBundleKey("latn", compactStyle, compactType, resourceKey); in populate()
89 CompactStyle compactStyle, in getResourceBundleKey() argument
95 sb.append(compactStyle == CompactStyle.SHORT ? "/patternsShort" : "/patternsLong"); in getResourceBundleKey()
DDecimalFormatProperties.java86 private transient CompactStyle compactStyle; field in DecimalFormatProperties
158 compactStyle = null; in _clear()
204 compactStyle = other.compactStyle; in _copyFrom()
251 eq = eq && _equalsHelper(compactStyle, other.compactStyle); in _equals()
314 hashCode ^= _hashCodeHelper(compactStyle); in _hashCode()
417 return compactStyle; in getCompactStyle()
676 public DecimalFormatProperties setCompactStyle(CompactStyle compactStyle) { in setCompactStyle() argument
677 this.compactStyle = compactStyle; in setCompactStyle()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h344 UNumberCompactStyle compactStyle; member