/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 40 import com.ibm.icu.number.NumberFormatter; 41 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 42 import com.ibm.icu.number.NumberFormatter.GroupingStrategy; 43 import com.ibm.icu.number.NumberFormatter.SignDisplay; 44 import com.ibm.icu.number.NumberFormatter.UnitWidth; 75 NumberFormatter.with(), in notationSimple() 90 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 105 NumberFormatter.with(), in notationSimple() 116 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 131 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() [all …]
|
D | NumberRangeFormatterTest.java | 24 import com.ibm.icu.number.NumberFormatter; 25 import com.ibm.icu.number.NumberFormatter.UnitWidth; 83 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER)), in testBasic() 99 .numberFormatterFirst(NumberFormatter.with().unit(MeasureUnit.METER)) in testBasic() 100 .numberFormatterSecond(NumberFormatter.with().unit(MeasureUnit.KILOMETER)), in testBasic() 116 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)… in testBasic() 132 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_… in testBasic() 164 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.KELVIN)), in testBasic() 196 .numberFormatterBoth(NumberFormatter.with().unit(PTE)), in testBasic() 215 .numberFormatterBoth(NumberFormatter.with().unit(USD)), in testCollapse() [all …]
|
D | NumberSkeletonTest.java | 13 import com.ibm.icu.number.NumberFormatter; 99 NumberFormatter.forSkeleton(cas); in validTokens() 144 NumberFormatter.forSkeleton(cas); in invalidTokens() 165 NumberFormatter.forSkeleton(cas); in unknownTokens() 184 NumberFormatter.forSkeleton(cas); in unexpectedTokens() 205 NumberFormatter.forSkeleton(cas); in duplicateValues() 229 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 250 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 266 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 279 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
|
D | ExhaustiveNumberTest.java | 17 import com.ibm.icu.number.NumberFormatter; 95 UnlocalizedNumberFormatter uNoUnitPercent = NumberFormatter.with().unit(NoUnit.PERCENT); in test20417_PercentParity() 96 UnlocalizedNumberFormatter uNoUnitPermille = NumberFormatter.with().unit(NoUnit.PERMILLE); in test20417_PercentParity() 97 … UnlocalizedNumberFormatter uMeasurePercent = NumberFormatter.with().unit(MeasureUnit.PERCENT); in test20417_PercentParity() 98 … UnlocalizedNumberFormatter uMeasurePermille = NumberFormatter.with().unit(MeasureUnit.PERMILLE); in test20417_PercentParity() 116 String actual = NumberFormatter.withLocale(ULocale.ENGLISH).precision(Precision.unlimited()) in unlimitedRoundingBigDecimal()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 41 import android.icu.number.NumberFormatter; 42 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 43 import android.icu.number.NumberFormatter.GroupingStrategy; 44 import android.icu.number.NumberFormatter.SignDisplay; 45 import android.icu.number.NumberFormatter.UnitWidth; 78 NumberFormatter.with(), in notationSimple() 93 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 108 NumberFormatter.with(), in notationSimple() 119 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 134 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() [all …]
|
D | NumberRangeFormatterTest.java | 25 import android.icu.number.NumberFormatter; 26 import android.icu.number.NumberFormatter.UnitWidth; 86 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER)), in testBasic() 102 .numberFormatterFirst(NumberFormatter.with().unit(MeasureUnit.METER)) in testBasic() 103 .numberFormatterSecond(NumberFormatter.with().unit(MeasureUnit.KILOMETER)), in testBasic() 119 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)… in testBasic() 135 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_… in testBasic() 167 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.KELVIN)), in testBasic() 199 .numberFormatterBoth(NumberFormatter.with().unit(PTE)), in testBasic() 218 .numberFormatterBoth(NumberFormatter.with().unit(USD)), in testCollapse() [all …]
|
D | NumberSkeletonTest.java | 14 import android.icu.number.NumberFormatter; 102 NumberFormatter.forSkeleton(cas); in validTokens() 147 NumberFormatter.forSkeleton(cas); in invalidTokens() 168 NumberFormatter.forSkeleton(cas); in unknownTokens() 187 NumberFormatter.forSkeleton(cas); in unexpectedTokens() 208 NumberFormatter.forSkeleton(cas); in duplicateValues() 232 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 253 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 269 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 282 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
|
D | ExhaustiveNumberTest.java | 18 import android.icu.number.NumberFormatter; 98 UnlocalizedNumberFormatter uNoUnitPercent = NumberFormatter.with().unit(NoUnit.PERCENT); in test20417_PercentParity() 99 UnlocalizedNumberFormatter uNoUnitPermille = NumberFormatter.with().unit(NoUnit.PERMILLE); in test20417_PercentParity() 100 … UnlocalizedNumberFormatter uMeasurePercent = NumberFormatter.with().unit(MeasureUnit.PERCENT); in test20417_PercentParity() 101 … UnlocalizedNumberFormatter uMeasurePermille = NumberFormatter.with().unit(MeasureUnit.PERMILLE); in test20417_PercentParity() 119 String actual = NumberFormatter.withLocale(ULocale.ENGLISH).precision(Precision.unlimited()) in unlimitedRoundingBigDecimal()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 115 NumberFormatter::with(), in notationSimple() 130 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 145 NumberFormatter::with(), in notationSimple() 156 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 171 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 186 NumberFormatter::with().notation( in notationScientific() 202 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 217 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 225 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 233 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() [all …]
|
D | numbertest_range.cpp | 85 .numberFormatterBoth(NumberFormatter::with().unit(METER)), in testBasic() 101 .numberFormatterFirst(NumberFormatter::with().unit(METER)) in testBasic() 102 .numberFormatterSecond(NumberFormatter::with().unit(KILOMETER)), in testBasic() 118 … .numberFormatterBoth(NumberFormatter::with().unit(METER).unitWidth(UNUM_UNIT_WIDTH_FULL_NAME)), in testBasic() 134 ….numberFormatterBoth(NumberFormatter::with().unit(FAHRENHEIT).unitWidth(UNUM_UNIT_WIDTH_FULL_NAME)… in testBasic() 166 .numberFormatterBoth(NumberFormatter::with().unit(KELVIN)), in testBasic() 198 .numberFormatterBoth(NumberFormatter::with().unit(PTE)), in testBasic() 216 .numberFormatterBoth(NumberFormatter::with().unit(USD)), in testCollapse() 232 .numberFormatterBoth(NumberFormatter::with().unit(USD).precision(Precision::integer())), in testCollapse() 249 .numberFormatterBoth(NumberFormatter::with().unit(USD).precision(Precision::integer())), in testCollapse() [all …]
|
D | numbertest_skeletons.cpp | 114 NumberFormatter::forSkeleton(skeletonString, perror, status); in validTokens() 212 NumberFormatter::forSkeleton(skeletonString, perror, status); in stemsRequiringOption() 247 UnicodeString normalized = NumberFormatter::forSkeleton( in defaultTokens() 270 UnicodeString actual = NumberFormatter::forSkeleton(skeletonString, status).locale("en") in flexibleSeparators() 285 NumberFormatter::forSkeleton(skeletonString, status); in expectedErrorSkeleton()
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | NumberFormat.java.patch | 7 - * {@link NumberFormatter} fits their use case. Although not deprecated, this 8 + * {@code NumberFormatter} fits their use case. Although not deprecated, this 17 - * {@link NumberFormatter} instead of NumberFormat. 27 - * {@link NumberFormatter} instead of NumberFormat. 37 - * {@link NumberFormatter} instead of NumberFormat. 47 - * {@link NumberFormatter} instead of NumberFormat. 57 - * {@link NumberFormatter} instead of NumberFormat. 67 - * {@link NumberFormatter} instead of NumberFormat. 77 - * {@link NumberFormatter} instead of NumberFormat. 87 - * {@link NumberFormatter} instead of NumberFormat. [all …]
|
D | CompactDecimalFormat.java.patch | 9 - * {@link NumberFormatter} fits their use case. Although not deprecated, this 21 - * {@link NumberFormatter} instead of NumberFormat. 31 - * {@link NumberFormatter} instead of NumberFormat.
|
/external/icu/android_icu4j/testing/src/android/icu/extratest/number/ |
D | FormattedNumberTest.java | 8 import android.icu.number.NumberFormatter; 24 NumberFormatter.withLocale(ULocale.US).format(123.45); in test_enUS()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MicroProps.java | 7 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 8 import android.icu.number.NumberFormatter.SignDisplay;
|
D | MacroProps.java | 11 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 12 import android.icu.number.NumberFormatter.SignDisplay; 13 import android.icu.number.NumberFormatter.UnitWidth;
|
D | LocalizedNumberFormatterAsFormat.java | 18 import android.icu.number.NumberFormatter; 145 return NumberFormatter.forSkeleton(skeleton) in readResolve()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MicroProps.java | 6 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 7 import com.ibm.icu.number.NumberFormatter.SignDisplay;
|
D | MacroProps.java | 10 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 11 import com.ibm.icu.number.NumberFormatter.SignDisplay; 12 import com.ibm.icu.number.NumberFormatter.UnitWidth;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberFormatter.java | 66 public final class NumberFormatter { class 367 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
|
D | NumberFormatterSettings.java | 10 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 11 import android.icu.number.NumberFormatter.GroupingStrategy; 12 import android.icu.number.NumberFormatter.SignDisplay; 13 import android.icu.number.NumberFormatter.UnitWidth;
|
D | NumberPropertyMapper.java | 20 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 21 import android.icu.number.NumberFormatter.SignDisplay; 44 return NumberFormatter.with().macros(macros); in create() 53 return NumberFormatter.with().macros(macros); in create()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberFormatterSettings.java | 9 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 10 import com.ibm.icu.number.NumberFormatter.GroupingStrategy; 11 import com.ibm.icu.number.NumberFormatter.SignDisplay; 12 import com.ibm.icu.number.NumberFormatter.UnitWidth;
|
D | NumberFormatter.java | 66 public final class NumberFormatter { class 390 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
|
D | NumberPropertyMapper.java | 19 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 20 import com.ibm.icu.number.NumberFormatter.SignDisplay; 43 return NumberFormatter.with().macros(macros); in create() 52 return NumberFormatter.with().macros(macros); in create()
|