Home
last modified time | relevance | path

Searched refs:dialectHandling (Results 1 – 12 of 12) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleDisplayNamesImpl.java42 private final DialectHandling dialectHandling; field in LocaleDisplayNamesImpl
101 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
103 return cache.get(locale, dialectHandling); in getInstance()
137 public LocaleDisplayNamesImpl(ULocale locale, DialectHandling dialectHandling) { in LocaleDisplayNamesImpl() argument
138 …this(locale, (dialectHandling==DialectHandling.STANDARD_NAMES)? DisplayContext.STANDARD_NAMES: Dis… in LocaleDisplayNamesImpl()
143 DialectHandling dialectHandling = DialectHandling.STANDARD_NAMES; in LocaleDisplayNamesImpl() local
150 dialectHandling = (contextItem.value()==DisplayContext.STANDARD_NAMES.value())? in LocaleDisplayNamesImpl()
167 this.dialectHandling = dialectHandling; in LocaleDisplayNamesImpl()
242 return dialectHandling; in getDialectHandling()
250 …result = (dialectHandling==DialectHandling.STANDARD_NAMES)? DisplayContext.STANDARD_NAMES: Display… in getContext()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleDisplayNamesImpl.java38 private final DialectHandling dialectHandling; field in LocaleDisplayNamesImpl
97 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
99 return cache.get(locale, dialectHandling); in getInstance()
133 public LocaleDisplayNamesImpl(ULocale locale, DialectHandling dialectHandling) { in LocaleDisplayNamesImpl() argument
134 …this(locale, (dialectHandling==DialectHandling.STANDARD_NAMES)? DisplayContext.STANDARD_NAMES: Dis… in LocaleDisplayNamesImpl()
139 DialectHandling dialectHandling = DialectHandling.STANDARD_NAMES; in LocaleDisplayNamesImpl() local
146 dialectHandling = (contextItem.value()==DisplayContext.STANDARD_NAMES.value())? in LocaleDisplayNamesImpl()
163 this.dialectHandling = dialectHandling; in LocaleDisplayNamesImpl()
238 return dialectHandling; in getDialectHandling()
246 …result = (dialectHandling==DialectHandling.STANDARD_NAMES)? DisplayContext.STANDARD_NAMES: Display… in getContext()
[all …]
/external/icu/icu4c/source/common/
Dlocdspnm.cpp163 UDialectHandling dialectHandling;
167 DefaultLocaleDisplayNames(UDialectHandling dialectHandling);
195 DefaultLocaleDisplayNames::DefaultLocaleDisplayNames(UDialectHandling dialectHandling)
196 : dialectHandling(dialectHandling) {
209 return dialectHandling;
277 UDialectHandling dialectHandling; member in LocaleDisplayNamesImpl
312 LocaleDisplayNamesImpl(const Locale& locale, UDialectHandling dialectHandling);
358 UDialectHandling dialectHandling) in LocaleDisplayNamesImpl() argument
359 : dialectHandling(dialectHandling) in LocaleDisplayNamesImpl()
371 : dialectHandling(ULDN_STANDARD_NAMES) in LocaleDisplayNamesImpl()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DLocaleDisplayNames.java76 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
81 locale, dialectHandling); in getInstance()
89 result = new LastResortLocaleDisplayNames(locale, dialectHandling); in getInstance()
422 private LastResortLocaleDisplayNames(ULocale locale, DialectHandling dialectHandling) { in LastResortLocaleDisplayNames() argument
424 DisplayContext context = (dialectHandling == DialectHandling.DIALECT_NAMES) ? in LastResortLocaleDisplayNames()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DLocaleDisplayNames.java82 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
87 locale, dialectHandling); in getInstance()
95 result = new LastResortLocaleDisplayNames(locale, dialectHandling); in getInstance()
456 private LastResortLocaleDisplayNames(ULocale locale, DialectHandling dialectHandling) { in LastResortLocaleDisplayNames() argument
458 DisplayContext context = (dialectHandling == DialectHandling.DIALECT_NAMES) ? in LastResortLocaleDisplayNames()
/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp285 UDisplayContext dialectHandling; member
373 …UDisplayContext contexts[3] = {ctxtItemPtr->dialectHandling, ctxtItemPtr->capitalization, ctxtItem… in TestUldnDisplayContext()
378 ", dialectHandling " + ctxtItemPtr->dialectHandling + in TestUldnDisplayContext()
382 … UDisplayContext dialectHandling = uldn_getContext(uldn, UDISPCTX_TYPE_DIALECT_HANDLING, &status); in TestUldnDisplayContext() local
387 } else if (dialectHandling != ctxtItemPtr->dialectHandling || in TestUldnDisplayContext()
/external/icu/icu4c/source/common/unicode/
Dlocdspnm.h65 UDialectHandling dialectHandling);
Duldnames.h70 UDialectHandling dialectHandling,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java1099 public DisplayContext dialectHandling; in TestDisplayNames() field in ULocaleTest.Item
1107 dialectHandling = dia; in TestDisplayNames()
1164 …LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capital… in TestDisplayNames()
1165 … DisplayContext dialectHandling = ldn.getContext(DisplayContext.Type.DIALECT_HANDLING); in TestDisplayNames() local
1167 dialectHandling == DisplayContext.DIALECT_NAMES, in TestDisplayNames()
1172 …if (dialectHandling != item.dialectHandling || capitalization != item.capitalization || nameLength… in TestDisplayNames()
1173 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1175 …", => read back dialectNam?: " + dialectHandling + ", capitalize: " + capitalization + ", nameLen:… in TestDisplayNames()
1179 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1096 public DisplayContext dialectHandling; in TestDisplayNames() field in ULocaleTest.Item
1104 dialectHandling = dia; in TestDisplayNames()
1161 …LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capital… in TestDisplayNames()
1162 … DisplayContext dialectHandling = ldn.getContext(DisplayContext.Type.DIALECT_HANDLING); in TestDisplayNames() local
1164 dialectHandling == DisplayContext.DIALECT_NAMES, in TestDisplayNames()
1169 …if (dialectHandling != item.dialectHandling || capitalization != item.capitalization || nameLength… in TestDisplayNames()
1170 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1172 …", => read back dialectNam?: " + dialectHandling + ", capitalize: " + capitalization + ", nameLen:… in TestDisplayNames()
1176 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
/external/icu/libandroidicu/include/unicode/
Duldnames.h70 UDialectHandling dialectHandling,
/external/icu/libandroidicu/static_shim/
Dshim.cpp1711 ULocaleDisplayNames * uldn_open_android(const char * locale, UDialectHandling dialectHandling, UErr… in uldn_open_android() argument
1712 return uldn_open(locale, dialectHandling, pErrorCode); in uldn_open_android()