Home
last modified time | relevance | path

Searched refs:constructLocaleFromString (Results 1 – 20 of 20) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtilsTests.java63 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en"))); in testGetMainDictId()
65 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en_US"))); in testGetMainDictId()
67 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("en_GB"))); in testGetMainDictId()
70 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("es"))); in testGetMainDictId()
72 DictionaryInfoUtils.getMainDictId(LocaleUtils.constructLocaleFromString("es_US"))); in testGetMainDictId()
75 LocaleUtils.constructLocaleFromString("en_US_POSIX"))); in testGetMainDictId()
DCapsModeUtilsTests.java125 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM")); in testGetCapsMode()
150 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("el")); in testGetCapsMode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java180 return LocaleUtils.constructLocaleFromString(localeString); in getDisplayLocaleOfSubtypeLocale()
202 languageString = LocaleUtils.constructLocaleFromString(localeString).getLanguage(); in getSubtypeLanguageDisplayName()
234 displayName = LocaleUtils.constructLocaleFromString(localeString) in getSubtypeLocaleDisplayNameInternal()
313 return LocaleUtils.constructLocaleFromString(localeString); in getSubtypeLocale()
DDictionaryInfoUtils.java509 final Locale locale = LocaleUtils.constructLocaleFromString(localeString);
536 LocaleUtils.constructLocaleFromString(locale));
547 final Locale locale = LocaleUtils.constructLocaleFromString(localeString);
574 Locale locale = LocaleUtils.constructLocaleFromString(subtype.getLocale());
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java60 FormatSpec.VERSION4, LocaleUtils.constructLocaleFromString( in writeDictionary()
68 LocaleUtils.constructLocaleFromString(dict.mOptions.mAttributes.get( in writeDictionary()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DJarUtils.java104 return LocaleUtils.constructLocaleFromString(localeStr);
106 return LocaleUtils.constructLocaleFromString(localeStr.replace("-r", "_"));
DLocaleUtils.java53 public static Locale constructLocaleFromString(final String localeStr) { in constructLocaleFromString() method in LocaleUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordContents.java189 null : LocaleUtils.constructLocaleFromString(mLocale)); in apply()
231 mDescription = LocaleUtils.constructLocaleFromString(localeString).getDisplayName(); in LocaleRenderer()
DUserDictionarySettingsUtils.java38 final Locale locale = LocaleUtils.constructLocaleFromString(localeStr); in getLocaleDisplayName()
DUserDictionaryList.java149 LocaleUtils.constructLocaleFromString(localeString).getDisplayName()); in createUserDictionaryPreference()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java376 mEditText.mCurrentLocale = LocaleUtils.constructLocaleFromString(locale); in changeLanguageWithoutWait()
408 mLatinIME.replaceDictionariesForTest(LocaleUtils.constructLocaleFromString(dictLocale)); in changeKeyboardLocaleAndDictLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadOverMeteredDialog.java61 : LocaleUtils.constructLocaleFromString(localeString).getDisplayLanguage(); in setTexts()
DDictionaryService.java171 this, LocaleUtils.constructLocaleFromString(localeString)); in onStartCommand()
DActionBatch.java198 LocaleUtils.constructLocaleFromString(localeString), context, false); in execute()
DUpdateHandler.java873 : LocaleUtils.constructLocaleFromString(localeString).getDisplayLanguage(); in showDictionaryAvailableNotification()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DLocaleUtils.java172 public static Locale constructLocaleFromString(@Nonnull final String localeString) { in constructLocaleFromString() method in LocaleUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DInputMethodSubtypeCompatUtils.java96 return LocaleUtils.constructLocaleFromString(subtype.getLocale()); in getLocaleObject()
DSuggestionSpanUtils.java117 return LocaleUtils.constructLocaleFromString(localeString); in findFirstLocaleFromSuggestionSpans()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java77 return LocaleUtils.constructLocaleFromString(localeString); in getLabelLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java118 : LocaleUtils.constructLocaleFromString(localeString); in onCreate()