Home
last modified time | relevance | path

Searched refs:setFractionLength (Results 1 – 14 of 14) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java600 value.setFractionLength(0, Integer.MAX_VALUE); in apply()
616 value.setFractionLength(Math.max(0, -getDisplayMagnitudeFraction(minFrac)), in apply()
633 value.setFractionLength(Math.max(0, -getDisplayMagnitudeSignificant(value, minSig)), in apply()
647 quantity.setFractionLength(minSig - minInt, Integer.MAX_VALUE); in apply()
678 value.setFractionLength(Math.max(0, -displayMag), Integer.MAX_VALUE); in apply()
692 value.setFractionLength(increment.scale(), increment.scale()); in apply()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java612 value.setFractionLength(0, Integer.MAX_VALUE); in apply()
628 value.setFractionLength(Math.max(0, -getDisplayMagnitudeFraction(minFrac)), in apply()
645 value.setFractionLength(Math.max(0, -getDisplayMagnitudeSignificant(value, minSig)), in apply()
659 quantity.setFractionLength(minSig - minInt, Integer.MAX_VALUE); in apply()
690 value.setFractionLength(Math.max(0, -displayMag), Integer.MAX_VALUE); in apply()
704 value.setFractionLength(increment.scale(), increment.scale()); in apply()
/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp351 value.setFractionLength( in apply()
361 value.setFractionLength( in apply()
387 value.setFractionLength(uprv_max(0, -displayMag), INT32_MAX); in apply()
397 value.setFractionLength(fPrecision.fUnion.increment.fMinFrac, INT32_MAX); in apply()
411 value.setFractionLength(fPrecision.fUnion.fracSig.fMinSig - minInt, INT32_MAX); in apply()
Dnumber_decimalquantity.h71 void setFractionLength(int32_t minFrac, int32_t maxFrac);
Dnumber_decimalquantity.cpp153 void DecimalQuantity::setFractionLength(int32_t minFrac, int32_t maxFrac) { in setFractionLength() function in DecimalQuantity
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java51 public void setFractionLength(int minFrac, int maxFrac); in setFractionLength() method
DDecimalQuantity_AbstractBCD.java160 public void setFractionLength(int minFrac, int maxFrac) { in setFractionLength() method in DecimalQuantity_AbstractBCD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java49 public void setFractionLength(int minFrac, int maxFrac); in setFractionLength() method
DDecimalQuantity_AbstractBCD.java158 public void setFractionLength(int minFrac, int maxFrac) { in setFractionLength() method in DecimalQuantity_AbstractBCD
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java174 q0.setFractionLength(1, Integer.MAX_VALUE); in testDecimalQuantityExpectedOutput()
403 fq.setFractionLength(3, 6); in testDecimalQuantityBehaviorStandalone()
507 dq.setFractionLength(0, 2); in testMaxDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java171 q0.setFractionLength(1, Integer.MAX_VALUE); in testDecimalQuantityExpectedOutput()
400 fq.setFractionLength(3, 6); in testDecimalQuantityBehaviorStandalone()
504 dq.setFractionLength(0, 2); in testMaxDigits()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp88 fq.setFractionLength(3, 6); in testDecimalQuantityBehaviorStandalone()
367 dq.setFractionLength(0, 2); in testMaxDigits()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java342 public void setFractionLength(int minFrac, int maxFrac) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java339 public void setFractionLength(int minFrac, int maxFrac) {