Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsDictionaryUtilsTest.java41 assertEquals(5, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
44 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
48 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
52 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
58 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.ENGLISH)); in testUseFirstLastBigramsForLocale()
59 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.US)); in testUseFirstLastBigramsForLocale()
60 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.UK)); in testUseFirstLastBigramsForLocale()
61 assertFalse(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.CHINA)); in testUseFirstLastBigramsForLocale()
62 assertFalse(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.GERMAN)); in testUseFirstLastBigramsForLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsBinaryDictionary.java57 mUseFirstLastBigrams = ContactsDictionaryUtils.useFirstLastBigramsForLocale(locale); in ContactsBinaryDictionary()
140 int end = ContactsDictionaryUtils.getWordEndPosition(name, len, i); in addNameLocked()
DContactsDictionaryUtils.java26 public class ContactsDictionaryUtils { class