Searched refs:getPercentInstance (Results 1 – 10 of 10) sorted by relevance
/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 | 139 parseObjectTest(NumberFormat.getPercentInstance(), in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 142 parseObjectTest(NumberFormat.getPercentInstance(), in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 410 NumberFormat format = NumberFormat.getPercentInstance(); in test_getPercentInstance() 431 NumberFormat format = NumberFormat.getPercentInstance(csLocale); in test_getPercentInstanceLjava_util_Locale() 528 NumberFormat nf3 = NumberFormat.getPercentInstance(); in test_hashCode() 595 NumberFormat nf2 = NumberFormat.getPercentInstance(csLocale); in test_setGroupingUsed() 765 nf1 = NumberFormat.getPercentInstance(); in test_parseLjava_lang_String()
|
D | DecimalFormatTest.java | 66 NumberFormat pf = NumberFormat.getPercentInstance(); in testBigDecimalBug1897917() 158 NumberFormat pf = NumberFormat.getPercentInstance(); in assertBigDecimalWithFraction()
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | NumberFormat.java | 124 public static final java.text.NumberFormat getPercentInstance() { in getPercentInstance() method in NumberFormat 128 public static java.text.NumberFormat getPercentInstance(java.util.Locale inLocale) { in getPercentInstance() method in NumberFormat
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 90 @libcore.util.NonNull public static final java.text.NumberFormat getPercentInstance() { throw new R… in getPercentInstance() method in NumberFormat 92 @libcore.util.NonNull public static java.text.NumberFormat getPercentInstance(@libcore.util.NonNull… in getPercentInstance() method in NumberFormat
|
/libcore/ojluni/src/main/java/java/text/ |
D | NumberFormat.java | 537 public final static NumberFormat getPercentInstance() { in getPercentInstance() method in NumberFormat 547 public static NumberFormat getPercentInstance(Locale inLocale) { in getPercentInstance() method in NumberFormat
|
D | MessageFormat.java | 538 } else if (fmt.equals(NumberFormat.getPercentInstance(locale))) { in toPattern() 1481 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()
|