Home
last modified time | relevance | path

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

/frameworks/support/v4/ics/android/support/v4/text/
DICUCompatIcs.java59 private static String getScript(String localeStr) { in getScript() argument
62 final Object[] args = new Object[] { localeStr }; in getScript()
77 final String localeStr = locale.toString(); in addLikelySubtags() local
80 final Object[] args = new Object[] { localeStr }; in addLikelySubtags()
92 return localeStr; in addLikelySubtags()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java152 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() argument
153 if (TextUtils.isEmpty(localeStr)) in constructLocaleFromString()
155 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
181 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local
183 return localeStr; in getDisplayName()
188 return String.format(subtypeName.toString(), localeStr); in getDisplayName()
190 return localeStr; in getDisplayName()
DTextServicesManager.java155 final String localeStr = locale.toString(); in newSpellCheckerSession() local
160 if (tempSubtypeLocale.equals(localeStr)) { in newSpellCheckerSession()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp325 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/view/inputmethod/
DInputMethodSubtype.java399 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local
401 return localeStr; in getDisplayName()
409 : localeStr; in getDisplayName()
418 return localeStr; in getDisplayName()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java175 final String localeStr = getLocale(); in onGetSentenceSuggestionsMultiple() local
176 if (!TextUtils.isEmpty(localeStr)) { in onGetSentenceSuggestionsMultiple()
177 mSentenceLevelAdapter = new SentenceLevelAdapter(new Locale(localeStr)); in onGetSentenceSuggestionsMultiple()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java728 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/
DCommand.cpp1081 const char* localeStr = locales[i].string(); in doDump() local
1082 assets.setLocale(localeStr != NULL ? localeStr : ""); in doDump()
1086 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
1094 printf("application-label-%s:'%s'\n", localeStr, in doDump()
1985 const char* localeStr = locales[i].string(); in doDump() local
1986 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump()
1987 localeStr = "--_--"; in doDump()
1989 printf(" '%s'", localeStr); in doDump()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp273 jstring localeStr) { in nativeRegisterLocalizedCollators() argument
276 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators()
278 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java374 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() argument
375 if (TextUtils.isEmpty(localeStr)) { in constructLocaleFromString()
379 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1757 final String localeStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALE); in readXmlAttrs() local
1758 if (localeStr != null) { in readXmlAttrs()
1759 configOut.locale = Locale.forLanguageTag(localeStr); in readXmlAttrs()
/frameworks/base/libs/androidfw/
DAssetManager.cpp843 const String8& localeStr = locales->itemAt(i); in getLocales() local
844 if (localeStr.find(kTlPrefix) == 0) { in getLocales()
846 replaced += (localeStr.string() + kTlPrefixLen); in getLocales()