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.java58 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent()
59 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent()
64 final String name1 = NameNormalizer.normalize("Helene"); in testAccents()
65 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents()
70 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase()
71 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase()
78 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); in testNonLetters()
79 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters()
84 assertTrue(NameNormalizer.compareComplexity("Helene", "helene") > 0); in testComplexityCase()
88 assertTrue(NameNormalizer.compareComplexity("H\u00e9lene", "Helene") > 0); in testComplexityAccent()
[all …]
DContactLookupKeyTest.java58 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.java239 mSbName.append(NameNormalizer.normalize(name)); in appendNameInternal()
483 final String normalizedToken = NameNormalizer.normalize(token); in getDigitsQueryBuilder()
503 builder.append(NameNormalizer.normalize(token));
517 final String normalizedToken = NameNormalizer.normalize(token);
DNameNormalizer.java30 public class NameNormalizer { class
DContactLookupKey.java79 NameNormalizer.normalize(displayName)); in appendToLookupKey()
DNameLookupBuilder.java209 return NameNormalizer.normalize(name); in normalizeName()
DContactsDatabaseHelper.java2936 String normalized = NameNormalizer.normalize(name); in insertNameLookup()
5136 NameLookupType.EMAIL_BASED_NICKNAME, NameNormalizer.normalize(address)); in insertNameLookupForEmail()
5146 NameLookupType.NICKNAME, NameNormalizer.normalize(nickname)); in insertNameLookupForNickname()
DLegacyApiSupport.java1936 String normalizedName = NameNormalizer.normalize(filterParam); in getRawContactsByFilterAsNestedQuery()
DContactsProvider2.java8583 final String normalizedFilter = NameNormalizer.normalize(filter); in appendSearchIndexJoin()
9866 sb.append(NameNormalizer.normalize(filterParam)); in appendContactFilterAsNestedQuery()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java36 import com.android.providers.contacts.NameNormalizer;
1579 if (NameNormalizer.compareComplexity(displayName, in processDisplayNameCandidate()