/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; 77 NumberFormatter.with(), in notationSimple() 92 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 107 NumberFormatter.with(), in notationSimple() 118 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 133 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() [all …]
|
D | NumberRangeFormatterTest.java | 15 import android.icu.number.NumberFormatter; 16 import android.icu.number.NumberFormatter.UnitWidth; 73 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER)), in testBasic() 89 .numberFormatterFirst(NumberFormatter.with().unit(MeasureUnit.METER)) in testBasic() 90 .numberFormatterSecond(NumberFormatter.with().unit(MeasureUnit.KILOMETER)), in testBasic() 106 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)… in testBasic() 122 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_… in testBasic() 154 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.KELVIN)), in testBasic() 186 .numberFormatterBoth(NumberFormatter.with().unit(PTE)), in testBasic() 205 .numberFormatterBoth(NumberFormatter.with().unit(USD)), in testCollapse() [all …]
|
D | NumberSkeletonTest.java | 14 import android.icu.number.NumberFormatter; 102 NumberFormatter.forSkeleton(cas); in validTokens() 145 NumberFormatter.forSkeleton(cas); in invalidTokens() 166 NumberFormatter.forSkeleton(cas); in unknownTokens() 185 NumberFormatter.forSkeleton(cas); in unexpectedTokens() 206 NumberFormatter.forSkeleton(cas); in duplicateValues() 230 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 251 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 267 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 280 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
|
D | DecimalQuantityTest.java | 27 import android.icu.number.NumberFormatter; 48 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 53 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 58 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 62 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
|
/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; 74 NumberFormatter.with(), in notationSimple() 89 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 104 NumberFormatter.with(), in notationSimple() 115 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 130 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() [all …]
|
D | NumberRangeFormatterTest.java | 14 import com.ibm.icu.number.NumberFormatter; 15 import com.ibm.icu.number.NumberFormatter.UnitWidth; 70 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER)), in testBasic() 86 .numberFormatterFirst(NumberFormatter.with().unit(MeasureUnit.METER)) in testBasic() 87 .numberFormatterSecond(NumberFormatter.with().unit(MeasureUnit.KILOMETER)), in testBasic() 103 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)… in testBasic() 119 ….numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_… in testBasic() 151 .numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.KELVIN)), in testBasic() 183 .numberFormatterBoth(NumberFormatter.with().unit(PTE)), in testBasic() 202 .numberFormatterBoth(NumberFormatter.with().unit(USD)), in testCollapse() [all …]
|
D | NumberSkeletonTest.java | 13 import com.ibm.icu.number.NumberFormatter; 99 NumberFormatter.forSkeleton(cas); in validTokens() 142 NumberFormatter.forSkeleton(cas); in invalidTokens() 163 NumberFormatter.forSkeleton(cas); in unknownTokens() 182 NumberFormatter.forSkeleton(cas); in unexpectedTokens() 203 NumberFormatter.forSkeleton(cas); in duplicateValues() 227 NumberFormatter.forSkeleton(skeletonString); in stemsRequiringOption() 248 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 264 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 277 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
|
D | DecimalQuantityTest.java | 26 import com.ibm.icu.number.NumberFormatter; 45 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 50 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 55 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior() 59 … NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 100 NumberFormatter::with(), in notationSimple() 115 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 130 NumberFormatter::with(), in notationSimple() 141 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 156 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 171 NumberFormatter::with().notation( in notationScientific() 187 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 202 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 212 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact() 227 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact() [all …]
|
D | numbertest_range.cpp | 83 .numberFormatterBoth(NumberFormatter::with().unit(METER)), in testBasic() 99 .numberFormatterFirst(NumberFormatter::with().unit(METER)) in testBasic() 100 .numberFormatterSecond(NumberFormatter::with().unit(KILOMETER)), in testBasic() 116 … .numberFormatterBoth(NumberFormatter::with().unit(METER).unitWidth(UNUM_UNIT_WIDTH_FULL_NAME)), in testBasic() 132 ….numberFormatterBoth(NumberFormatter::with().unit(FAHRENHEIT).unitWidth(UNUM_UNIT_WIDTH_FULL_NAME)… in testBasic() 164 .numberFormatterBoth(NumberFormatter::with().unit(KELVIN)), in testBasic() 196 .numberFormatterBoth(NumberFormatter::with().unit(PTE)), in testBasic() 214 .numberFormatterBoth(NumberFormatter::with().unit(USD)), in testCollapse() 230 .numberFormatterBoth(NumberFormatter::with().unit(USD).precision(Precision::integer())), in testCollapse() 247 .numberFormatterBoth(NumberFormatter::with().unit(USD).precision(Precision::integer())), in testCollapse() [all …]
|
D | numbertest_skeletons.cpp | 113 NumberFormatter::forSkeleton(skeletonString, status); in validTokens() 207 NumberFormatter::forSkeleton(skeletonString, status); in stemsRequiringOption() 228 UnicodeString normalized = NumberFormatter::forSkeleton( in defaultTokens() 251 UnicodeString actual = NumberFormatter::forSkeleton(skeletonString, status).locale("en") in flexibleSeparators() 266 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/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 412 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
|
D | NumberPropertyMapper.java | 18 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay; 19 import com.ibm.icu.number.NumberFormatter.SignDisplay; 42 return NumberFormatter.with().macros(macros); in create() 51 return NumberFormatter.with().macros(macros); in create()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
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 | NumberFormatter.java | 67 public final class NumberFormatter { class 394 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
|
D | NumberPropertyMapper.java | 19 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay; 20 import android.icu.number.NumberFormatter.SignDisplay; 43 return NumberFormatter.with().macros(macros); in create() 52 return NumberFormatter.with().macros(macros); in create()
|
/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;
|
D | LocalizedNumberFormatterAsFormat.java | 17 import com.ibm.icu.number.NumberFormatter; 143 return NumberFormatter.forSkeleton(skeleton) in readResolve()
|