Home
last modified time | relevance | path

Searched refs:getPercentInstance (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java91 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()
DOldNumberFormatTest.java139 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()
DDecimalFormatTest.java66 NumberFormat pf = NumberFormat.getPercentInstance(); in testBigDecimalBug1897917()
158 NumberFormat pf = NumberFormat.getPercentInstance(); in assertBigDecimalWithFraction()
/libcore/ojluni/annotations/hiddenapi/java/text/
DNumberFormat.java124 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/
DNumberFormat.annotated.java90 @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/
DNumberFormat.java537 public final static NumberFormat getPercentInstance() { in getPercentInstance() method in NumberFormat
547 public static NumberFormat getPercentInstance(Locale inLocale) { in getPercentInstance() method in NumberFormat
DMessageFormat.java538 } 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/
DMessageFormatTest.java479 .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()
DSupport_DecimalFormat.java112 t_Format(3, number, NumberFormat.getPercentInstance(us), getPercentVectorUS()); in t_formatToCharacterIterator()
/libcore/support/src/test/java/tests/support/
DSupport_DecimalFormat.java149 t_Format(3, number, NumberFormat.getPercentInstance(us), getPercentVectorUS()); in t_formatToCharacterIterator()