Home
last modified time | relevance | path

Searched refs:singleUnits (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DMeasureUnitImpl.java42 private final ArrayList<SingleUnitImpl> singleUnits; field in MeasureUnitImpl
45 singleUnits = new ArrayList<>(); in MeasureUnitImpl()
77 for (SingleUnitImpl single : this.singleUnits) { in copy()
78 result.singleUnits.add(single.copy()); in copy()
87 return singleUnits; in getSingleUnits()
96 this.singleUnits) { in takeReciprocal()
133 singleUnits) { in applyDimensionality()
154 for (SingleUnitImpl candidate : this.singleUnits) { in appendSingleUnit()
170 this.singleUnits.add(singleUnit.copy()); in appendSingleUnit()
174 if (this.singleUnits.size() > 1 && this.complexity == MeasureUnit.Complexity.SINGLE) { in appendSingleUnit()
[all …]
DConversionRates.java93 ArrayList<SingleUnitImpl> singleUnits = measureUnitImpl.getSingleUnits(); in extractBaseUnits() local
95 singleUnits) { in extractBaseUnits()
DUnitConverter.java69 …InMap(HashMap<String, Integer> dimensionMap, ArrayList<SingleUnitImpl> singleUnits, int multiplier… in insertInMap() argument
71 singleUnits) { in insertInMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DMeasureUnitImpl.java38 private final ArrayList<SingleUnitImpl> singleUnits; field in MeasureUnitImpl
41 singleUnits = new ArrayList<>(); in MeasureUnitImpl()
73 for (SingleUnitImpl single : this.singleUnits) { in copy()
74 result.singleUnits.add(single.copy()); in copy()
83 return singleUnits; in getSingleUnits()
92 this.singleUnits) { in takeReciprocal()
129 singleUnits) { in applyDimensionality()
150 for (SingleUnitImpl candidate : this.singleUnits) { in appendSingleUnit()
166 this.singleUnits.add(singleUnit.copy()); in appendSingleUnit()
170 if (this.singleUnits.size() > 1 && this.complexity == MeasureUnit.Complexity.SINGLE) { in appendSingleUnit()
[all …]
DConversionRates.java89 ArrayList<SingleUnitImpl> singleUnits = measureUnitImpl.getSingleUnits(); in extractBaseUnits() local
91 singleUnits) { in extractBaseUnits()
DUnitConverter.java65 …InMap(HashMap<String, Integer> dimensionMap, ArrayList<SingleUnitImpl> singleUnits, int multiplier… in insertInMap() argument
67 singleUnits) { in insertInMap()
/external/icu/icu4c/source/i18n/
Dunits_converter.cpp406 const auto &singleUnits = source.units; in extractCompoundBaseUnit() local
407 for (int i = 0, count = singleUnits.length(); i < count; ++i) { in extractCompoundBaseUnit()
408 const auto &singleUnit = *singleUnits[i]; in extractCompoundBaseUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java574 …final ArrayList<SingleUnitImpl> singleUnits = getMayBeReferenceOfMeasureUnitImpl().getSingleUnits(… in splitToSingleUnits() local
575 List<MeasureUnit> result = new ArrayList<>(singleUnits.size()); in splitToSingleUnits()
576 for (SingleUnitImpl singleUnit : singleUnits) { in splitToSingleUnits()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java538 …final ArrayList<SingleUnitImpl> singleUnits = getMayBeReferenceOfMeasureUnitImpl().getSingleUnits(… in splitToSingleUnits() local
539 List<MeasureUnit> result = new ArrayList<>(singleUnits.size()); in splitToSingleUnits()
540 for (SingleUnitImpl singleUnit : singleUnits) { in splitToSingleUnits()