/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.public.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/module-lib/i18n.module.public.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/number/ |
H A D | Notation.java | 10 * 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 …]
|
H A D | ScientificNotation.java | 22 * 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 …]
|
H A D | NumberFormatterSettings.java | 65 * 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 …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/system/i18n.module.public.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/legacy.i18n.module.platform.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.intra.core.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/stable.i18n.module.platform.api_stub_sources/android/icu/number/ |
H A D | Notation.java | 9 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 15 public class Notation { class 17 Notation() { throw new RuntimeException("Stub!"); } in Notation() method in Notation 20 …* Print the number using scientific notation (also known as scientific form, standard index form, … 21 * standard form in the UK). The format for scientific notation varies by locale; for example, many 41 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 48 * Print the number using engineering notation, a variant of scientific notation in which the 66 * @return A ScientificNotation for chaining or passing to the NumberFormatter notation() setter. 73 * Print the number using short-form compact notation. 76 * <em>Compact notation</em>, defined in Unicode Technical Standard #35 Part 3 Section 2.4.1, prints [all …]
|
H A D | NumberFormatterSettings.java | 32 * Specifies the notation style (simple, scientific, or compact) for rendering numbers. 35 * <li>Simple notation: "12,300" 36 * <li>Scientific notation: "1.23E4" 37 * <li>Compact notation: "12K" 41 * All notation styles will be properly localized with locale data, and all notation styles are 45 …* Pass this method the return value of a {@link android.icu.number.Notation Notation} factory meth… 48 * NumberFormatter.with().notation(Notation.compactShort()) 51 * The default is to use simple notation. 53 * @param notation 54 * The notation strategy to use. [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/number/ |
H A D | Notation.java | 9 * 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 …]
|
H A D | ScientificNotation.java | 21 * 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 …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/unicode/ |
H A D | numberformatter.h | 41 * // Custom notation, unit, and rounding precision: 43 * .notation(Notation::compactShort()) 74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci… 120 class Notation; variable 191 typedef Notation CompactNotation; 198 typedef Notation SimpleNotation; 201 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 205 class U_I18N_API Notation : public UMemory { 208 …* Print the number using scientific notation (also known as scientific form, standard index form, … 209 …* in the UK). The format for scientific notation varies by locale; for example, many Western local… [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/unicode/ |
H A D | numberformatter.h | 40 * // Custom notation, unit, and rounding precision: 42 * .notation(Notation::compactShort()) 73 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci… 115 class Notation; variable 184 typedef Notation CompactNotation; 191 typedef Notation SimpleNotation; 194 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 198 class U_I18N_API Notation : public UMemory { 201 …* Print the number using scientific notation (also known as scientific form, standard index form, … 202 …* in the UK). The format for scientific notation varies by locale; for example, many Western local… [all …]
|
/aosp_15_r20/external/icu/libicu/cts_headers/unicode/ |
H A D | numberformatter.h | 41 * // Custom notation, unit, and rounding precision: 43 * .notation(Notation::compactShort()) 74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci… 118 class Notation; variable 189 typedef Notation CompactNotation; 196 typedef Notation SimpleNotation; 199 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 203 class U_I18N_API Notation : public UMemory { 206 …* Print the number using scientific notation (also known as scientific form, standard index form, … 207 …* in the UK). The format for scientific notation varies by locale; for example, many Western local… [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/unicode/ |
H A D | numberformatter.h | 41 * // Custom notation, unit, and rounding precision: 43 * .notation(Notation::compactShort()) 74 …* UnlocalizedNumberFormatter formatter = UnlocalizedNumberFormatter::with().notation(Notation::sci… 118 class Notation; variable 189 typedef Notation CompactNotation; 196 typedef Notation SimpleNotation; 199 * A class that defines the notation style to be used when formatting numbers in NumberFormatter. 203 class U_I18N_API Notation : public UMemory { 206 …* Print the number using scientific notation (also known as scientific form, standard index form, … 207 …* in the UK). The format for scientific notation varies by locale; for example, many Western local… [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
H A D | NumberRangeFormatterTest.java | 25 import android.icu.number.Notation; 433 "Default collapse, long-form compact notation", in testCollapse() 435 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 449 "Unit collapse, long-form compact notation", in testCollapse() 452 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 466 "Default collapse on measurement unit with compact-short notation", in testCollapse() 468 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 482 "No collapse on measurement unit with compact-short notation", in testCollapse() 485 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 499 "Unit collapse on measurement unit with compact-short notation", in testCollapse() [all …]
|
H A D | NumberFormatterApiTest.java | 38 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 …]
|
/aosp_15_r20/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/ |
H A D | NumberRangeFormatterTest.java | 24 import com.ibm.icu.number.Notation; 430 "Default collapse, long-form compact notation", in testCollapse() 432 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 446 "Unit collapse, long-form compact notation", in testCollapse() 449 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 463 "Default collapse on measurement unit with compact-short notation", in testCollapse() 465 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 479 "No collapse on measurement unit with compact-short notation", in testCollapse() 482 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 496 "Unit collapse on measurement unit with compact-short notation", in testCollapse() [all …]
|
H A D | NumberFormatterApiTest.java | 37 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 …]
|