/frameworks/minikin/libs/minikin/ |
H A D | HyphenatorMap.h | 34 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 D | HyphenatorMap.cpp | 36 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 D | LocaleListCache.cpp | 87 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 D | ICUCompat.java | 108 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 D | LocaleListTest.cpp | 28 const LocaleList& getLocaleList(const std::string& localeStr) { argument 29 return LocaleListCache::getById(LocaleListCache::getId(localeStr));
|
H A D | HyphenatorMapTest.cpp | 133 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 D | SpellCheckerSubtype.java | 247 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; 249 return localeStr; 254 return String.format(subtypeName.toString(), localeStr); 256 return localeStr;
|
H A D | TextServicesManager.java | 164 final String localeStr = locale.toString(); 169 if (tempSubtypeLocale.equals(localeStr)) {
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 326 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 D | SpellCheckerService.java | 176 final String localeStr = getLocale(); 177 if (!TextUtils.isEmpty(localeStr)) { 178 mSentenceLevelAdapter = new SentenceLevelAdapter(new Locale(localeStr));
|
/frameworks/minikin/include/minikin/ |
H A D | Hyphenator.h | 37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1320 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 D | RuimRecords.java | 733 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 D | android_database_SQLiteConnection.cpp | 284 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 D | InputMethodUtils.java | 347 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.
|