Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/text/spi/
DNumberFormatProvider.java112 public abstract NumberFormat getPercentInstance(Locale locale); in getPercentInstance() method in NumberFormatProvider
/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.java136 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()
DDecimalFormatTest.java65 NumberFormat pf = NumberFormat.getPercentInstance(); in testBigDecimalBug1897917()
157 NumberFormat pf = NumberFormat.getPercentInstance(); in assertBigDecimalWithFraction()
/libcore/ojluni/src/main/java/java/text/
DNumberFormat.java460 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()
DMessageFormat.java538 } 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/
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()