Searched refs:getPercentInstance (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/text/spi/ |
D | NumberFormatProvider.java | 112 public abstract NumberFormat getPercentInstance(Locale locale); in getPercentInstance() method in NumberFormatProvider
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 91 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US); in test_10333() 102 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US); in testPercentageRounding() 143 NumberFormat.getPercentInstance(null); in test_nullLocales()
|
D | OldNumberFormatTest.java | 136 parseObjectTest(NumberFormat.getPercentInstance(), in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 139 parseObjectTest(NumberFormat.getPercentInstance(), in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 407 NumberFormat format = NumberFormat.getPercentInstance(); in test_getPercentInstance() 428 NumberFormat format = NumberFormat.getPercentInstance(csLocale); in test_getPercentInstanceLjava_util_Locale() 525 NumberFormat nf3 = NumberFormat.getPercentInstance(); in test_hashCode() 592 NumberFormat nf2 = NumberFormat.getPercentInstance(csLocale); in test_setGroupingUsed() 762 nf1 = NumberFormat.getPercentInstance(); in test_parseLjava_lang_String()
|
D | DecimalFormatTest.java | 65 NumberFormat pf = NumberFormat.getPercentInstance(); in testBigDecimalBug1897917() 157 NumberFormat pf = NumberFormat.getPercentInstance(); in assertBigDecimalWithFraction()
|
/libcore/ojluni/src/main/java/java/text/ |
D | NumberFormat.java | 460 public final static NumberFormat getPercentInstance() { in getPercentInstance() method in NumberFormat 467 public static NumberFormat getPercentInstance(Locale inLocale) { in getPercentInstance() method in NumberFormat 1140 return numberFormatProvider.getPercentInstance(locale); in getObject()
|
D | MessageFormat.java | 538 } else if (fmt.equals(NumberFormat.getPercentInstance(locale))) { in toPattern() 1469 newFormat = NumberFormat.getPercentInstance(locale); in makeFormat()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 479 .equals(NumberFormat.getPercentInstance())); in test_applyPatternLjava_lang_String() 616 NumberFormat.getPercentInstance(), null, in test_getFormats() 630 NumberFormat.getPercentInstance(), null, in test_getFormats() 721 f2.setFormatByArgumentIndex(2, NumberFormat.getPercentInstance()); in test_setFormatByArgumentIndexILjava_text_Format() 797 NumberFormat.getPercentInstance(), in test_setFormatsByArgumentIndex$Ljava_text_Format()
|
D | Support_DecimalFormat.java | 112 t_Format(3, number, NumberFormat.getPercentInstance(us), getPercentVectorUS()); in t_formatToCharacterIterator()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_DecimalFormat.java | 149 t_Format(3, number, NumberFormat.getPercentInstance(us), getPercentVectorUS()); in t_formatToCharacterIterator()
|