Home
last modified time | relevance | path

Searched refs:CompactDecimalFormat (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp19 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CompactDecimalFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
22 CompactDecimalFormat* in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
23 CompactDecimalFormat::createInstance(const Locale& inLocale, UNumberCompactStyle style, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 return new CompactDecimalFormat(inLocale, style, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 CompactDecimalFormat::CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, in CompactDecimalFormat() function in CompactDecimalFormat
39 CompactDecimalFormat::CompactDecimalFormat(const CompactDecimalFormat& source) = default;
41 CompactDecimalFormat::~CompactDecimalFormat() = default;
43 CompactDecimalFormat& CompactDecimalFormat::operator=(const CompactDecimalFormat& rhs) { in operator =()
48 Format* CompactDecimalFormat::clone() const { in clone()
49 return new CompactDecimalFormat(*this); in clone()
[all …]
Dunum.cpp122 retVal = CompactDecimalFormat::createInstance(Locale(locale), UNUM_SHORT, *status); in unum_open()
126 retVal = CompactDecimalFormat::createInstance(Locale(locale), UNUM_LONG, *status); in unum_open()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DCompactDecimalFormatTest.java34 import android.icu.text.CompactDecimalFormat;
35 import android.icu.text.CompactDecimalFormat.CompactStyle;
370 CompactDecimalFormat cdf = in TestDefaultSignificantDigits()
371 CompactDecimalFormat.getInstance(ULocale.ENGLISH, CompactStyle.SHORT); in TestDefaultSignificantDigits()
380 CompactDecimalFormat cdf = in TestCharacterIterator()
399 CompactDecimalFormat.getInstance(new Locale("ar-EG"), CompactStyle.LONG); in TestArabicLongStyle()
465 CompactDecimalFormat cdf = getCDFInstance( in TestFieldPosition()
477 CompactDecimalFormat cdf = CompactDecimalFormat.getInstance( in TestEquals()
479 CompactDecimalFormat equalsCdf = CompactDecimalFormat.getInstance( in TestEquals()
481 CompactDecimalFormat notEqualsCdf = CompactDecimalFormat.getInstance( in TestEquals()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java33 import com.ibm.icu.text.CompactDecimalFormat;
34 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
367 CompactDecimalFormat cdf = in TestDefaultSignificantDigits()
368 CompactDecimalFormat.getInstance(ULocale.ENGLISH, CompactStyle.SHORT); in TestDefaultSignificantDigits()
377 CompactDecimalFormat cdf = in TestCharacterIterator()
396 CompactDecimalFormat.getInstance(new Locale("ar-EG"), CompactStyle.LONG); in TestArabicLongStyle()
462 CompactDecimalFormat cdf = getCDFInstance( in TestFieldPosition()
474 CompactDecimalFormat cdf = CompactDecimalFormat.getInstance( in TestEquals()
476 CompactDecimalFormat equalsCdf = CompactDecimalFormat.getInstance( in TestEquals()
478 CompactDecimalFormat notEqualsCdf = CompactDecimalFormat.getInstance( in TestEquals()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dcompactdecimalformat.h60 class U_I18N_API CompactDecimalFormat : public DecimalFormat {
73 static CompactDecimalFormat* U_EXPORT2 createInstance(
82 CompactDecimalFormat(const CompactDecimalFormat& source);
88 ~CompactDecimalFormat() U_OVERRIDE;
96 CompactDecimalFormat& operator=(const CompactDecimalFormat& rhs);
183 CompactDecimalFormat(const Locale& inLocale, UNumberCompactStyle style, UErrorCode& status);
Ddecimfmt.h49 class CompactDecimalFormat; variable
2163 friend class CompactDecimalFormat; variable
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCompactDecimalFormat.java51 public class CompactDecimalFormat extends DecimalFormat { class
76 public static CompactDecimalFormat getInstance(ULocale locale, CompactStyle style) { in getInstance()
77 return new CompactDecimalFormat(locale, style); in getInstance()
87 public static CompactDecimalFormat getInstance(Locale locale, CompactStyle style) { in getInstance()
88 return new CompactDecimalFormat(ULocale.forLocale(locale), style); in getInstance()
97 CompactDecimalFormat(ULocale locale, CompactStyle style) { in CompactDecimalFormat() method in CompactDecimalFormat
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCompactDecimalFormat.java57 public class CompactDecimalFormat extends DecimalFormat { class
92 public static CompactDecimalFormat getInstance(ULocale locale, CompactStyle style) { in getInstance()
93 return new CompactDecimalFormat(locale, style); in getInstance()
107 public static CompactDecimalFormat getInstance(Locale locale, CompactStyle style) { in getInstance()
108 return new CompactDecimalFormat(ULocale.forLocale(locale), style); in getInstance()
117 CompactDecimalFormat(ULocale locale, CompactStyle style) { in CompactDecimalFormat() method in CompactDecimalFormat
/external/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp254 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
256CompactDecimalFormat* createCDFInstance(const Locale& locale, UNumberCompactStyle style, UErrorCod…
328 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition()
365 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits()
381 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants()
487 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance(locale, UNUM_SHORT, st… in TestBug12975()
504 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale()
521 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency()
536 … const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { in CheckExpectedResult()
548 CompactDecimalFormat*
[all …]
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DCompactDecimalFormat.java.patch1 --- android_icu4j/src/main/java/android/icu/text/CompactDecimalFormat.java 2018-08-21 18:04:13.9506…
2 +++ android_icu4j/src/main/java/android/icu/text/CompactDecimalFormat.java 2018-08-21 18:03:41.7904…
10 - * class, CompactDecimalFormat, is provided for backwards compatibility only.
13 * The CompactDecimalFormat produces abbreviated numbers, suitable for display in environments will
23 * Creates a CompactDecimalFormat appropriate for a locale. The result may be affected by the
33 * Creates a CompactDecimalFormat appropriate for a locale. The result may be affected by the
/external/cldr/tools/java/org/unicode/cldr/test/
DBuildIcuCompactDecimalFormat.java17 import com.ibm.icu.text.CompactDecimalFormat;
18 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
41 public static final CompactDecimalFormat build(CLDRFile resolvedCldrFile, in build()
255 CompactDecimalFormat cdf = CompactDecimalFormat.getInstance(locale, style); in build()
/external/cldr/tools/java/org/unicode/cldr/util/
DVerifyCompactNumbers.java25 import com.ibm.icu.text.CompactDecimalFormat;
26 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
162CompactDecimalFormat cdf = BuildIcuCompactDecimalFormat.build(cldrFile, debugCreationErrors, in showNumbers()
165CompactDecimalFormat cdfs = BuildIcuCompactDecimalFormat.build(cldrFile, debugCreationErrors, in showNumbers()
169CompactDecimalFormat cdfCurr = BuildIcuCompactDecimalFormat.build(cldrFile, debugCreationErrors, in showNumbers()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNotation.java7 import android.icu.text.CompactDecimalFormat.CompactStyle;
DCompactNotation.java22 import android.icu.text.CompactDecimalFormat.CompactStyle;
DNumberPropertyMapper.java24 import android.icu.text.CompactDecimalFormat.CompactStyle;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNotation.java6 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
DCompactNotation.java21 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
DNumberPropertyMapper.java23 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCoverageLevel.java49 import com.ibm.icu.text.CompactDecimalFormat;
50 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
231 static CompactDecimalFormat cdf = CompactDecimalFormat.getInstance(
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCompactData.java13 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCompactData.java14 import android.icu.text.CompactDecimalFormat.CompactStyle;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java36 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java37 import android.icu.text.CompactDecimalFormat.CompactStyle;
/external/icu/icu4j/
Dcoverage-exclusion.txt459CompactDecimalFormat#apply:(Lcom/ibm/icu/impl/number/FormatQuantity;Lcom/ibm/icu/impl/number/Modif…
460 com/ibm/icu/impl/number/formatters/CompactDecimalFormat#before:(Lcom/ibm/icu/impl/number/FormatQuan…
461 …number/formatters/CompactDecimalFormat$CompactType#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/n…
462 …icu/impl/number/formatters/CompactDecimalFormat$CompactType#values:()[Lcom/ibm/icu/impl/number/for…
761 com/ibm/icu/text/CompactDecimalFormat#format:(Lcom/ibm/icu/math/BigDecimal;Ljava/lang/StringBuffer;…
762 com/ibm/icu/text/CompactDecimalFormat#parseCurrency:(Ljava/lang/CharSequence;Ljava/text/ParsePositi…
763 com/ibm/icu/text/CompactDecimalFormat$CompactStyle#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/Co…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java25 import android.icu.text.CompactDecimalFormat;
1766 return new CompactDecimalFormat[0]; in getTestObjects()

12