Home
last modified time | relevance | path

Searched refs:getWordsForLocale (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DPersonalDictionaryLookupTest.java211 verifyWordExists(lookup.getWordsForLocale(Locale.US), "foo"); in testExactLocaleMatch()
212 verifyWordDoesNotExist(lookup.getWordsForLocale(Locale.UK), "foo"); in testExactLocaleMatch()
213 verifyWordDoesNotExist(lookup.getWordsForLocale(Locale.ENGLISH), "foo"); in testExactLocaleMatch()
214 verifyWordDoesNotExist(lookup.getWordsForLocale(Locale.FRENCH), "foo"); in testExactLocaleMatch()
215 verifyWordDoesNotExist(lookup.getWordsForLocale(ANY_LOCALE), "foo"); in testExactLocaleMatch()
238 verifyWordExists(lookup.getWordsForLocale(Locale.US), "foo"); in testSubLocaleMatch()
239 verifyWordExists(lookup.getWordsForLocale(Locale.UK), "foo"); in testSubLocaleMatch()
240 verifyWordExists(lookup.getWordsForLocale(Locale.ENGLISH), "foo"); in testSubLocaleMatch()
241 verifyWordDoesNotExist(lookup.getWordsForLocale(Locale.FRENCH), "foo"); in testSubLocaleMatch()
242 verifyWordDoesNotExist(lookup.getWordsForLocale(ANY_LOCALE), "foo"); in testSubLocaleMatch()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPersonalDictionaryLookup.java318 public Set<String> getWordsForLocale(@Nonnull final Locale inputLocale) { in getWordsForLocale() method in PersonalDictionaryLookup