/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 211 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() 226 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact() 260 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() 276 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact() 373 NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 389 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 404 NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 429 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 438 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.NARROW), in unitMeasure() 448 NumberFormatter.with().unit(MeasureUnit.SQUARE_METER).unitWidth(UnitWidth.NARROW), in unitMeasure() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 208 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() 223 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact() 257 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() 273 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact() 370 NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 386 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 401 NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 426 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.FULL_NAME), in unitMeasure() 435 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.NARROW), in unitMeasure() 445 NumberFormatter.with().unit(MeasureUnit.SQUARE_METER).unitWidth(UnitWidth.NARROW), in unitMeasure() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MacroProps.java | 25 public UnitWidth unitWidth; field in MacroProps 47 if (unitWidth == null) unitWidth = fallback.unitWidth; in fallback() 66 unitWidth, in hashCode() 88 && Utility.equals(unitWidth, other.unitWidth) in equals()
|
D | MutablePatternModifier.java | 44 UnitWidth unitWidth; field in MutablePatternModifier 107 …public void setSymbols(DecimalFormatSymbols symbols, Currency currency, UnitWidth unitWidth, Plura… in setSymbols() argument 111 this.unitWidth = unitWidth; in setSymbols() 324 if (unitWidth == UnitWidth.ISO_CODE) { in getSymbol() 326 } else if (unitWidth == UnitWidth.HIDDEN) { in getSymbol() 328 } else if (unitWidth == UnitWidth.NARROW) { in getSymbol()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MacroProps.java | 29 public UnitWidth unitWidth; field in MacroProps 51 if (unitWidth == null) unitWidth = fallback.unitWidth; in fallback() 70 unitWidth, in hashCode() 92 && Utility.equals(unitWidth, other.unitWidth) in equals()
|
D | MutablePatternModifier.java | 46 UnitWidth unitWidth; field in MutablePatternModifier 109 …public void setSymbols(DecimalFormatSymbols symbols, Currency currency, UnitWidth unitWidth, Plura… in setSymbols() argument 113 this.unitWidth = unitWidth; in setSymbols() 326 if (unitWidth == UnitWidth.ISO_CODE) { in getSymbol() 328 } else if (unitWidth == UnitWidth.HIDDEN) { in getSymbol() 330 } else if (unitWidth == UnitWidth.NARROW) { in getSymbol()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberFormatterImpl.java | 114 UnitWidth unitWidth = UnitWidth.SHORT; in macrosToMicroGenerator() local 115 if (macros.unitWidth != null) { in macrosToMicroGenerator() 116 unitWidth = macros.unitWidth; in macrosToMicroGenerator() 134 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 234 patternMod.setSymbols(micros.symbols, currency, unitWidth, rules); in macrosToMicroGenerator() 236 patternMod.setSymbols(micros.symbols, currency, unitWidth, null); in macrosToMicroGenerator() 250 … chain = LongNameHandler.forMeasureUnit(macros.loc, macros.unit, unitWidth, rules, chain); in macrosToMicroGenerator() 251 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 270 …CompactType compactType = (macros.unit instanceof Currency && macros.unitWidth != UnitWidth.FULL_N… in macrosToMicroGenerator()
|
D | NumberFormatterSettings.java | 346 public T unitWidth(UnitWidth style) { in unitWidth() method in NumberFormatterSettings 502 if (macros.unitWidth == null) { in resolve() 503 macros.unitWidth = (UnitWidth) current.value; in resolve()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberFormatterImpl.java | 115 UnitWidth unitWidth = UnitWidth.SHORT; in macrosToMicroGenerator() local 116 if (macros.unitWidth != null) { in macrosToMicroGenerator() 117 unitWidth = macros.unitWidth; in macrosToMicroGenerator() 135 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 235 patternMod.setSymbols(micros.symbols, currency, unitWidth, rules); in macrosToMicroGenerator() 237 patternMod.setSymbols(micros.symbols, currency, unitWidth, null); in macrosToMicroGenerator() 251 … chain = LongNameHandler.forMeasureUnit(macros.loc, macros.unit, unitWidth, rules, chain); in macrosToMicroGenerator() 252 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 271 …CompactType compactType = (macros.unit instanceof Currency && macros.unitWidth != UnitWidth.FULL_N… in macrosToMicroGenerator()
|
D | NumberFormatterSettings.java | 340 public T unitWidth(UnitWidth style) { in unitWidth() method in NumberFormatterSettings 494 if (macros.unitWidth == null) { in resolve() 495 macros.unitWidth = (UnitWidth) current.value; in resolve()
|
/external/icu/icu4c/source/i18n/ |
D | number_formatimpl.cpp | 170 UNumberUnitWidth unitWidth = UNUM_UNIT_WIDTH_SHORT; in macrosToMicroGenerator() local 171 if (macros.unitWidth != UNUM_UNIT_WIDTH_COUNT) { in macrosToMicroGenerator() 172 unitWidth = macros.unitWidth; in macrosToMicroGenerator() 192 } else if (!isCurrency || unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator() 291 unitWidth, in macrosToMicroGenerator() 294 patternModifier->setSymbols(fMicros.symbols, currency, unitWidth, nullptr); in macrosToMicroGenerator() 311 unitWidth, in macrosToMicroGenerator() 316 } else if (isCurrency && unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator() 335 CompactType compactType = (isCurrency && unitWidth != UNUM_UNIT_WIDTH_FULL_NAME) in macrosToMicroGenerator()
|
D | number_patternmodifier.cpp | 31 const UNumberUnitWidth unitWidth, const PluralRules *rules) { in setSymbols() argument 37 this->unitWidth = unitWidth; in setSymbols() 228 if (unitWidth == UNumberUnitWidth::UNUM_UNIT_WIDTH_ISO_CODE) { in getSymbol() 230 } else if (unitWidth == UNumberUnitWidth::UNUM_UNIT_WIDTH_HIDDEN) { in getSymbol()
|
D | number_patternmodifier.h | 122 …bols(const DecimalFormatSymbols *symbols, const CurrencyUnit ¤cy, UNumberUnitWidth unitWidth, 209 UNumberUnitWidth unitWidth; variable
|
D | number_fluent.cpp | 85 Derived NumberFormatterSettings<Derived>::unitWidth(const UNumberUnitWidth &width) const { in unitWidth() function in NumberFormatterSettings 87 copy.fMacros.unitWidth = width; in unitWidth()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 220 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_ISO_CODE), in notationCompact() 236 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_FULL_NAME), in notationCompact() 270 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_ISO_CODE), in notationCompact() 287 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_FULL_NAME), in notationCompact() 374 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_FULL_NAME), in unitMeasure() 390 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_FULL_NAME), in unitMeasure() 429 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_FULL_NAME), in unitMeasure() 438 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_NARROW), in unitMeasure() 448 .unitWidth(UNumberUnitWidth::UNUM_UNIT_WIDTH_NARROW), in unitMeasure() 458 .unitWidth(UNUM_UNIT_WIDTH_NARROW), in unitMeasure() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 1304 UNumberUnitWidth unitWidth = UNUM_UNIT_WIDTH_COUNT; member 1622 Derived unitWidth(const UNumberUnitWidth &width) const;
|
/external/icu/icu4j/tools/build/ |
D | icu4j60.api3.gz | 12;ICU4J 60.1;;
2ST@3.6;PB;NS;NF;NS; ... |