/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 35 import android.icu.text.CompactDecimalFormat.CompactStyle; 371 CompactDecimalFormat.getInstance(ULocale.ENGLISH, CompactStyle.SHORT); in TestDefaultSignificantDigits() 381 getCDFInstance(ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestCharacterIterator() 393 checkLocale(ULocale.ENGLISH, CompactStyle.SHORT, EnglishTestData); in TestEnglishShort() 399 CompactDecimalFormat.getInstance(new Locale("ar-EG"), CompactStyle.LONG); in TestArabicLongStyle() 405 checkLocale(ULocale.forLanguageTag("cs"), CompactStyle.SHORT, CsTestDataShort); in TestCsShort() 410 checkLocale(ULocale.forLanguageTag("sk"), CompactStyle.LONG, SkTestDataLong); in TestSkLong() 415 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.SHORT, SerbianTestDataShort); in TestSerbianShort() 420 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLong); in TestSerbianLong() 425 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLongNegative); in TestSerbianLongNegative() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 34 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 368 CompactDecimalFormat.getInstance(ULocale.ENGLISH, CompactStyle.SHORT); in TestDefaultSignificantDigits() 378 getCDFInstance(ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestCharacterIterator() 390 checkLocale(ULocale.ENGLISH, CompactStyle.SHORT, EnglishTestData); in TestEnglishShort() 396 CompactDecimalFormat.getInstance(new Locale("ar-EG"), CompactStyle.LONG); in TestArabicLongStyle() 402 checkLocale(ULocale.forLanguageTag("cs"), CompactStyle.SHORT, CsTestDataShort); in TestCsShort() 407 checkLocale(ULocale.forLanguageTag("sk"), CompactStyle.LONG, SkTestDataLong); in TestSkLong() 412 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.SHORT, SerbianTestDataShort); in TestSerbianShort() 417 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLong); in TestSerbianLong() 422 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLongNegative); in TestSerbianLongNegative() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CompactDecimalFormat.java | 58 public enum CompactStyle { enum in CompactDecimalFormat 76 public static CompactDecimalFormat getInstance(ULocale locale, CompactStyle style) { in getInstance() 87 public static CompactDecimalFormat getInstance(Locale locale, CompactStyle style) { in getInstance() 97 CompactDecimalFormat(ULocale locale, CompactStyle style) { in CompactDecimalFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CompactDecimalFormat.java | 66 public enum CompactStyle { enum in CompactDecimalFormat 92 public static CompactDecimalFormat getInstance(ULocale locale, CompactStyle style) { in getInstance() 107 public static CompactDecimalFormat getInstance(Locale locale, CompactStyle style) { in getInstance() 117 CompactDecimalFormat(ULocale locale, CompactStyle style) { in CompactDecimalFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CompactData.java | 13 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 48 CompactStyle compactStyle, in populate() 56 boolean compactIsShort = compactStyle == CompactStyle.SHORT; in populate() 67 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey); in populate() 71 getResourceBundleKey("latn", CompactStyle.SHORT, compactType, resourceKey); in populate() 84 CompactStyle compactStyle, in getResourceBundleKey() 90 sb.append(compactStyle == CompactStyle.SHORT ? "/patternsShort" : "/patternsLong"); in getResourceBundleKey()
|
D | DecimalFormatProperties.java | 19 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 81 private transient CompactStyle compactStyle; 411 public CompactStyle getCompactStyle() { in getCompactStyle() 671 public DecimalFormatProperties setCompactStyle(CompactStyle compactStyle) { in setCompactStyle()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | CompactData.java | 14 import android.icu.text.CompactDecimalFormat.CompactStyle; 53 CompactStyle compactStyle, in populate() 61 boolean compactIsShort = compactStyle == CompactStyle.SHORT; in populate() 72 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey); in populate() 76 getResourceBundleKey("latn", CompactStyle.SHORT, compactType, resourceKey); in populate() 89 CompactStyle compactStyle, in getResourceBundleKey() 95 sb.append(compactStyle == CompactStyle.SHORT ? "/patternsShort" : "/patternsLong"); in getResourceBundleKey()
|
D | DecimalFormatProperties.java | 20 import android.icu.text.CompactDecimalFormat.CompactStyle; 86 private transient CompactStyle compactStyle; 416 public CompactStyle getCompactStyle() { in getCompactStyle() 676 public DecimalFormatProperties setCompactStyle(CompactStyle compactStyle) { in setCompactStyle()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Notation.java | 7 import android.icu.text.CompactDecimalFormat.CompactStyle; 27 private static final CompactNotation COMPACT_SHORT = new CompactNotation(CompactStyle.SHORT); 28 private static final CompactNotation COMPACT_LONG = new CompactNotation(CompactStyle.LONG);
|
D | CompactNotation.java | 22 import android.icu.text.CompactDecimalFormat.CompactStyle; 40 final CompactStyle compactStyle; 54 /* package-private */ CompactNotation(CompactStyle compactStyle) { in CompactNotation()
|
D | NumberPropertyMapper.java | 24 import android.icu.text.CompactDecimalFormat.CompactStyle; 300 } else if (properties.getCompactStyle() == CompactStyle.LONG) { in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Notation.java | 6 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 26 private static final CompactNotation COMPACT_SHORT = new CompactNotation(CompactStyle.SHORT); 27 private static final CompactNotation COMPACT_LONG = new CompactNotation(CompactStyle.LONG);
|
D | CompactNotation.java | 21 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 39 final CompactStyle compactStyle; 53 /* package-private */ CompactNotation(CompactStyle compactStyle) { in CompactNotation()
|
D | NumberPropertyMapper.java | 23 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 299 } else if (properties.getCompactStyle() == CompactStyle.LONG) { in oldToNew()
|
/external/icu/icu4c/source/i18n/ |
D | number_compact.cpp | 28 void getResourceBundleKey(const char *nsName, CompactStyle compactStyle, CompactType compactType, in getResourceBundleKey() 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() 68 bool compactIsShort = compactStyle == CompactStyle::UNUM_SHORT; in populate() 81 getResourceBundleKey(nsName, CompactStyle::UNUM_SHORT, compactType, resourceKey, status); in populate() 86 getResourceBundleKey("latn", CompactStyle::UNUM_SHORT, compactType, resourceKey, status); in populate() 218 CompactHandler::CompactHandler(CompactStyle compactStyle, const Locale &locale, const char *nsName, in CompactHandler()
|
D | number_compact.h | 26 void populate(const Locale &locale, const char *nsName, CompactStyle compactStyle, 59 CompactHandler(CompactStyle compactStyle, const Locale &locale, const char *nsName,
|
D | number_notation.cpp | 54 union_.compactStyle = CompactStyle::UNUM_SHORT; in compactShort() 60 union_.compactStyle = CompactStyle::UNUM_LONG; in compactLong()
|
D | number_types.h | 32 typedef UNumberCompactStyle CompactStyle; typedef
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | PropertiesTest.java | 36 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 230 } else if (type == CompactStyle.class) { in getSampleValueForType() 233 CompactStyle[] values = CompactStyle.values(); in getSampleValueForType() 352 new DecimalFormatProperties().setCompactStyle(CompactStyle.LONG) in getTestObjects()
|
D | DecimalQuantityTest.java | 27 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 48 .setMaximumSignificantDigits(3).setCompactStyle(CompactStyle.LONG); in testBehavior()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | PropertiesTest.java | 37 import android.icu.text.CompactDecimalFormat.CompactStyle; 233 } else if (type == CompactStyle.class) { in getSampleValueForType() 236 CompactStyle[] values = CompactStyle.values(); in getSampleValueForType() 355 new DecimalFormatProperties().setCompactStyle(CompactStyle.LONG) in getTestObjects()
|
D | DecimalQuantityTest.java | 28 import android.icu.text.CompactDecimalFormat.CompactStyle; 51 .setMaximumSignificantDigits(3).setCompactStyle(CompactStyle.LONG); in testBehavior()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyCompactNumbers.java | 26 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 163 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 166 debugOriginals, CompactStyle.LONG, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 170 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.CURRENCY, currencyCode); in showNumbers()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | BuildIcuCompactDecimalFormat.java | 18 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 43 … CompactStyle style, ULocale locale, CurrencyStyle currencyStyle, String currencyCodeOrUnit) { in build()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCoverageLevel.java | 50 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle; 232 ULocale.ENGLISH, CompactStyle.SHORT);
|