Home
last modified time | relevance | path

Searched refs:getLanguageFromLocaleString (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/inputmethod/
DSubtypeUtils.java83 final Locale subtypeLocale = new Locale(LocaleUtils.getLanguageFromLocaleString( in containsSubtypeOf()
253 final String language = LocaleUtils.getLanguageFromLocaleString(locale); in findLastResortApplicableSubtype()
261 final String subtypeLanguage = LocaleUtils.getLanguageFromLocaleString(subtypeLocale); in findLastResortApplicableSubtype()
DLocaleUtils.java232 static String getLanguageFromLocaleString(String locale) { in getLanguageFromLocaleString() method in LocaleUtils
DInputMethodSubtypeSwitchingController.java73 final String systemLanguage = LocaleUtils.getLanguageFromLocaleString( in ImeSubtypeListItem()
75 final String subtypeLanguage = LocaleUtils.getLanguageFromLocaleString( in ImeSubtypeListItem()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DLocaleUtilsTest.java411 assertThat(LocaleUtils.getLanguageFromLocaleString("en")).isEqualTo("en"); in testGetLanguageFromLocaleString()
412 assertThat(LocaleUtils.getLanguageFromLocaleString("en_US")).isEqualTo("en"); in testGetLanguageFromLocaleString()