Searched refs:setRoundingMode (Results 1 – 8 of 8) sorted by relevance
2136 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_formatToCharacterIterator_roundingUnnecessaryArithmeticException()2151 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_formatDouble_roundingUnnecessaryArithmeticException()2167 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_format_roundingUnnecessaryArithmeticException()2187 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_getRoundingMode()2197 decimalFormat.setRoundingMode(null); in test_setRoundingMode_null()2211 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_format_withRoundingMode()2223 decimalFormat.setRoundingMode(RoundingMode.CEILING); in test_format_withRoundingMode()2232 decimalFormat.setRoundingMode(RoundingMode.DOWN); in test_format_withRoundingMode()2244 decimalFormat.setRoundingMode(RoundingMode.FLOOR); in test_format_withRoundingMode()2256 decimalFormat.setRoundingMode(RoundingMode.HALF_EVEN); in test_format_withRoundingMode()[all …]
277 ((NumberFormat) choiceFormat).setRoundingMode(null); in test_setRoundingMode_NullRoundingMode()291 ((NumberFormat) choiceFormat).setRoundingMode(RoundingMode.CEILING); in test_setRoundingMode_Normal()
106 nf.setRoundingMode(RoundingMode.UP); in testPercentageRounding()109 nf.setRoundingMode(RoundingMode.DOWN); in testPercentageRounding()
45 df.setRoundingMode(RoundingMode.HALF_UP); in test_setMaximumFractionDigitsAffectsRoundingMode()277 df.setRoundingMode(null); in testBug15081434()
4160 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() method in DecimalFormat4168 icuDecimalFormat.setRoundingMode(convertRoundingMode(roundingMode)); in setRoundingMode()4398 setRoundingMode(roundingMode); in readObject()
821 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() method in NumberFormat
200 public void setRoundingMode(java.math.RoundingMode roundingMode) { in setRoundingMode() method in NumberFormat
128 public void setRoundingMode(@libcore.util.Nullable java.math.RoundingMode roundingMode) { throw new… in setRoundingMode() method in NumberFormat