Searched refs:ContactsDictionaryUtils (Results 1 – 3 of 3) sorted by relevance
38 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()
57 mUseFirstLastBigrams = ContactsDictionaryUtils.useFirstLastBigramsForLocale(locale); in ContactsBinaryDictionary()140 int end = ContactsDictionaryUtils.getWordEndPosition(name, len, i); in addNameLocked()
26 public class ContactsDictionaryUtils { class