Home
last modified time | relevance | path

Searched refs:substituteHandling (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleDisplayNamesImpl.java45 private final DisplayContext substituteHandling; field in LocaleDisplayNamesImpl
146 DisplayContext substituteHandling = DisplayContext.SUBSTITUTE; in LocaleDisplayNamesImpl() local
160 substituteHandling = contextItem; in LocaleDisplayNamesImpl()
170 this.substituteHandling = substituteHandling; in LocaleDisplayNamesImpl()
171 …this.langData = LangDataTables.impl.get(locale, substituteHandling == DisplayContext.NO_SUBSTITUTE… in LocaleDisplayNamesImpl()
172 …this.regionData = RegionDataTables.impl.get(locale, substituteHandling == DisplayContext.NO_SUBSTI… in LocaleDisplayNamesImpl()
259 result = substituteHandling; in getContext()
447 return substituteHandling == DisplayContext.SUBSTITUTE ? lang : null; in languageDisplayName()
736 private DisplayContext substituteHandling; field in LocaleDisplayNamesImpl.Cache
740 …ayContext.LENGTH_FULL == this.nameLength && DisplayContext.SUBSTITUTE == this.substituteHandling && in get()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleDisplayNamesImpl.java41 private final DisplayContext substituteHandling; field in LocaleDisplayNamesImpl
142 DisplayContext substituteHandling = DisplayContext.SUBSTITUTE; in LocaleDisplayNamesImpl() local
156 substituteHandling = contextItem; in LocaleDisplayNamesImpl()
166 this.substituteHandling = substituteHandling; in LocaleDisplayNamesImpl()
167 …this.langData = LangDataTables.impl.get(locale, substituteHandling == DisplayContext.NO_SUBSTITUTE… in LocaleDisplayNamesImpl()
168 …this.regionData = RegionDataTables.impl.get(locale, substituteHandling == DisplayContext.NO_SUBSTI… in LocaleDisplayNamesImpl()
255 result = substituteHandling; in getContext()
443 return substituteHandling == DisplayContext.SUBSTITUTE ? lang : null; in languageDisplayName()
726 private DisplayContext substituteHandling; field in LocaleDisplayNamesImpl.Cache
730 …ayContext.LENGTH_FULL == this.nameLength && DisplayContext.SUBSTITUTE == this.substituteHandling && in get()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java1102 public DisplayContext substituteHandling; in TestDisplayNames() field in ULocaleTest.Item
1110 substituteHandling = sub; in TestDisplayNames()
1164 …tance(locale, item.dialectHandling, item.capitalization, item.nameLength, item.substituteHandling); in TestDisplayNames()
1171 … DisplayContext substituteHandling = ldn.getContext(DisplayContext.Type.SUBSTITUTE_HANDLING); in TestDisplayNames() local
1172 …em.capitalization || nameLength != item.nameLength || substituteHandling != item.substituteHandlin… in TestDisplayNames()
1174 … ", nameLen: " + item.nameLength + ", substituteHandling: " + item.substituteHandling + ", locToNa… in TestDisplayNames()
1175 …: " + capitalization + ", nameLen: " + nameLength + ", substituteHandling: " + substituteHandling); in TestDisplayNames()
1180 … ", nameLen: " + item.nameLength + ", substituteHandling: " + item.substituteHandling + ", locToNa… in TestDisplayNames()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1099 public DisplayContext substituteHandling; in TestDisplayNames() field in ULocaleTest.Item
1107 substituteHandling = sub; in TestDisplayNames()
1161 …tance(locale, item.dialectHandling, item.capitalization, item.nameLength, item.substituteHandling); in TestDisplayNames()
1168 … DisplayContext substituteHandling = ldn.getContext(DisplayContext.Type.SUBSTITUTE_HANDLING); in TestDisplayNames() local
1169 …em.capitalization || nameLength != item.nameLength || substituteHandling != item.substituteHandlin… in TestDisplayNames()
1171 … ", nameLen: " + item.nameLength + ", substituteHandling: " + item.substituteHandling + ", locToNa… in TestDisplayNames()
1172 …: " + capitalization + ", nameLen: " + nameLength + ", substituteHandling: " + substituteHandling); in TestDisplayNames()
1177 … ", nameLen: " + item.nameLength + ", substituteHandling: " + item.substituteHandling + ", locToNa… in TestDisplayNames()