Searched refs:localeStr (Results 1 - 15 of 15) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DHyphenatorMap.h34 static void add(const std::string& localeStr, const Hyphenator* hyphenator) { argument
35 getInstance().addInternal(localeStr, hyphenator);
62 void addInternal(const std::string& localeStr, const Hyphenator* hyphenator);
H A DHyphenatorMap.cpp36 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator) { argument
37 HyphenatorMap::add(localeStr, hyphenator);
48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { argument
49 const Locale locale(localeStr);
H A DLocaleListCache.cpp87 StringPiece localeStr = it.next(); local
88 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr);
/frameworks/support/compat/src/main/java/androidx/core/text/
H A DICUCompat.java108 private static String getScript(String localeStr) { argument
111 final Object[] args = new Object[] { localeStr };
125 final String localeStr = locale.toString();
128 final Object[] args = new Object[] { localeStr };
139 return localeStr;
/frameworks/minikin/tests/unittest/
H A DLocaleListTest.cpp28 const LocaleList& getLocaleList(const std::string& localeStr) { argument
29 return LocaleListCache::getById(LocaleListCache::getId(localeStr));
H A DHyphenatorMapTest.cpp133 const Locale& getLocale(const std::string& localeStr) { argument
136 const uint32_t id = LocaleListCache::getId(localeStr);
142 const Hyphenator* lookup(const std::string& localeStr) { argument
143 return mMap.lookupInternal(getLocale(localeStr));
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java247 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale;
249 return localeStr;
254 return String.format(subtypeName.toString(), localeStr);
256 return localeStr;
H A DTextServicesManager.java164 final String localeStr = locale.toString();
169 if (tempSubtypeLocale.equals(localeStr)) {
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp326 const char *localeStr = env->GetStringUTFChars(locale, NULL); local
327 if (localeStr == NULL) { // Out of memory
330 mp->setLocale(localeStr);
332 env->ReleaseStringUTFChars(locale, localeStr);
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java176 final String localeStr = getLocale();
177 if (!TextUtils.isEmpty(localeStr)) {
178 mSentenceLevelAdapter = new SentenceLevelAdapter(new Locale(localeStr));
/frameworks/minikin/include/minikin/
H A DHyphenator.h37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
/frameworks/base/tools/aapt/
H A DCommand.cpp1320 const char* localeStr = locales[i].string(); local
1321 assets.setConfiguration(config, localeStr != NULL ? localeStr : "");
1325 if (localeStr == NULL || strlen(localeStr) == 0) {
1333 printf("application-label-%s:'%s'\n", localeStr,
2281 const char* localeStr = locales[i].string(); local
2282 if (localeStr == NULL || strlen(localeStr) == 0) {
2283 localeStr
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java733 final String localeStr = locales[i];
734 final int separator = localeStr.indexOf('-');
736 localeLangs[i] = localeStr;
738 localeLangs[i] = localeStr.substring(0, separator);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp284 jstring localeStr) {
287 const char* locale = env->GetStringUTFChars(localeStr, NULL);
289 env->ReleaseStringUTFChars(localeStr, locale);
283 nativeRegisterLocalizedCollators(JNIEnv* env, jclass clazz, jlong connectionPtr, jstring localeStr) argument
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java347 public static Locale constructLocaleFromString(String localeStr) { argument
348 if (TextUtils.isEmpty(localeStr)) {
352 String[] localeParams = localeStr.split("_", 3);
361 // The length of localeStr is guaranteed to always return a 1 <= value <= 3
362 // because localeStr is not empty.

Completed in 108 milliseconds