Searched refs:unitPatterns (Results 1 – 6 of 6) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | BuildIcuCompactDecimalFormat.java | 313 private HashMap<String, String> unitPatterns = new HashMap<String, String>(); field in BuildIcuCompactDecimalFormat.CurrencyInfo 338 unitPatterns.put(key, resolvedCldrFile.getStringValue(path)); in CurrencyInfo() 349 String result = unitPatterns.get(count); in getUnitPattern() 351 result = unitPatterns.get("other"); in getUnitPattern()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 227 Map<String,String> unitPatterns = fetchUnitPatterns(); in getUnitPatterns() local 228 return unitPatterns; in getUnitPatterns() 306 sink.unitPatterns = result; in fetchUnitPatterns() 337 Map<String, String> unitPatterns = null; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.CurrencySink 602 assert unitPatterns != null; in consumeCurrencyUnitPatternsTable() 606 if (unitPatterns.get(pluralKeyword) == null) { in consumeCurrencyUnitPatternsTable() 607 unitPatterns.put(pluralKeyword, value.getString()); in consumeCurrencyUnitPatternsTable()
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 223 Map<String,String> unitPatterns = fetchUnitPatterns(); in getUnitPatterns() local 224 return unitPatterns; in getUnitPatterns() 302 sink.unitPatterns = result; in fetchUnitPatterns() 333 Map<String, String> unitPatterns = null; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.CurrencySink 598 assert unitPatterns != null; in consumeCurrencyUnitPatternsTable() 602 if (unitPatterns.get(pluralKeyword) == null) { in consumeCurrencyUnitPatternsTable() 603 unitPatterns.put(pluralKeyword, value.getString()); in consumeCurrencyUnitPatternsTable()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RelativeDateTimeFormatter.java | 1027 EnumMap<RelativeUnit, String[][]> unitPatterns = styleRelUnitPatterns.get(style); in consumeTimeDetail() local 1028 if (unitPatterns == null) { in consumeTimeDetail() 1029 unitPatterns = new EnumMap<>(RelativeUnit.class); in consumeTimeDetail() 1030 styleRelUnitPatterns.put(style, unitPatterns); in consumeTimeDetail() 1032 String[][] patterns = unitPatterns.get(unit.relUnit); in consumeTimeDetail() 1035 unitPatterns.put(unit.relUnit, patterns); in consumeTimeDetail()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 1090 EnumMap<RelativeUnit, String[][]> unitPatterns = styleRelUnitPatterns.get(style); in consumeTimeDetail() local 1091 if (unitPatterns == null) { in consumeTimeDetail() 1092 unitPatterns = new EnumMap<>(RelativeUnit.class); in consumeTimeDetail() 1093 styleRelUnitPatterns.put(style, unitPatterns); in consumeTimeDetail() 1095 String[][] patterns = unitPatterns.get(unit.relUnit); in consumeTimeDetail() 1098 unitPatterns.put(unit.relUnit, patterns); in consumeTimeDetail()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 1107 SimpleFormatter *const (*unitPatterns)[PATTERN_COUNT] = &cache->patterns[unit.getIndex()][0]; in getFormatterOrNull() local 1108 if (unitPatterns[width][index] != NULL) { in getFormatterOrNull() 1109 return unitPatterns[width][index]; in getFormatterOrNull() 1112 if (fallbackWidth != UMEASFMT_WIDTH_COUNT && unitPatterns[fallbackWidth][index] != NULL) { in getFormatterOrNull() 1113 return unitPatterns[fallbackWidth][index]; in getFormatterOrNull()
|