HomeSort by relevance Sort by last modified time
    Searched refs:MicroProps (Results 1 - 25 of 39) sorted by null

1 2

  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
MicroPropsGenerator.java 9 * quantity to generate a finalized {@link MicroProps}, which can be used to render the number to output.
15 * In order to allow for multiple different objects to all mutate the same MicroProps, a "chain" of MicroPropsGenerators
17 * MicroProps. At the top of the linked list is a base instance of {@link MicroProps} with properties that are not
33 * public MicroProps processQuantity(DecimalQuantity quantity) {
34 * MicroProps micros = this.parent.processQuantity(quantity);
47 * Considers the given {@link DecimalQuantity}, optionally mutates it, and returns a {@link MicroProps}.
51 * @return A MicroProps instance resolved for the quantity.
53 public MicroProps processQuantity(DecimalQuantity quantity);
MicroPropsMutator.java 13 public void mutateMicros(MicroProps micros, T value);
MicroProps.java 16 public class MicroProps implements Cloneable, MicroPropsGenerator {
38 * Whether this MicroProps should behave as an immutable after construction with respect to the quantity
41 public MicroProps(boolean immutable) {
46 public MicroProps processQuantity(DecimalQuantity quantity) {
48 return (MicroProps) this.clone();
51 throw new AssertionError("Cannot re-use a mutable MicroProps in the quantity chain");
MultiplierImpl.java 39 public MicroProps processQuantity(DecimalQuantity quantity) {
40 MicroProps micros = parent.processQuantity(quantity);
MutablePatternModifier.java 221 public MicroProps processQuantity(DecimalQuantity quantity) {
222 MicroProps micros = parent.processQuantity(quantity);
227 public void applyToMicros(MicroProps micros, DecimalQuantity quantity) {
247 public MicroProps processQuantity(DecimalQuantity fq) {
248 MicroProps micros = parent.processQuantity(fq);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
MicroPropsGenerator.java 8 * quantity to generate a finalized {@link MicroProps}, which can be used to render the number to output.
14 * In order to allow for multiple different objects to all mutate the same MicroProps, a "chain" of MicroPropsGenerators
16 * MicroProps. At the top of the linked list is a base instance of {@link MicroProps} with properties that are not
32 * public MicroProps processQuantity(DecimalQuantity quantity) {
33 * MicroProps micros = this.parent.processQuantity(quantity);
45 * Considers the given {@link DecimalQuantity}, optionally mutates it, and returns a {@link MicroProps}.
49 * @return A MicroProps instance resolved for the quantity.
51 public MicroProps processQuantity(DecimalQuantity quantity);
MicroPropsMutator.java 11 public void mutateMicros(MicroProps micros, T value);
MicroProps.java 12 public class MicroProps implements Cloneable, MicroPropsGenerator {
34 * Whether this MicroProps should behave as an immutable after construction with respect to the quantity
37 public MicroProps(boolean immutable) {
42 public MicroProps processQuantity(DecimalQuantity quantity) {
44 return (MicroProps) this.clone();
47 throw new AssertionError("Cannot re-use a mutable MicroProps in the quantity chain");
MultiplierImpl.java 35 public MicroProps processQuantity(DecimalQuantity quantity) {
36 MicroProps micros = parent.processQuantity(quantity);
  /external/icu/icu4c/source/i18n/
number_utils.h 53 struct MicroProps : public MicroPropsGenerator {
79 MicroProps() = default;
81 MicroProps(const MicroProps &other) = default;
83 MicroProps &operator=(const MicroProps &other) = default;
85 void processQuantity(DecimalQuantity &, MicroProps &micros, UErrorCode &status) const U_OVERRIDE {
number_formatimpl.h 50 MicroProps fMicros;
92 * Synthesizes the output string from a MicroProps and DecimalQuantity.
95 * The MicroProps after the quantity has been consumed. Will not be mutated.
102 microsToString(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &string,
106 writeNumber(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &string,
110 writeIntegerDigits(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &string,
114 writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &string,
number_patternmodifier.h 40 void processQuantity(DecimalQuantity &, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
42 void applyToMicros(MicroProps &micros, DecimalQuantity &quantity) const;
174 void processQuantity(DecimalQuantity &, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
number_longnames.h 28 processQuantity(DecimalQuantity &quantity, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
number_scientific.h 44 processQuantity(DecimalQuantity &quantity, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
number_types.h 55 struct MicroProps;
202 * quantity to generate a finalized {@link MicroProps}, which can be used to render the number to output.
208 * In order to allow for multiple different objects to all mutate the same MicroProps, a "chain" of MicroPropsGenerators
210 * MicroProps. At the tail of the linked list is a base instance of {@link MicroProps} with properties that are not
222 * Considers the given {@link DecimalQuantity}, optionally mutates it, and returns a {@link MicroProps}.
227 * The MicroProps instance to populate.
228 * @return A MicroProps instance resolved for the quantity.
230 virtual void processQuantity(DecimalQuantity& quantity, MicroProps& micros, UErrorCode& status) const = 0;
number_compact.h 68 processQuantity(DecimalQuantity &quantity, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
MutablePatternModifierTest.java 14 import android.icu.impl.number.MicroProps;
77 MicroProps micros1 = new MicroProps(false);
83 MicroProps micros2 = new MicroProps(true);
88 MicroProps micros3 = new MicroProps(false);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
MutablePatternModifierTest.java 13 import com.ibm.icu.impl.number.MicroProps;
74 MicroProps micros1 = new MicroProps(false);
80 MicroProps micros2 = new MicroProps(true);
85 MicroProps micros3 = new MicroProps(false);
  /external/icu/android_icu4j/src/main/java/android/icu/number/
NumberFormatterImpl.java 11 import android.icu.impl.number.MicroProps;
45 public static MicroProps applyStatic(MacroProps macros, DecimalQuantity inValue, NumberStringBuilder outString) {
47 MicroProps micros = microPropsGenerator.processQuantity(inValue);
60 public MicroProps apply(DecimalQuantity inValue, NumberStringBuilder outString) {
61 MicroProps micros = microPropsGenerator.processQuantity(inValue);
101 MicroProps micros = new MicroProps(safe);
148 /// START POPULATING THE DEFAULT MICROPROPS AND BUILDING THE MICROPROPS GENERATOR ///
284 * Synthesizes the output string from a MicroProps and DecimalQuantity
    [all...]
CompactNotation.java 15 import android.icu.impl.number.MicroProps;
106 public MicroProps processQuantity(DecimalQuantity quantity) {
107 MicroProps micros = parent.processQuantity(quantity);
FormattedNumber.java 13 import android.icu.impl.number.MicroProps;
29 MicroProps micros;
31 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq, MicroProps micros) {
LocalizedNumberFormatter.java 13 import android.icu.impl.number.MicroProps;
136 MicroProps micros;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
NumberFormatterImpl.java 10 import com.ibm.icu.impl.number.MicroProps;
44 public static MicroProps applyStatic(MacroProps macros, DecimalQuantity inValue, NumberStringBuilder outString) {
46 MicroProps micros = microPropsGenerator.processQuantity(inValue);
59 public MicroProps apply(DecimalQuantity inValue, NumberStringBuilder outString) {
60 MicroProps micros = microPropsGenerator.processQuantity(inValue);
100 MicroProps micros = new MicroProps(safe);
147 /// START POPULATING THE DEFAULT MICROPROPS AND BUILDING THE MICROPROPS GENERATOR ///
283 * Synthesizes the output string from a MicroProps and DecimalQuantity
    [all...]
FormattedNumber.java 12 import com.ibm.icu.impl.number.MicroProps;
28 MicroProps micros;
30 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq, MicroProps micros) {
LocalizedNumberFormatter.java 12 import com.ibm.icu.impl.number.MicroProps;
139 MicroProps micros;

Completed in 219 milliseconds

1 2