/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 86 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 158 roundingIncrement = null; in _clear() 204 roundingIncrement = other.roundingIncrement; in _copyFrom() 251 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 314 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 528 return roundingIncrement; in getRoundingIncrement() 1238 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1239 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 171 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 175 temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 176 .multiply(roundingIncrement) in roundToIncrement()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalFormatProperties.java | 90 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 162 roundingIncrement = null; in _clear() 208 roundingIncrement = other.roundingIncrement; in _copyFrom() 255 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 318 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 532 return roundingIncrement; in getRoundingIncrement() 1242 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1243 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 173 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 177 temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 178 .multiply(roundingIncrement) in roundToIncrement()
|
/external/icu/icu4c/source/i18n/ |
D | number_decimfmtprops.cpp | 53 roundingIncrement = 0.0; in clear() 95 eq = eq && roundingIncrement == other.roundingIncrement; in operator ==()
|
D | number_patternstring.cpp | 505 properties.roundingIncrement = 0.0; in patternInfoToProperties() 513 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties() 517 properties.roundingIncrement = 0.0; in patternInfoToProperties() 525 properties.roundingIncrement = 0.0; in patternInfoToProperties() 529 properties.roundingIncrement = 0.0; in patternInfoToProperties() 681 double roundingInterval = properties.roundingIncrement; in propertiesToPatternString()
|
D | number_rounding.cpp | 123 IncrementRounder Rounder::increment(double roundingIncrement) { in increment() argument 124 if (roundingIncrement > 0.0) { in increment() 125 return constructIncrement(roundingIncrement, 0); in increment()
|
D | number_decimfmtprops.h | 85 double roundingIncrement; member
|
D | number_decimalquantity.h | 73 void roundToIncrement(double roundingIncrement, RoundingMode roundingMode,
|
D | number_decimalquantity.cpp | 159 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement() argument 164 temp /= roundingIncrement; in roundToIncrement() 168 temp *= roundingIncrement; in roundToIncrement()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 382 public final int roundingIncrement; field in CurrencyMetaInfo.CurrencyDigits 390 public CurrencyDigits(int fractionDigits, int roundingIncrement) { in CurrencyDigits() argument 392 this.roundingIncrement = roundingIncrement; in CurrencyDigits()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 353 public final int roundingIncrement; field in CurrencyMetaInfo.CurrencyDigits 360 public CurrencyDigits(int fractionDigits, int roundingIncrement) { in CurrencyDigits() argument 362 this.roundingIncrement = roundingIncrement; in CurrencyDigits()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Rounder.java | 277 public static Rounder increment(BigDecimal roundingIncrement) { in increment() argument 278 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 279 return constructIncrement(roundingIncrement); in increment()
|
D | NumberPropertyMapper.java | 122 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 160 } else if (roundingIncrement != null) { in oldToNew() 161 rounding = Rounder.constructIncrement(roundingIncrement); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Rounder.java | 287 public static Rounder increment(BigDecimal roundingIncrement) { in increment() argument 288 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 289 return constructIncrement(roundingIncrement); in increment()
|
D | NumberPropertyMapper.java | 121 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 159 } else if (roundingIncrement != null) { in oldToNew() 160 rounding = Rounder.constructIncrement(roundingIncrement); in oldToNew()
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 145 double roundingIncrement; in setNumberFormatCurrency_2_4() member 174 dnf->setRoundingIncrement(currencyMap[i].roundingIncrement); in setNumberFormatCurrency_2_4()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 864 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 865 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 871 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 872 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 867 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 868 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 874 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 875 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 373 if (tuple.roundingIncrement != null) { 476 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 477 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 98 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 321 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 370 if (tuple.roundingIncrement != null) { 473 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 474 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 95 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 318 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 105 double roundingIncrement; variable
|
D | numberformattesttuple.cpp | 312 FIELD_INIT(roundingIncrement, &gDoubleOps),
|