Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICULocaleService.java170 private String primaryID; field in ICULocaleService.LocaleKey
179 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID) { in createWithCanonicalFallback() argument
180 return createWithCanonicalFallback(primaryID, canonicalFallbackID, KIND_ANY); in createWithCanonicalFallback()
186 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, … in createWithCanonicalFallback() argument
187 if (primaryID == null) { in createWithCanonicalFallback()
190 String canonicalPrimaryID = ULocale.getName(primaryID); in createWithCanonicalFallback()
191 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
211 …protected LocaleKey(String primaryID, String canonicalPrimaryID, String canonicalFallbackID, int k… in LocaleKey() argument
212 super(primaryID); in LocaleKey()
216 this.primaryID = ""; in LocaleKey()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICULocaleService.java165 private String primaryID; field in ICULocaleService.LocaleKey
174 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID) { in createWithCanonicalFallback() argument
175 return createWithCanonicalFallback(primaryID, canonicalFallbackID, KIND_ANY); in createWithCanonicalFallback()
181 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, … in createWithCanonicalFallback() argument
182 if (primaryID == null) { in createWithCanonicalFallback()
185 String canonicalPrimaryID = ULocale.getName(primaryID); in createWithCanonicalFallback()
186 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
206 …protected LocaleKey(String primaryID, String canonicalPrimaryID, String canonicalFallbackID, int k… in LocaleKey() argument
207 super(primaryID); in LocaleKey()
211 this.primaryID = ""; in LocaleKey()
[all …]
/external/icu/icu4c/source/common/
Dservlk.cpp31 LocaleKey::createWithCanonicalFallback(const UnicodeString* primaryID, in createWithCanonicalFallback() argument
35 return LocaleKey::createWithCanonicalFallback(primaryID, canonicalFallbackID, KIND_ANY, status); in createWithCanonicalFallback()
39 LocaleKey::createWithCanonicalFallback(const UnicodeString* primaryID, in createWithCanonicalFallback() argument
44 if (primaryID == NULL || U_FAILURE(status)) { in createWithCanonicalFallback()
48 LocaleUtility::canonicalLocaleString(primaryID, canonicalPrimaryID); in createWithCanonicalFallback()
49 return new LocaleKey(*primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
52 LocaleKey::LocaleKey(const UnicodeString& primaryID, in LocaleKey() argument
56 : ICUServiceKey(primaryID) in LocaleKey()
Dservloc.h81 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
88 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
100 LocaleKey(const UnicodeString& primaryID,