Home
last modified time | relevance | path

Searched refs:tprops (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java2261 DecimalFormatProperties tprops = new DecimalFormatProperties().copyFrom(properties); in toPattern() local
2262 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern()
2263 || tprops.getCurrencyPluralInfo() != null in toPattern()
2264 || tprops.getCurrencyUsage() != null in toPattern()
2265 || AffixUtils.hasCurrencySymbols(tprops.getPositivePrefixPattern()) in toPattern()
2266 || AffixUtils.hasCurrencySymbols(tprops.getPositiveSuffixPattern()) in toPattern()
2267 || AffixUtils.hasCurrencySymbols(tprops.getNegativePrefixPattern()) in toPattern()
2268 || AffixUtils.hasCurrencySymbols(tprops.getNegativeSuffixPattern())); in toPattern()
2270 tprops.setMinimumFractionDigits(exportedProperties.getMinimumFractionDigits()); in toPattern()
2271 tprops.setMaximumFractionDigits(exportedProperties.getMaximumFractionDigits()); in toPattern()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java2449 DecimalFormatProperties tprops = new DecimalFormatProperties().copyFrom(properties); in toPattern() local
2450 boolean useCurrency = ((tprops.getCurrency() != null) in toPattern()
2451 || tprops.getCurrencyPluralInfo() != null in toPattern()
2452 || tprops.getCurrencyUsage() != null in toPattern()
2453 || AffixUtils.hasCurrencySymbols(tprops.getPositivePrefixPattern()) in toPattern()
2454 || AffixUtils.hasCurrencySymbols(tprops.getPositiveSuffixPattern()) in toPattern()
2455 || AffixUtils.hasCurrencySymbols(tprops.getNegativePrefixPattern()) in toPattern()
2456 || AffixUtils.hasCurrencySymbols(tprops.getNegativeSuffixPattern())); in toPattern()
2458 tprops.setMinimumFractionDigits(exportedProperties.getMinimumFractionDigits()); in toPattern()
2459 tprops.setMaximumFractionDigits(exportedProperties.getMaximumFractionDigits()); in toPattern()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp935 DecimalFormatProperties tprops(*fields->properties); in toPattern() local
936 bool useCurrency = ((!tprops.currency.isNull()) || !tprops.currencyPluralInfo.fPtr.isNull() || in toPattern()
937 !tprops.currencyUsage.isNull() || AffixUtils::hasCurrencySymbols( in toPattern()
938 tprops.positivePrefixPattern, localStatus) || AffixUtils::hasCurrencySymbols( in toPattern()
939 tprops.positiveSuffixPattern, localStatus) || AffixUtils::hasCurrencySymbols( in toPattern()
940 tprops.negativePrefixPattern, localStatus) || AffixUtils::hasCurrencySymbols( in toPattern()
941 tprops.negativeSuffixPattern, localStatus)); in toPattern()
943 tprops.minimumFractionDigits = fields->exportedProperties->minimumFractionDigits; in toPattern()
944 tprops.maximumFractionDigits = fields->exportedProperties->maximumFractionDigits; in toPattern()
945 tprops.roundingIncrement = fields->exportedProperties->roundingIncrement; in toPattern()
[all …]