Home
last modified time | relevance | path

Searched refs:unitPreferences (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitPreferences.java167 ArrayList<UnitPreference> unitPreferences = new ArrayList<>(); in put() local
190 unitPreferences.add(new UnitPreference(unit, geq, skeleton)); in put()
193 assert (!unitPreferences.isEmpty()); in put()
198 unitPreferences.toArray(new UnitPreference[0]) in put()
205 …rtUnitPreferences(String category, String usage, String region, UnitPreference[] unitPreferences) { in insertUnitPreferences() argument
215 shouldInsert.put(region, unitPreferences); in insertUnitPreferences()
DUnitsData.java24 private UnitPreferences unitPreferences; field in UnitsData
32 this.unitPreferences = new UnitPreferences(); in UnitsData()
56 return unitPreferences; in getUnitPreferences()
80 return this.unitPreferences.getPreferencesFor(category, usage, region); in getPreferencesFor()
DUnitsRouter.java59 …UnitPreferences.UnitPreference[] unitPreferences = data.getPreferencesFor(category, usage, region); in UnitsRouter() local
61 for (int i = 0; i < unitPreferences.length; ++i) { in UnitsRouter()
62 UnitPreferences.UnitPreference preference = unitPreferences[i]; in UnitsRouter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitPreferences.java157 ArrayList<UnitPreference> unitPreferences = new ArrayList<>(); in put() local
180 unitPreferences.add(new UnitPreference(unit, geq, skeleton)); in put()
183 assert (!unitPreferences.isEmpty()); in put()
188 unitPreferences.toArray(new UnitPreference[0]) in put()
195 …rtUnitPreferences(String category, String usage, String region, UnitPreference[] unitPreferences) { in insertUnitPreferences() argument
205 shouldInsert.put(region, unitPreferences); in insertUnitPreferences()
DUnitsData.java22 private UnitPreferences unitPreferences; field in UnitsData
30 this.unitPreferences = new UnitPreferences(); in UnitsData()
54 return unitPreferences; in getUnitPreferences()
78 return this.unitPreferences.getPreferencesFor(category, usage, region); in getPreferencesFor()
DUnitsRouter.java57 …UnitPreferences.UnitPreference[] unitPreferences = data.getPreferencesFor(category, usage, region); in UnitsRouter() local
59 for (int i = 0; i < unitPreferences.length; ++i) { in UnitsRouter()
60 UnitPreferences.UnitPreference preference = unitPreferences[i]; in UnitsRouter()
/external/icu/icu4c/source/i18n/
Dunits_router.cpp58 const UnitPreference *const *unitPreferences; in UnitsRouter() local
60 …prefs.getPreferencesFor(category.data(), usage, region, unitPreferences, preferencesCount, status); in UnitsRouter()
63 const auto &preference = *unitPreferences[i]; in UnitsRouter()
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_supplemental.txt170 //supplementalData/unitPreferenceData/unitPreferences[@category="(%W)"][@usage="(%A)"]/unitPreferen…
173 //supplementalData/unitPreferenceData/unitPreferences[@category="(%W)"][@usage="(%A)"]/unitPreferen…
177 //supplementalData/unitPreferenceData/unitPreferences[@category="(%W)"][@usage="(%A)"]/unitPreferen…
181 //supplementalData/unitPreferenceData/unitPreferences[@category="(%W)"][@usage="(%A)"]/unitPreferen…
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt474 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"]/unitPreference_[…
475 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"]/unitPreference_[…
476 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"]/unitPreference[@…
477 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"]/unitPreference[@…
480 #//supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"]/unitPreference[…
481 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"][@scope="%A"]/uni…
482 //supplementalData/unitPreferenceData/unitPreferences[@category="%A"][@usage="%A"][@scope="%A"]/uni…
/external/cldr/tools/java/org/unicode/cldr/util/
DSupplementalDataInfo.java943 private final UnitPreferences unitPreferences = new UnitPreferences();
1182 unitPreferences.freeze();
1432 unitPreferences.add(
4512 return unitPreferences;
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...