Home
last modified time | relevance | path

Searched refs:localeStr (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
DSubtypeLocaleUtils.java47 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() argument
48 if (TextUtils.isEmpty(localeStr)) { in constructLocaleFromString()
52 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
/frameworks/minikin/libs/minikin/
DHyphenatorMap.h34 static void add(const std::string& localeStr, const Hyphenator* hyphenator) { in add() argument
35 getInstance().addInternal(localeStr, hyphenator); in add()
62 void addInternal(const std::string& localeStr, const Hyphenator* hyphenator);
DHyphenatorMap.cpp36 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator) { in addHyphenator() argument
37 HyphenatorMap::add(localeStr, hyphenator); in addHyphenator()
48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { in addInternal() argument
49 const Locale locale(localeStr); in addInternal()
DLocaleListCache.cpp91 StringPiece localeStr = it.next(); in parseLocaleList() local
92 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
/frameworks/base/core/java/android/app/admin/
DFullyManagedDeviceProvisioningParams.java90 @Nullable String localeStr, in FullyManagedDeviceProvisioningParams() argument
99 getLocale(localeStr), in FullyManagedDeviceProvisioningParams()
106 private static Locale getLocale(String localeStr) { in getLocale() argument
107 return localeStr == null ? null : Locale.forLanguageTag(localeStr); in getLocale()
/frameworks/minikin/tests/unittest/
DLocaleListTest.cpp28 const LocaleList& getLocaleList(const std::string& localeStr) { in getLocaleList() argument
29 return LocaleListCache::getById(LocaleListCache::getId(localeStr)); in getLocaleList()
DHyphenatorMapTest.cpp133 const Locale& getLocale(const std::string& localeStr) { in getLocale() argument
136 const uint32_t id = LocaleListCache::getId(localeStr); in getLocale()
142 const Hyphenator* lookup(const std::string& localeStr) { in lookup() argument
143 return mMap.lookupInternal(getLocale(localeStr)); in lookup()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java249 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local
251 return localeStr; in getDisplayName()
256 return String.format(subtypeName.toString(), localeStr); in getDisplayName()
258 return localeStr; in getDisplayName()
DTextServicesManager.java255 final String localeStr = locale.toString(); in newSpellCheckerSession() local
260 if (tempSubtypeLocale.equals(localeStr)) { in newSpellCheckerSession()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java176 final String localeStr = getLocale(); in onGetSentenceSuggestionsMultiple() local
177 if (!TextUtils.isEmpty(localeStr)) { in onGetSentenceSuggestionsMultiple()
178 mSentenceLevelAdapter = new SentenceLevelAdapter(new Locale(localeStr)); in onGetSentenceSuggestionsMultiple()
/frameworks/base/tools/aapt/
DCommand.cpp1391 const char* localeStr = locales[i].c_str(); in doDump() local
1392 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump()
1396 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
1404 printf("application-label-%s:'%s'\n", localeStr, in doDump()
2356 const char* localeStr = locales[i].c_str(); in doDump() local
2357 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
2358 localeStr = "--_--"; in doDump()
2360 printf(" '%s'", localeStr); in doDump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java741 final String localeStr = locales[i]; in getAssetLanguages() local
742 final int separator = localeStr.indexOf('-'); in getAssetLanguages()
744 localeLangs[i] = localeStr; in getAssetLanguages()
746 localeLangs[i] = localeStr.substring(0, separator); in getAssetLanguages()
/frameworks/minikin/include/minikin/
DHyphenator.h37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp362 jstring localeStr) { in nativeRegisterLocalizedCollators() argument
365 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators()
367 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()