/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalFormatProperties.java | 123 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 195 roundingIncrement = null; in _clear() 241 roundingIncrement = other.roundingIncrement; in _copyFrom() 288 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 351 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 565 return roundingIncrement; in getRoundingIncrement() 1287 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1288 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 182 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 185 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 186 .multiply(roundingIncrement).round(mathContext); in roundToIncrement()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 118 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 190 roundingIncrement = null; in _clear() 236 roundingIncrement = other.roundingIncrement; in _copyFrom() 283 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 346 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 560 return roundingIncrement; in getRoundingIncrement() 1282 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1283 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 180 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 183 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 184 .multiply(roundingIncrement).round(mathContext); in roundToIncrement()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 355 public final int roundingIncrement; field in CurrencyMetaInfo.CurrencyDigits 362 public CurrencyDigits(int fractionDigits, int roundingIncrement) { in CurrencyDigits() argument 364 this.roundingIncrement = roundingIncrement; in CurrencyDigits()
|
/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/icu4c/source/i18n/ |
D | number_decimfmtprops.cpp | 73 roundingIncrement = 0.0; in clear() 105 eq = eq && roundingIncrement == other.roundingIncrement; in _equals()
|
D | number_mapper.cpp | 104 double roundingIncrement = properties.roundingIncrement; in oldToNew() local 143 } else if (roundingIncrement != 0.0) { in oldToNew() 144 precision = Precision::constructIncrement(roundingIncrement, minFrac); in oldToNew() 311 exportedProperties->roundingIncrement = increment_; in oldToNew()
|
D | number_rounding.cpp | 152 IncrementPrecision Precision::increment(double roundingIncrement) { in increment() argument 153 if (roundingIncrement > 0.0) { in increment() 154 return constructIncrement(roundingIncrement, 0); in increment()
|
D | number_patternstring.cpp | 531 properties.roundingIncrement = 0.0; in patternInfoToProperties() 538 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties() 542 properties.roundingIncrement = 0.0; in patternInfoToProperties() 550 properties.roundingIncrement = 0.0; in patternInfoToProperties() 554 properties.roundingIncrement = 0.0; in patternInfoToProperties() 706 double roundingInterval = properties.roundingIncrement; in propertiesToPatternString()
|
D | number_decimfmtprops.h | 135 double roundingIncrement; member
|
D | number_decimalquantity.h | 81 void roundToIncrement(double roundingIncrement, RoundingMode roundingMode,
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Precision.java | 331 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 332 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 333 return constructIncrement(roundingIncrement); in increment()
|
D | NumberPropertyMapper.java | 143 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 182 } else if (roundingIncrement != null) { in oldToNew() 183 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Precision.java | 341 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 342 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 343 return constructIncrement(roundingIncrement); in increment()
|
D | NumberPropertyMapper.java | 142 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 181 } else if (roundingIncrement != null) { in oldToNew() 182 rounding = Precision.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/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 224 if (tuple.roundingIncrement != null) { 225 fmt.setRoundingIncrement(tuple.roundingIncrement.doubleValue()); 585 if (tuple.roundingIncrement != null) { 692 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 693 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 98 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 323 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 221 if (tuple.roundingIncrement != null) { 222 fmt.setRoundingIncrement(tuple.roundingIncrement.doubleValue()); 582 if (tuple.roundingIncrement != null) { 689 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 690 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 95 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 320 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 475 double roundingIncrement; 482 this.roundingIncrement = currencyNumberInfo.getRoundingIncrement(); 520 return roundingIncrement; 529 return roundingIncrement == that.roundingIncrement
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 913 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 914 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 920 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 921 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 910 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 911 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 917 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 918 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 105 double roundingIncrement; variable
|