Searched refs:setRoundingMode (Results 1 - 25 of 53) sorted by relevance

123

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java208 public void setRoundingMode(RoundingMode roundingMode) { method in class:NumberFormatICU
210 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING);
212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN);
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN);
218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN);
220 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP);
222 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
224 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
H A DDecimalFormatICU.java366 public void setRoundingMode(RoundingMode roundingMode) { method in class:DecimalFormatICU
368 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING);
370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN);
372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN);
376 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN);
378 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP);
380 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
382 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
/external/icu/icu4c/source/test/intltest/
H A Ddcfmtest.cpp401 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling);
403 fmtr.setRoundingMode(DecimalFormat::kRoundFloor);
405 fmtr.setRoundingMode(DecimalFormat::kRoundDown);
407 fmtr.setRoundingMode(DecimalFormat::kRoundUp);
409 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven);
411 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown);
413 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp);
417 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary);
419 fmtr.setRoundingMode(DecimalFormat::kRoundFloor);
H A Ddcfmapts.cpp488 pat.setRoundingMode((DecimalFormat::ERoundingMode)mode);
549 pat.setRoundingMode((DecimalFormat::ERoundingMode)0);
552 errln((UnicodeString)"ERROR: Rounding increment not zero after setRoundingMode");
H A Dtufmtts.cpp482 nf->setRoundingMode(DecimalFormat::kRoundDown);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java40 * decF4.setRoundingMode(java.math.BigDecimal.ROUND_HALF_UP) does not work
62 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
73 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
86 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
350 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DRbnfTest.java1610 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN);
1627 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN);
1643 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DNumberFormatTestData.java341 public void setRoundingMode(String value) { method in class:NumberFormatTestData
H A DTimeUnitTest.java41 nf.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DNumberFormatTest.java228 fmt.setRoundingMode(tuple.roundingMode);
559 format.setRoundingMode(roundingModes[i]);
580 nff.setRoundingMode(((Integer) item[0]).intValue());
2570 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP);
2578 nf.setRoundingMode(mode);
2651 f.setRoundingMode(BigDecimal.ROUND_DOWN);
2655 f.setRoundingMode(BigDecimal.ROUND_HALF_UP);
3611 * Tests the method public int getRoundingMode() public void setRoundingMode(int roundingMode)
3649 // Tests the function 'public void setRoundingMode(int roundingMode)'
3651 tgrm.setRoundingMode(
[all...]
H A DIntlTestDecimalFormatAPIC.java285 pat.setRoundingMode(mode);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java39 * decF4.setRoundingMode(java.math.BigDecimal.ROUND_HALF_UP) does not work
61 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
72 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
85 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP);
349 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DRbnfTest.java1609 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN);
1626 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN);
1642 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DNumberFormatTestData.java340 public void setRoundingMode(String value) { method in class:NumberFormatTestData
H A DTimeUnitTest.java40 nf.setRoundingMode(BigDecimal.ROUND_DOWN);
H A DNumberFormatTest.java227 fmt.setRoundingMode(tuple.roundingMode);
558 format.setRoundingMode(roundingModes[i]);
579 nff.setRoundingMode(((Integer) item[0]).intValue());
2569 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP);
2577 nf.setRoundingMode(mode);
2650 f.setRoundingMode(BigDecimal.ROUND_DOWN);
2654 f.setRoundingMode(BigDecimal.ROUND_HALF_UP);
3610 * Tests the method public int getRoundingMode() public void setRoundingMode(int roundingMode)
3648 // Tests the function 'public void setRoundingMode(int roundingMode)'
3650 tgrm.setRoundingMode(
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java252 public void setRoundingMode(int roundingMode) { method in class:NumberFormatJDK
283 fJdkNfmt.setRoundingMode(mode);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DBigReal.java206 public void setRoundingMode(RoundingMode roundingMode) { method in class:BigReal
/external/icu/icu4c/source/i18n/
H A Ddigitlst.h289 void setRoundingMode(DecimalFormat::ERoundingMode m);
H A Dprecision.cpp166 value.setRoundingMode(fRoundingMode);
406 value.setRoundingMode(fMantissa.fRoundingMode);
H A Ddecimfmtimpl.h243 void setRoundingMode(DecimalFormat::ERoundingMode mode) { function in class:DecimalFormatImpl
H A Ddigitlst.cpp269 // setRoundingMode()
279 DigitList::setRoundingMode(DecimalFormat::ERoundingMode m) { function in class:DigitList
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpField.java258 public void setRoundingMode(final RoundingMode mode) { method in class:DfpField
/external/icu/icu4c/source/i18n/unicode/
H A Ddecimfmt.h1378 * @see #setRoundingMode
1391 * @see #setRoundingMode
1401 * @see #setRoundingMode
1414 virtual void setRoundingMode(ERoundingMode roundingMode);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DNumberFormat.java1202 * @see #setRoundingMode(int)
1217 public void setRoundingMode(int roundingMode) { method in class:NumberFormat
1219 "setRoundingMode must be implemented by the subclass implementation.");

Completed in 1063 milliseconds

123