Home
last modified time | relevance | path

Searched refs:NumberFormatter (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java24 import android.icu.number.NumberFormatter;
25 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
26 import android.icu.number.NumberFormatter.SignDisplay;
27 import android.icu.number.NumberFormatter.UnitWidth;
54 NumberFormatter.with(), in notationSimple()
69 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
84 NumberFormatter.with(), in notationSimple()
95 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
110 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
125NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
[all …]
DDecimalQuantityTest.java27 import android.icu.number.NumberFormatter;
47 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
54 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
61 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
64 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
DMutablePatternModifierTest.java18 import android.icu.number.NumberFormatter.SignDisplay;
19 import android.icu.number.NumberFormatter.UnitWidth;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java23 import com.ibm.icu.number.NumberFormatter;
24 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
25 import com.ibm.icu.number.NumberFormatter.SignDisplay;
26 import com.ibm.icu.number.NumberFormatter.UnitWidth;
51 NumberFormatter.with(), in notationSimple()
66 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
81 NumberFormatter.with(), in notationSimple()
92 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
107 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
122NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
[all …]
DDecimalQuantityTest.java26 import com.ibm.icu.number.NumberFormatter;
44 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
51 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
58 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
61 … formats.add(NumberFormatter.fromDecimalFormat(properties, symbols, null).locale(ULocale.ENGLISH)); in testBehavior()
DMutablePatternModifierTest.java17 import com.ibm.icu.number.NumberFormatter.SignDisplay;
18 import com.ibm.icu.number.NumberFormatter.UnitWidth;
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp86 NumberFormatter::with(), in notationSimple()
100 NumberFormatter::with(), in notationSimple()
110 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
124 NumberFormatter::with().notation(Notation::engineering()), in notationScientific()
138 NumberFormatter::with().notation( in notationScientific()
153 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific()
167 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
176 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact()
190 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact()
204 NumberFormatter::with().notation(Notation::compactShort()).unit(USD), in notationCompact()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatter.java63 public final class NumberFormatter { class
263 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
311 return NumberFormatter.with().macros(macros); in fromDecimalFormat()
DNumberFormatterSettings.java8 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
9 import android.icu.number.NumberFormatter.SignDisplay;
10 import android.icu.number.NumberFormatter.UnitWidth;
DNotation.java6 import android.icu.number.NumberFormatter.SignDisplay;
DNumberFormatterImpl.java18 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
19 import android.icu.number.NumberFormatter.SignDisplay;
20 import android.icu.number.NumberFormatter.UnitWidth;
DNumberPropertyMapper.java20 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
21 import android.icu.number.NumberFormatter.SignDisplay;
42 return NumberFormatter.with().macros(macros); in create()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatter.java62 public final class NumberFormatter { class
277 private NumberFormatter() { in NumberFormatter() method in NumberFormatter
328 return NumberFormatter.with().macros(macros); in fromDecimalFormat()
DNumberFormatterSettings.java7 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
8 import com.ibm.icu.number.NumberFormatter.SignDisplay;
9 import com.ibm.icu.number.NumberFormatter.UnitWidth;
DNotation.java5 import com.ibm.icu.number.NumberFormatter.SignDisplay;
DNumberFormatterImpl.java17 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
18 import com.ibm.icu.number.NumberFormatter.SignDisplay;
19 import com.ibm.icu.number.NumberFormatter.UnitWidth;
DNumberPropertyMapper.java19 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
20 import com.ibm.icu.number.NumberFormatter.SignDisplay;
41 return NumberFormatter.with().macros(macros); in create()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMicroProps.java8 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
9 import android.icu.number.NumberFormatter.SignDisplay;
DMacroProps.java10 import android.icu.number.NumberFormatter.DecimalSeparatorDisplay;
11 import android.icu.number.NumberFormatter.SignDisplay;
12 import android.icu.number.NumberFormatter.UnitWidth;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java9 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
10 import com.ibm.icu.number.NumberFormatter.SignDisplay;
11 import com.ibm.icu.number.NumberFormatter.UnitWidth;
DMicroProps.java7 import com.ibm.icu.number.NumberFormatter.DecimalSeparatorDisplay;
8 import com.ibm.icu.number.NumberFormatter.SignDisplay;
DMutablePatternModifier.java7 import com.ibm.icu.number.NumberFormatter.SignDisplay;
8 import com.ibm.icu.number.NumberFormatter.UnitWidth;
/external/icu/android_icu4j/src/main/java/android/icu/util/
DNoUnit.java6 import android.icu.number.NumberFormatter;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DNoUnit.java5 import com.ibm.icu.number.NumberFormatter;
/external/icu/icu4c/source/i18n/
Dnumber_fluent.cpp127 UnlocalizedNumberFormatter NumberFormatter::with() { in with()
132 LocalizedNumberFormatter NumberFormatter::withLocale(const Locale &locale) { in withLocale()

12