Searched refs:mNameSplitter (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 41 private NameSplitter mNameSplitter; field in NameSplitterTest 50 mNameSplitter = new NameSplitter("Mr, Ms, Mrs", "d', st, st., von", "Jr., M.D., MD, D.D.S.", in createNameSplitter() 252 mNameSplitter.guessNameStyle(name); in testGuessFullNameStyleChineseMixed() 336 mNameSplitter.split(name, fullName); in assertSplitName() 359 String actual = mNameSplitter.join(name, givenNameFirst, true); in assertJoinedName() 365 mNameSplitter.split(name, fullName); in assertFullNameStyle() 366 mNameSplitter.guessNameStyle(name); in assertFullNameStyle() 374 mNameSplitter.split(name, fullName); in assertFullNameStyle() 379 mNameSplitter.guessNameStyle(name); in assertFullNameStyle() 391 mNameSplitter.guessNameStyle(name); in assertPhoneticNameStyle()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 977 private NameSplitter mNameSplitter; field in ContactsDatabaseHelper 3903 mNameSplitter = new NameSplitter( in createNameSplitter() 3909 return mNameSplitter; in createNameSplitter() 4806 if (mNameSplitter == null) { in updateRawContactDisplayName() 4929 displayNameStyle = mNameSplitter.getAdjustedFullNameStyle(displayNameStyle); in updateRawContactDisplayName() 4933 displayNamePrimary = mNameSplitter.join(bestName, true, true); in updateRawContactDisplayName() 4934 displayNameAlternative = mNameSplitter.join(bestName, false, true); in updateRawContactDisplayName() 4940 sortNamePrimary = mNameSplitter.join(bestName, true, false); in updateRawContactDisplayName() 4941 sortNameAlternative = mNameSplitter.join(bestName, false, false); in updateRawContactDisplayName() 4944 bestPhoneticName = mNameSplitter.joinPhoneticName(bestName); in updateRawContactDisplayName() [all …]
|
D | ContactsProvider2.java | 1480 private NameSplitter mNameSplitter; field in ContactsProvider2 1678 createPhotoPriorityResolver(getContext()), mNameSplitter) in setNewAggregatorForTest() 1680 createPhotoPriorityResolver(getContext()), mNameSplitter); in setNewAggregatorForTest() 1694 mNameSplitter = mContactsHelper.createNameSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale() 1695 mNameLookupBuilder = new StructuredNameLookupBuilder(mNameSplitter); in initForDefaultLocale() 1708 createPhotoPriorityResolver(context), mNameSplitter) in initForDefaultLocale() 1710 createPhotoPriorityResolver(context), mNameSplitter); in initForDefaultLocale() 1714 createPhotoPriorityResolver(context), mNameSplitter); in initForDefaultLocale() 1748 mNameSplitter, mNameLookupBuilder)); in initDataRowHandlers()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 147 protected final NameSplitter mNameSplitter; field in AbstractContactAggregator 279 mNameSplitter = nameSplitter; in AbstractContactAggregator() 1119 mNameSplitter, candidates); in updateMatchScoresBasedOnNameMatches()
|
D | ContactAggregator2.java | 636 mNameSplitter, candidates); in updateMatchScoresBasedOnNameMatches()
|