Home
last modified time | relevance | path

Searched full:notation (Results 1 – 25 of 1644) sorted by relevance

12345678910>>...66

/external/icu/android_icu4j/src/main/java/android/icu/number/
DNotation.java10 * A class that defines the notation style to be used when formatting numbers in NumberFormatter.
14 public class Notation { class
29 /* package-private */ Notation() { in Notation() method in Notation
33 …* Print the number using scientific notation (also known as scientific form, standard index form, …
34 … * standard form in the UK). The format for scientific notation varies by locale; for example, many
54 … * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter.
62 * Print the number using engineering notation, a variant of scientific notation in which the
80 … * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter.
88 * Print the number using short-form compact notation.
91 …* <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints
[all …]
DScientificNotation.java22 * A class that defines the scientific notation style to be used when formatting numbers in
26 * To create a ScientificNotation, use one of the factory methods in {@link Notation}.
30 public class ScientificNotation extends Notation {
49 … * Sets the minimum number of digits to show in the exponent of scientific notation, padding with
75 * Sets whether to show the sign on positive and negative exponents in scientific notation. The
127 final ScientificNotation notation; field in ScientificNotation.ScientificHandler
134 ScientificNotation notation, in ScientificHandler() argument
138 this.notation = notation; in ScientificHandler()
158 // Do not apply scientific notation to special doubles in processQuantity()
167 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity()
[all …]
DNumberFormatterSettings.java65 * Specifies the notation style (simple, scientific, or compact) for rendering numbers.
68 * <li>Simple notation: "12,300"
69 * <li>Scientific notation: "1.23E4"
70 * <li>Compact notation: "12K"
74 * All notation styles will be properly localized with locale data, and all notation styles are
78 * Pass this method the return value of a {@link Notation} factory method. For example:
81 * NumberFormatter.with().notation(Notation.compactShort())
84 * The default is to use simple notation.
86 * @param notation
87 * The notation strategy to use.
[all …]
DCompactNotation.java27 * A class that defines the scientific notation style to be used when formatting numbers in
32 * methods in {@link Notation}.
36 public class CompactNotation extends Notation {
42 * Create a compact notation with custom data.
83 CompactNotation notation, in CompactHandler() argument
94 if (notation.compactStyle != null) { in CompactHandler()
95 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
97 data.populate(notation.compactCustomData); in CompactHandler()
DNumberSkeletonImpl.java163 b.add("notation-simple", StemEnum.STEM_NOTATION_SIMPLE.ordinal()); in buildStemTrie()
244 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject
247 return Notation.compactShort(); in notation()
249 return Notation.compactLong(); in notation()
251 return Notation.scientific(); in notation()
253 return Notation.engineering(); in notation()
255 return Notation.simple(); in notation()
681 checkNull(macros.notation, segment); in parseStem()
708 checkNull(macros.notation, segment); in parseStem()
709 macros.notation = StemToObject.notation(stem); in parseStem()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNotation.java9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter.
14 public class Notation { class
29 /* package-private */ Notation() { in Notation() method in Notation
33 …* Print the number using scientific notation (also known as scientific form, standard index form, …
34 … * standard form in the UK). The format for scientific notation varies by locale; for example, many
54 … * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter.
63 * Print the number using engineering notation, a variant of scientific notation in which the
81 … * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter.
90 * Print the number using short-form compact notation.
93 …* <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints
[all …]
DScientificNotation.java21 * A class that defines the scientific notation style to be used when formatting numbers in
25 * To create a ScientificNotation, use one of the factory methods in {@link Notation}.
30 public class ScientificNotation extends Notation {
49 … * Sets the minimum number of digits to show in the exponent of scientific notation, padding with
76 * Sets whether to show the sign on positive and negative exponents in scientific notation. The
129 final ScientificNotation notation; field in ScientificNotation.ScientificHandler
136 ScientificNotation notation, in ScientificHandler() argument
140 this.notation = notation; in ScientificHandler()
160 // Do not apply scientific notation to special doubles in processQuantity()
169 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity()
[all …]
DNumberFormatterSettings.java65 * Specifies the notation style (simple, scientific, or compact) for rendering numbers.
68 * <li>Simple notation: "12,300"
69 * <li>Scientific notation: "1.23E4"
70 * <li>Compact notation: "12K"
74 * All notation styles will be properly localized with locale data, and all notation styles are
78 * Pass this method the return value of a {@link Notation} factory method. For example:
81 * NumberFormatter.with().notation(Notation.compactShort())
84 * The default is to use simple notation.
86 * @param notation
87 * The notation strategy to use.
[all …]
DCompactNotation.java26 * A class that defines the scientific notation style to be used when formatting numbers in
31 * methods in {@link Notation}.
36 public class CompactNotation extends Notation {
42 * Create a compact notation with custom data.
83 CompactNotation notation, in CompactHandler() argument
94 if (notation.compactStyle != null) { in CompactHandler()
95 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
97 data.populate(notation.compactCustomData); in CompactHandler()
/external/cronet/third_party/icu/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()
/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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java9 import com.ibm.icu.number.Notation;
20 public Notation notation; field in MacroProps
48 if (notation == null) in fallback()
49 notation = fallback.notation; in fallback()
90 return Objects.hash(notation, in hashCode()
120 return Objects.equals(notation, other.notation) in equals()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMacroProps.java10 import android.icu.number.Notation;
24 public Notation notation; field in MacroProps
52 if (notation == null) in fallback()
53 notation = fallback.notation; in fallback()
94 return Objects.hash(notation, in hashCode()
124 return Objects.equals(notation, other.notation) in equals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberRangeFormatterTest.java24 import android.icu.number.Notation;
432 "Default collapse, long-form compact notation", in testCollapse()
434 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
448 "Unit collapse, long-form compact notation", in testCollapse()
451 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
465 "Default collapse on measurement unit with compact-short notation", in testCollapse()
467 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
481 "No collapse on measurement unit with compact-short notation", in testCollapse()
484 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
498 "Unit collapse on measurement unit with compact-short notation", in testCollapse()
[all …]
DNumberFormatterApiTest.java38 import android.icu.number.Notation;
101 "notation-simple", in notationSimple()
103 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
131 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
147 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
163 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
179 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
195 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
204 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
213 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java23 import com.ibm.icu.number.Notation;
429 "Default collapse, long-form compact notation", in testCollapse()
431 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
445 "Unit collapse, long-form compact notation", in testCollapse()
448 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse()
462 "Default collapse on measurement unit with compact-short notation", in testCollapse()
464 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
478 "No collapse on measurement unit with compact-short notation", in testCollapse()
481 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse()
495 "Unit collapse on measurement unit with compact-short notation", in testCollapse()
[all …]
DNumberFormatterApiTest.java37 import com.ibm.icu.number.Notation;
98 "notation-simple", in notationSimple()
100 NumberFormatter.with().notation(Notation.simple()), in notationSimple()
128 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
144 NumberFormatter.with().notation(Notation.engineering()), in notationScientific()
160 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific()
176 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific()
192 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
201 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
210 NumberFormatter.with().notation(Notation.scientific()), in notationScientific()
[all …]
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h41 * // Custom notation, unit, and rounding precision:
43 * .notation(Notation::compactShort())
74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci…
116 class Notation; variable
185 typedef Notation CompactNotation;
192 typedef Notation SimpleNotation;
195 * A class that defines the notation style to be used when formatting numbers in NumberFormatter.
199 class U_I18N_API Notation : public UMemory {
202 …* Print the number using scientific notation (also known as scientific form, standard index form, …
203 …* in the UK). The format for scientific notation varies by locale; for example, many Western local…
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h41 * // Custom notation, unit, and rounding precision:
43 * .notation(Notation::compactShort())
74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci…
116 class Notation; variable
185 typedef Notation CompactNotation;
192 typedef Notation SimpleNotation;
195 * A class that defines the notation style to be used when formatting numbers in NumberFormatter.
199 class U_I18N_API Notation : public UMemory {
202 …* Print the number using scientific notation (also known as scientific form, standard index form, …
203 …* in the UK). The format for scientific notation varies by locale; for example, many Western local…
[all …]
/external/cronet/third_party/icu/source/i18n/unicode/
Dnumberformatter.h41 * // Custom notation, unit, and rounding precision:
43 * .notation(Notation::compactShort())
74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci…
116 class Notation; variable
185 typedef Notation CompactNotation;
192 typedef Notation SimpleNotation;
195 * A class that defines the notation style to be used when formatting numbers in NumberFormatter.
199 class U_I18N_API Notation : public UMemory {
202 …* Print the number using scientific notation (also known as scientific form, standard index form, …
203 …* in the UK). The format for scientific notation varies by locale; for example, many Western local…
[all …]
/external/cronet/net/cert/pki/
Dextended_key_usage.h22 // In dotted notation: 2.5.29.37.0
36 // In dotted notation: 1.3.6.1.5.5.7.3.1
42 // In dotted notation: 1.3.6.1.5.5.7.3.2
48 // In dotted notation: 1.3.6.1.5.5.7.3.3
54 // In dotted notation: 1.3.6.1.5.5.7.3.4
60 // In dotted notation: 1.3.6.1.5.5.7.3.8
66 // In dotted notation: 1.3.6.1.5.5.7.3.9
/external/cronet/third_party/icu/source/test/intltest/
Dnumbertest_range.cpp436 u"Default collapse, long-form compact notation", in testCollapse()
438 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
452 u"Unit collapse, long-form compact notation", in testCollapse()
455 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
469 u"Default collapse on measurement unit with compact-short notation", in testCollapse()
471 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
485 u"No collapse on measurement unit with compact-short notation", in testCollapse()
488 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
502 u"Unit collapse on measurement unit with compact-short notation", in testCollapse()
505 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
[all …]
Dnumbertest_api.cpp158 u"notation-simple", in notationSimple()
160 NumberFormatter::with().notation(Notation::simple()), in notationSimple()
188 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
204 NumberFormatter::with().notation(Notation::engineering()), in notationScientific()
220 NumberFormatter::with().notation( in notationScientific()
221Notation::scientific().withExponentSignDisplay(UNumberSignDisplay::UNUM_SIGN_ALWAYS)), in notationScientific()
237 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific()
253 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
262 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
271 NumberFormatter::with().notation(Notation::scientific()), in notationScientific()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_range.cpp436 u"Default collapse, long-form compact notation", in testCollapse()
438 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
452 u"Unit collapse, long-form compact notation", in testCollapse()
455 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse()
469 u"Default collapse on measurement unit with compact-short notation", in testCollapse()
471 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
485 u"No collapse on measurement unit with compact-short notation", in testCollapse()
488 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
502 u"Unit collapse on measurement unit with compact-short notation", in testCollapse()
505 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse()
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/
DILanguageNames.java25 * @return language specific notation for the package
41 * @return language specific notation of the class
51 * @return language specific qualified notation of the class
66 * @return language specific notation for the method
82 * @return language specific notation for the method

12345678910>>...66