Home
last modified time | relevance | path

Searched refs:quantity1 (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DFormattedNumberRange.java31 final DecimalQuantity quantity1; field in FormattedNumberRange
35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() argument
38 this.quantity1 = quantity1; in FormattedNumberRange()
156 return quantity1.toBigDecimal(); in getFirstBigDecimal()
194 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
215 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
DNumberRangeFormatterImpl.java155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument
157 MicroProps micros1 = formatterImpl1.preProcess(quantity1); in format()
173 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
174 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
181 } else if (quantity1.equals(quantity2)) { in format()
196 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
202 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format()
208 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format()
216 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
219 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumberRange.java31 final DecimalQuantity quantity1; field in FormattedNumberRange
35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() argument
38 this.quantity1 = quantity1; in FormattedNumberRange()
166 return quantity1.toBigDecimal(); in getFirstBigDecimal()
207 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
229 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
DNumberRangeFormatterImpl.java154 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument
156 MicroProps micros1 = formatterImpl1.preProcess(quantity1); in format()
172 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
173 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
180 } else if (quantity1.equals(quantity2)) { in format()
195 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
201 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format()
207 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format()
215 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
218 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() argument
[all …]
/external/icu/icu4c/source/i18n/
Dnumrange_impl.cpp227 formatterImpl1.preProcess(data.quantity1, micros1, status); in format()
253 } else if (data.quantity1 == data.quantity2) { in format()
304 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue()
317 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately()
445 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
Dnumrange_impl.h37 DecimalQuantity quantity1; variable
Dnumrange_fluent.cpp299 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange()
401 return fData->quantity1.toScientificString(); in getFirstDecimal()