Searched refs:LOCALE_EN_US (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
D | InputMethodUtilsTest.java | 52 private static final Locale LOCALE_EN_US = new Locale("en", "US"); field in InputMethodUtilsTest 83 assertDefaultEnabledImes(getImesWithDefaultVoiceIme(), LOCALE_EN_US, in testVoiceImes() local 85 assertDefaultEnabledImes(getImesWithoutDefaultVoiceIme(), LOCALE_EN_US, in testVoiceImes() local 107 assertDefaultEnabledImes(getSamplePreinstalledImes("en-rUS"), LOCALE_EN_US, in testKeyboardImes() 241 getResourcesForLocales(LOCALE_EN_US), imi); in testGetImplicitlyApplicableSubtypesLocked() 265 getResourcesForLocales(LOCALE_EN_US), imi); in testGetImplicitlyApplicableSubtypesLocked() 606 getResourcesForLocales(LOCALE_FR, LOCALE_EN_US, LOCALE_JA_JP), imi); in testGetImplicitlyApplicableSubtypesLocked() 651 assertTrue(InputMethodUtils.containsSubtypeOf(imi, LOCALE_EN_US, !CHECK_COUNTRY, in testContainsSubtypeOf() 653 assertTrue(InputMethodUtils.containsSubtypeOf(imi, LOCALE_EN_US, CHECK_COUNTRY, in testContainsSubtypeOf() 655 assertFalse(InputMethodUtils.containsSubtypeOf(imi, LOCALE_EN_US, !CHECK_COUNTRY, in testContainsSubtypeOf() [all …]
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodUtils.java | 1391 private static final Locale LOCALE_EN_US = new Locale("en", "US"); field in InputMethodUtils 1479 if (!LOCALE_EN_US.equals(systemLocaleLanguageCountry)) { in getSuitableLocalesForSpellChecker() 1480 locales.add(LOCALE_EN_US); in getSuitableLocalesForSpellChecker() 1493 locales.add(LOCALE_EN_US); in getSuitableLocalesForSpellChecker() 1509 locales.add(LOCALE_EN_US); in getSuitableLocalesForSpellChecker()
|