Home
last modified time | relevance | path

Searched refs:LOCALE_EN_GB (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/
DLocaleUtilsTest.java36 private static final Locale LOCALE_EN_GB = new Locale("en", "GB"); field in LocaleUtilsTest
53 assertEquals(LOCALE_EN_GB, locales.get(1)); in testGetSuitableLocalesForSpellChecker()
59 LocaleUtils.getSuitableLocalesForSpellChecker(LOCALE_EN_GB); in testGetSuitableLocalesForSpellChecker()
61 assertEquals(LOCALE_EN_GB, locales.get(0)); in testGetSuitableLocalesForSpellChecker()
72 assertEquals(LOCALE_EN_GB, locales.get(2)); in testGetSuitableLocalesForSpellChecker()
81 assertEquals(LOCALE_EN_GB, locales.get(2)); in testGetSuitableLocalesForSpellChecker()
92 assertEquals(LOCALE_EN_GB, locales.get(3)); in testGetSuitableLocalesForSpellChecker()
104 assertEquals(LOCALE_EN_GB, locales.get(3)); in testGetSuitableLocalesForSpellChecker()
117 assertEquals(LOCALE_EN_GB, locales.get(4)); in testGetSuitableLocalesForSpellChecker()
136 assertEquals(LOCALE_EN_GB, locales.get(3)); in testGetSuitableLocalesForSpellChecker()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java65 private static final Locale LOCALE_EN_GB = new Locale("en", "GB"); field in InputMethodUtilsTest
101 assertDefaultEnabledImes(getImesWithDefaultVoiceIme(), LOCALE_EN_GB, in testVoiceImes() local
103 assertDefaultEnabledImes(getImesWithoutDefaultVoiceIme(), LOCALE_EN_GB, in testVoiceImes() local
106 assertDefaultEnabledMinimumImes(getImesWithDefaultVoiceIme(), LOCALE_EN_GB, in testVoiceImes() local
108 assertDefaultEnabledMinimumImes(getImesWithoutDefaultVoiceIme(), LOCALE_EN_GB, in testVoiceImes() local
132 assertDefaultEnabledImes(getSamplePreinstalledImes("en-rGB"), LOCALE_EN_GB, in testKeyboardImes()
134 assertDefaultEnabledMinimumImes(getSamplePreinstalledImes("en-rGB"), LOCALE_EN_GB, in testKeyboardImes()
323 getResourcesForLocales(LOCALE_EN_GB), imi); in testGetImplicitlyApplicableSubtypesLocked()
698 assertTrue(InputMethodUtils.containsSubtypeOf(imi, LOCALE_EN_GB, !CHECK_COUNTRY, in testContainsSubtypeOf()
700 assertFalse(InputMethodUtils.containsSubtypeOf(imi, LOCALE_EN_GB, CHECK_COUNTRY, in testContainsSubtypeOf()
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DSubtypeLocaleUtilsTest.java34 private static final Locale LOCALE_EN_GB = new Locale("en", "GB"); field in SubtypeLocaleUtilsTest