Home
last modified time | relevance | path

Searched refs:getMaximumFractionDigits (Results 1 – 25 of 52) sorted by relevance

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormatAPI.java186 fr.setMaximumFractionDigits( def.getMaximumFractionDigits() ); in TestAPI()
187 if(fr.getMaximumFractionDigits() != def.getMaximumFractionDigits() ) { in TestAPI()
DNumberRegressionTests.java111 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
116 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
1064 fmt2.setMinimumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840()
1597 …assertEquals("Localized FAIL on maxFrac", df.getMaximumFractionDigits(), f2.getMaximumFractionDigi… in Test4212072()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java183 fr.setMaximumFractionDigits( def.getMaximumFractionDigits() ); in TestAPI()
184 if(fr.getMaximumFractionDigits() != def.getMaximumFractionDigits() ) { in TestAPI()
DNumberRegressionTests.java108 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
113 logln("maxFractionDigits = " + df.getMaximumFractionDigits()); in Test4088161()
1061 fmt2.setMinimumFractionDigits(fmt1.getMaximumFractionDigits()); in Test4122840()
1594 …assertEquals("Localized FAIL on maxFrac", df.getMaximumFractionDigits(), f2.getMaximumFractionDigi… in Test4212072()
/external/icu/icu4c/source/test/intltest/
Dnmfmapts.cpp219 fr->setMaximumFractionDigits( def->getMaximumFractionDigits() ); in testAPI()
220 if(fr->getMaximumFractionDigits() != def->getMaximumFractionDigits() ) { in testAPI()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java89 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormatICU
90 return fIcuNfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
DDecimalFormatICU.java153 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormatICU
154 return fIcuDecfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java130 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormatJDK
131 return fJdkNfmt.getMaximumFractionDigits(); in getMaximumFractionDigits()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DNumberFormatTest.java384 assertEquals(4, nf.getMaximumFractionDigits()); in testGetMaximumFractionDigits()
386 assertEquals(6, nf.getMaximumFractionDigits()); in testGetMaximumFractionDigits()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberPropertyMapper.java139 int maxFrac = properties.getMaximumFractionDigits(); in oldToNew()
271 int maxFrac_ = properties.getMaximumFractionDigits(); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberPropertyMapper.java138 int maxFrac = properties.getMaximumFractionDigits(); in oldToNew()
270 int maxFrac_ = properties.getMaximumFractionDigits(); in oldToNew()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1396 int max = properties.getMaximumFractionDigits(); in setMinimumFractionDigits()
1410 public synchronized int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormat
1411 return exportedProperties.getMaximumFractionDigits(); in getMaximumFractionDigits()
2271 tprops.setMaximumFractionDigits(exportedProperties.getMaximumFractionDigits()); in toPattern()
DDecimalFormat_ICU58_Android.java1273 return getMinimumIntegerDigits() + getMaximumFractionDigits(); in precision()
1275 return isIntegral ? 0 : getMaximumFractionDigits(); in precision()
1315 maxFractionalDigits = getMaximumFractionDigits(); in getFixedDecimal()
1561 count = useSigDig ? Integer.MAX_VALUE : getMaximumFractionDigits(); in subformatFixed()
4555 if (getMaximumFractionDigits() > 0 || decimalSeparatorAlwaysShown) { in toPattern()
4560 for (i = 0; i < getMaximumFractionDigits(); ++i) { in toPattern()
5495 if (getMaximumFractionDigits() > DOUBLE_FRACTION_DIGITS) { in readObject()
6141 BigDecimal byWidth = getMaximumFractionDigits() > 0 ? in resetActualRounding()
6142 BigDecimal.ONE.movePointLeft(getMaximumFractionDigits()) : BigDecimal.ONE; in resetActualRounding()
6155 if (getMaximumFractionDigits() > 0) { in resetActualRounding()
[all …]
DNFSubstitution.java314 if (numberFormat.getMaximumFractionDigits() == 0) { in doSubstitution()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1483 int max = properties.getMaximumFractionDigits(); in setMinimumFractionDigits()
1499 public synchronized int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormat
1500 return exportedProperties.getMaximumFractionDigits(); in getMaximumFractionDigits()
2459 tprops.setMaximumFractionDigits(exportedProperties.getMaximumFractionDigits()); in toPattern()
DDecimalFormat_ICU58_Android.java1283 return getMinimumIntegerDigits() + getMaximumFractionDigits(); in precision()
1285 return isIntegral ? 0 : getMaximumFractionDigits(); in precision()
1325 maxFractionalDigits = getMaximumFractionDigits(); in getFixedDecimal()
1571 count = useSigDig ? Integer.MAX_VALUE : getMaximumFractionDigits(); in subformatFixed()
4620 if (getMaximumFractionDigits() > 0 || decimalSeparatorAlwaysShown) { in toPattern()
4625 for (i = 0; i < getMaximumFractionDigits(); ++i) { in toPattern()
5581 if (getMaximumFractionDigits() > DOUBLE_FRACTION_DIGITS) { in readObject()
6245 BigDecimal byWidth = getMaximumFractionDigits() > 0 ? in resetActualRounding()
6246 BigDecimal.ONE.movePointLeft(getMaximumFractionDigits()) : BigDecimal.ONE; in resetActualRounding()
6259 if (getMaximumFractionDigits() > 0) { in resetActualRounding()
[all …]
DNFSubstitution.java313 if (numberFormat.getMaximumFractionDigits() == 0) { in doSubstitution()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java1007 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
1008 return numberFormat.getMaximumFractionDigits(); in getMaximumFractionDigits()
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h944 int32_t getMaximumFractionDigits(void) const;
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp304 return format(getMaximumFractionDigits(), appendTo, L"%.16f", number); in format()
/external/v8/src/objects/
Djs-plural-rules.cc274 int max_fraction_digits = icu_number_format->getMaximumFractionDigits(); in ResolvedOptions()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java255 || properties.getMaximumFractionDigits() != 0; in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java253 || properties.getMaximumFractionDigits() != 0; in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringUtils.java43 int maxFrac = Math.min(properties.getMaximumFractionDigits(), dosMax); in propertiesToPatternString()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringUtils.java45 int maxFrac = Math.min(properties.getMaximumFractionDigits(), dosMax); in propertiesToPatternString()

123