Searched refs:localeStr (Results 1 – 9 of 9) sorted by relevance
/frameworks/support/compat/java/android/support/v4/text/ |
D | ICUCompat.java | 107 private static String getScript(String localeStr) { in getScript() argument 110 final Object[] args = new Object[] { localeStr }; in getScript() 124 final String localeStr = locale.toString(); in addLikelySubtags() local 127 final Object[] args = new Object[] { localeStr }; in addLikelySubtags() 138 return localeStr; in addLikelySubtags()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSubtype.java | 247 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()
|
D | TextServicesManager.java | 158 final String localeStr = locale.toString(); in newSpellCheckerSession() local 163 if (tempSubtypeLocale.equals(localeStr)) { in newSpellCheckerSession()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 325 const char *localeStr = env->GetStringUTFChars(locale, NULL); in android_media_MediaScanner_setLocale() local 326 if (localeStr == NULL) { // Out of memory in android_media_MediaScanner_setLocale() 329 mp->setLocale(localeStr); in android_media_MediaScanner_setLocale() 331 env->ReleaseStringUTFChars(locale, localeStr); in android_media_MediaScanner_setLocale()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 176 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/ |
D | RuimRecords.java | 728 final String localeStr = locales[i]; in getAssetLanguages() local 729 final int separator = localeStr.indexOf('-'); in getAssetLanguages() 731 localeLangs[i] = localeStr; in getAssetLanguages() 733 localeLangs[i] = localeStr.substring(0, separator); in getAssetLanguages()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 1308 const char* localeStr = locales[i].string(); in doDump() local 1309 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump() 1313 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 1321 printf("application-label-%s:'%s'\n", localeStr, in doDump() 2269 const char* localeStr = locales[i].string(); in doDump() local 2270 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 2271 localeStr = "--_--"; in doDump() 2273 printf(" '%s'", localeStr); in doDump()
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 284 jstring localeStr) { in nativeRegisterLocalizedCollators() argument 287 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators() 289 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodUtils.java | 334 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() argument 335 if (TextUtils.isEmpty(localeStr)) { in constructLocaleFromString() 339 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
|