Home
last modified time | relevance | path

Searched refs:localeStr (Results 1 – 13 of 13) 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.cpp90 StringPiece localeStr = it.next(); in parseLocaleList() local
91 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
/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.java247 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local
249 return localeStr; in getDisplayName()
254 return String.format(subtypeName.toString(), localeStr); in getDisplayName()
256 return localeStr; in getDisplayName()
DTextServicesManager.java188 final String localeStr = locale.toString(); in newSpellCheckerSession() local
193 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java739 final String localeStr = locales[i]; in getAssetLanguages() local
740 final int separator = localeStr.indexOf('-'); in getAssetLanguages()
742 localeLangs[i] = localeStr; in getAssetLanguages()
744 localeLangs[i] = localeStr.substring(0, separator); in getAssetLanguages()
/frameworks/base/tools/aapt/
DCommand.cpp1322 const char* localeStr = locales[i].string(); in doDump() local
1323 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump()
1327 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
1335 printf("application-label-%s:'%s'\n", localeStr, in doDump()
2283 const char* localeStr = locales[i].string(); in doDump() local
2284 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
2285 localeStr = "--_--"; in doDump()
2287 printf(" '%s'", localeStr); in doDump()
/frameworks/minikin/include/minikin/
DHyphenator.h37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp354 jstring localeStr) { in nativeRegisterLocalizedCollators() argument
357 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators()
359 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()