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.java38 assertEquals(5, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
41 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
45 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
49 assertEquals(10, ContactsDictionaryUtils.getWordEndPosition( in testGetWordEndPosition()
55 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.ENGLISH)); in testUseFirstLastBigramsForLocale()
56 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.US)); in testUseFirstLastBigramsForLocale()
57 assertTrue(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.UK)); in testUseFirstLastBigramsForLocale()
58 assertFalse(ContactsDictionaryUtils.useFirstLastBigramsForLocale(Locale.CHINA)); in testUseFirstLastBigramsForLocale()
59 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