Home
last modified time | relevance | path

Searched refs:Notation (Results 1 – 25 of 83) sorted by relevance

1234

/external/icu/icu4c/source/i18n/
Dnumber_notation.cpp16 ScientificNotation Notation::scientific() { in scientific()
28 ScientificNotation Notation::engineering() { in engineering()
52 Notation Notation::compactShort() { in compactShort()
58 Notation Notation::compactLong() { in compactLong()
64 Notation Notation::simple() { in simple()
Dnumber_scientific.h46 ScientificHandler(const Notation *notation, const DecimalFormatSymbols *symbols,
55 const Notation::ScientificSettings& fSettings;
Dnumber_skeletons.cpp149 Notation stem_to_object::notation(skeleton::StemEnum stem) { in notation()
152 return Notation::compactShort(); in notation()
154 return Notation::compactLong(); in notation()
156 return Notation::scientific(); in notation()
158 return Notation::engineering(); in notation()
160 return Notation::simple(); in notation()
163 return Notation::simple(); // return a value: silence compiler warning in notation()
1288 if (macros.notation.fType == Notation::NTN_COMPACT) { in notation()
1302 } else if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in notation()
1303 const Notation::ScientificSettings& impl = macros.notation.fUnion.scientific; in notation()
Dnumber_formatimpl.cpp275 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
294 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
334 if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in macrosToMicroGenerator()
395 if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator()
Dnumber_scientific.cpp118 icu::number::impl::ScientificHandler::ScientificHandler(const Notation *notation, const DecimalForm… in ScientificHandler()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberRangeFormatterTest.java14 import android.icu.number.Notation;
420 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
437 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
453 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
470 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
487 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
504 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
521 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
538 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
606 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
DNumberFormatterApiTest.java40 import android.icu.number.Notation;
92 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
118 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
133 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
148 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
163 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
178 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
189 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact()
204 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact()
219 NumberFormatter.with().notation(Notation.compactShort()).unit(USD), in notationCompact()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java13 import com.ibm.icu.number.Notation;
417 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
434 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
450 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
467 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
484 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
501 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
518 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
535 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse()
603 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
DNumberFormatterApiTest.java39 import com.ibm.icu.number.Notation;
89 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
115 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
130 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
145 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
160 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
175 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
186 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact()
201 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact()
216 NumberFormatter.with().notation(Notation.compactShort()).unit(USD), in notationCompact()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h101 class Notation; variable
165 typedef Notation CompactNotation;
172 typedef Notation SimpleNotation;
179 class U_I18N_API Notation : public UMemory {
352 Notation(const NotationType &type, const NotationUnion &union_) : fType(type), fUnion(union_) {} in Notation() function
354 Notation(UErrorCode errorCode) : fType(NTN_ERROR) { in Notation() function
358 Notation() : fType(NTN_SIMPLE), fUnion() {} in Notation() function
389 class U_I18N_API ScientificNotation : public Notation {
423 using Notation::Notation;
429 friend class Notation; variable
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp115 NumberFormatter::with().notation(Notation::simple()), in notationSimple()
141 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
156 NumberFormatter::with().notation(Notation::engineering()), in notationScientific()
172Notation::scientific().withExponentSignDisplay(UNumberSignDisplay::UNUM_SIGN_ALWAYS)), 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()
242 NumberFormatter::with().notation(Notation::compactShort()).unit(USD), in notationCompact()
257 NumberFormatter::with().notation(Notation::compactShort()) in notationCompact()
[all …]
Dnumbertest_range.cpp429 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
446 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
462 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
479 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
496 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
513 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
530 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse()
547 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse()
614 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort())), in testIdentity()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNotation.java16 public class Notation { class
31 /* package-private */ Notation() { in Notation() method in Notation
DSimpleNotation.java17 public class SimpleNotation extends Notation {
DNumberSkeletonImpl.java194 private static Notation notation(StemEnum stem) { in notation()
197 return Notation.compactShort(); in notation()
199 return Notation.compactLong(); in notation()
201 return Notation.scientific(); in notation()
203 return Notation.engineering(); in notation()
205 return Notation.simple(); in notation()
1251 if (macros.notation == Notation.compactLong()) { in notation()
1254 } else if (macros.notation == Notation.compactShort()) { in notation()
DNumberFormatterSettings.java90 public T notation(Notation notation) { in notation()
578 macros.notation = (Notation) current.value; in resolve()
DNumberPropertyMapper.java301 macros.notation = Notation.compactLong(); in oldToNew()
303 macros.notation = Notation.compactShort(); in oldToNew()
DCompactNotation.java38 public class CompactNotation extends Notation {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNotation.java15 public class Notation { class
30 /* package-private */ Notation() { in Notation() method in Notation
DSimpleNotation.java16 public class SimpleNotation extends Notation {
DNumberSkeletonImpl.java193 private static Notation notation(StemEnum stem) { in notation()
196 return Notation.compactShort(); in notation()
198 return Notation.compactLong(); in notation()
200 return Notation.scientific(); in notation()
202 return Notation.engineering(); in notation()
204 return Notation.simple(); in notation()
1250 if (macros.notation == Notation.compactLong()) { in notation()
1253 } else if (macros.notation == Notation.compactShort()) { in notation()
DNumberFormatterSettings.java90 public T notation(Notation notation) { in notation()
591 macros.notation = (Notation) current.value; in resolve()
DNumberPropertyMapper.java300 macros.notation = Notation.compactLong(); in oldToNew()
302 macros.notation = Notation.compactShort(); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java9 import com.ibm.icu.number.Notation;
20 public Notation notation;
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMacroProps.java10 import android.icu.number.Notation;
24 public Notation notation;

1234