Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java564 Map<FormatWidth, String> styleToDnam = cache.unitToStyleToDnam.get(unit); in getUnitDisplayName() local
565 if (styleToDnam == null) { in getUnitDisplayName()
569 String dnam = styleToDnam.get(width); in getUnitDisplayName()
575 dnam = styleToDnam.get(fallbackWidth); in getUnitDisplayName()
771 EnumMap<FormatWidth, String> styleToDnam = cacheData.unitToStyleToDnam.get(unit); in setDnamIfAbsent() local
772 if (styleToDnam == null) { in setDnamIfAbsent()
773 styleToDnam = new EnumMap<FormatWidth, String>(FormatWidth.class); in setDnamIfAbsent()
774 cacheData.unitToStyleToDnam.put(unit, styleToDnam); in setDnamIfAbsent()
776 if (styleToDnam.get(width) == null) { in setDnamIfAbsent()
777 styleToDnam.put(width, value.getString()); in setDnamIfAbsent()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java584 Map<FormatWidth, String> styleToDnam = cache.unitToStyleToDnam.get(unit); in getUnitDisplayName() local
585 if (styleToDnam == null) { in getUnitDisplayName()
589 String dnam = styleToDnam.get(width); in getUnitDisplayName()
595 dnam = styleToDnam.get(fallbackWidth); in getUnitDisplayName()
799 EnumMap<FormatWidth, String> styleToDnam = cacheData.unitToStyleToDnam.get(unit); in setDnamIfAbsent() local
800 if (styleToDnam == null) { in setDnamIfAbsent()
801 styleToDnam = new EnumMap<FormatWidth, String>(FormatWidth.class); in setDnamIfAbsent()
802 cacheData.unitToStyleToDnam.put(unit, styleToDnam); in setDnamIfAbsent()
804 if (styleToDnam.get(width) == null) { in setDnamIfAbsent()
805 styleToDnam.put(width, value.getString()); in setDnamIfAbsent()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp834 const UChar* const* styleToDnam = cache->dnams[unit.getIndex()]; in getUnitDisplayName() local
835 const UChar* dnam = styleToDnam[width]; in getUnitDisplayName()
838 dnam = styleToDnam[fallbackWidth]; in getUnitDisplayName()