Home
last modified time | relevance | path

Searched refs:NameNormalizer (Results 1 – 11 of 11) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java59 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent()
60 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent()
65 final String name1 = NameNormalizer.normalize("Helene"); in testAccents()
66 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents()
71 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase()
72 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase()
79 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); in testNonLetters()
80 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters()
85 assertTrue(NameNormalizer.compareComplexity("Helene", "helene") > 0); in testComplexityCase()
89 assertTrue(NameNormalizer.compareComplexity("H\u00e9lene", "Helene") > 0); in testComplexityAccent()
[all …]
DContactLookupKeyTest.java50 String normalizedName = NameNormalizer.normalize("johndoe"); in testLookupKeyUsingDisplayNameAndNoAccount()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java21 import com.android.providers.contacts.NameNormalizer;
70 byte[] s1 = Hex.decodeHex(NameNormalizer.normalize(name1)); in assertFloat()
71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java238 mSbName.append(NameNormalizer.normalize(name)); in appendNameInternal()
481 final String normalizedToken = NameNormalizer.normalize(token); in getDigitsQueryBuilder()
501 builder.append(NameNormalizer.normalize(token));
515 final String normalizedToken = NameNormalizer.normalize(token);
DNameNormalizer.java30 public class NameNormalizer { class
DContactLookupKey.java79 NameNormalizer.normalize(displayName)); in appendToLookupKey()
DNameLookupBuilder.java226 return NameNormalizer.normalize(name); in normalizeName()
DContactsDatabaseHelper.java2916 String normalized = NameNormalizer.normalize(name); in insertNameLookup()
4366 String normalizedName = NameNormalizer.normalize(name); in loadNicknameLookupTable()
4914 NameLookupType.EMAIL_BASED_NICKNAME, NameNormalizer.normalize(address)); in insertNameLookupForEmail()
4924 NameLookupType.NICKNAME, NameNormalizer.normalize(nickname)); in insertNameLookupForNickname()
DLegacyApiSupport.java1926 String normalizedName = NameNormalizer.normalize(filterParam); in getRawContactsByFilterAsNestedQuery()
DContactsProvider2.java8071 final String normalizedFilter = NameNormalizer.normalize(filter); in appendSearchIndexJoin()
9344 sb.append(NameNormalizer.normalize(filterParam)); in appendContactFilterAsNestedQuery()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java36 import com.android.providers.contacts.NameNormalizer;
1588 if (NameNormalizer.compareComplexity(displayName, in processDisplayNameCandidate()