Searched refs:getMaximumFractionDigits (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldNumberFormatTest.java | 37 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale() 47 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale() 61 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale() 450 int result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits() 456 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits() 461 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits() 654 int result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits() 658 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits() 664 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits() 674 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
|
D | NumberFormatTest.java | 219 assertEquals(2, nf.getMaximumFractionDigits()); // currency specific fractional digits. in test_setCurrency()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 510 maximumFractionDigits = icuDecimalFormat.getMaximumFractionDigits(); in updateFieldsFromIcu() 3980 icuDecimalFormat.setMaximumFractionDigits(getMaximumFractionDigits()); in setMaximumFractionDigits() 4044 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormat 4195 if (oldMinDigits == getMaximumFractionDigits()) { in adjustForCurrencyDefaultFractionDigits() 4255 fields.put("maximumFractionDigits", icuDecimalFormat.getMaximumFractionDigits()); in writeObject() 4412 if (maximumFractionDigits != icuDecimalFormat.getMaximumFractionDigits()) { in readObject() 4431 setMaximumFractionDigits(super.getMaximumFractionDigits()); in readObject()
|
D | NumberFormat.java | 700 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NumberFormatTest.java | 169 0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale() 193 0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
|
D | DecimalFormatTest.java | 387 assertEquals(3, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 390 assertEquals(310, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 395 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 398 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 400 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 403 assertEquals(0, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet() 489 assertEquals(200, form.getMaximumFractionDigits()); in testMinimumFactionDigits_minChangesMax() 507 assertEquals(100, form.getMaximumFractionDigits()); in testMaximumFactionDigits_maxChangesMin() 909 assertEquals("Maximum fraction digits not set", 2, format.getMaximumFractionDigits()); in test_applyPattern() 1039 assertEquals(3, df.getMaximumFractionDigits()); in test_formatDouble_maximumFractionDigits() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | NumberFormat.java | 172 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 114 public int getMaximumFractionDigits() { throw new RuntimeException("Stub!"); } in getMaximumFractionDigits() method in NumberFormat
|