Home
last modified time | relevance | path

Searched refs:setMaximumFractionDigits (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java389 form.setMaximumFractionDigits(310); in testMaximumFractionDigits_getAndSet()
394 form.setMaximumFractionDigits(500); in testMaximumFractionDigits_getAndSet()
397 form.setMaximumFractionDigits(500); in testMaximumFractionDigits_getAndSet()
402 form.setMaximumFractionDigits(-2); in testMaximumFractionDigits_getAndSet()
421 form.setMaximumFractionDigits(400); in testMinimumFractionDigits_getAndSet()
486 form.setMaximumFractionDigits(100); in testMinimumFactionDigits_minChangesMax()
505 form.setMaximumFractionDigits(100); in testMaximumFactionDigits_maxChangesMin()
905 format.setMaximumFractionDigits(0); in test_applyPattern()
1038 df.setMaximumFractionDigits(3); in test_formatDouble_maximumFractionDigits()
1046 df.setMaximumFractionDigits(30); in test_formatDouble_maximumFractionDigits()
[all …]
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java3970 public void setMaximumFractionDigits(int newValue) { in setMaximumFractionDigits() method in DecimalFormat
3972 super.setMaximumFractionDigits((maximumFractionDigits > DOUBLE_FRACTION_DIGITS) ? in setMaximumFractionDigits()
3980 icuDecimalFormat.setMaximumFractionDigits(getMaximumFractionDigits()); in setMaximumFractionDigits()
4000 super.setMaximumFractionDigits((maximumFractionDigits > DOUBLE_FRACTION_DIGITS) ? in setMinimumFractionDigits()
4108 icuDecimalFormat.setMaximumFractionDigits(maximumFractionDigits); in setCurrency()
4197 setMaximumFractionDigits(digits); in adjustForCurrencyDefaultFractionDigits()
4200 setMaximumFractionDigits(digits); in adjustForCurrencyDefaultFractionDigits()
4413 icuDecimalFormat.setMaximumFractionDigits(maximumFractionDigits); in readObject()
4431 setMaximumFractionDigits(super.getMaximumFractionDigits()); in readObject()
DNumberFormat.java716 public void setMaximumFractionDigits(int newValue) { in setMaximumFractionDigits() method in NumberFormat
851 numberFormat.setMaximumFractionDigits(0); in getInstance()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatTest.java449 nf1.setMaximumFractionDigits(Integer.MAX_VALUE); in test_getMaximumFractionDigits()
455 nf1.setMaximumFractionDigits(0); in test_getMaximumFractionDigits()
474 nf1.setMaximumFractionDigits(0); in test_getMinimumFractionDigits()
547 nf1.setMaximumFractionDigits(0); in test_hashCode()
653 nf1.setMaximumFractionDigits(Integer.MAX_VALUE); in test_setMaximumFractionDigits()
657 nf1.setMaximumFractionDigits(0); in test_setMaximumFractionDigits()
663 nf1.setMaximumFractionDigits(5); in test_setMaximumFractionDigits()
673 nf1.setMaximumFractionDigits(Integer.MIN_VALUE); in test_setMaximumFractionDigits()
DDecimalFormatTest.java44 df.setMaximumFractionDigits(0); in test_setMaximumFractionDigitsAffectsRoundingMode()
47 df.setMaximumFractionDigits(1); in test_setMaximumFractionDigitsAffectsRoundingMode()
125 df.setMaximumFractionDigits(2); in testBigDecimalICUConsistency()
159 pf.setMaximumFractionDigits(fraction); in assertBigDecimalWithFraction()
166 df.setMaximumFractionDigits(fraction); in assertDecFmtWithMultiplierAndFraction()
174 df.setMaximumFractionDigits(fraction); in assertDecFmtWithMultiplierAndFractionByLocale()
293 numberFormat.setMaximumFractionDigits(0); in testBug71369()
328 df.setMaximumFractionDigits(0); in assertCurrencyFormat()
DNumberFormatTest.java112 nf.setMaximumFractionDigits(1); in testPercentageRounding()
223 nf.setMaximumFractionDigits(jpy.getDefaultFractionDigits()); in test_setCurrency()
/libcore/ojluni/annotations/hiddenapi/java/text/
DNumberFormat.java176 public void setMaximumFractionDigits(int newValue) { in setMaximumFractionDigits() method in NumberFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java116 public void setMaximumFractionDigits(int newValue) { throw new RuntimeException("Stub!"); } in setMaximumFractionDigits() method in NumberFormat