Searched refs:mNameSplitter (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 40 private NameSplitter mNameSplitter; field in NameSplitterTest 49 mNameSplitter = new NameSplitter("Mr, Ms, Mrs", "d', st, st., von", "Jr., M.D., MD, D.D.S.", in createNameSplitter() 251 mNameSplitter.guessNameStyle(name); in testGuessFullNameStyleChineseMixed() 335 mNameSplitter.split(name, fullName); in assertSplitName() 358 String actual = mNameSplitter.join(name, givenNameFirst, true); in assertJoinedName() 364 mNameSplitter.split(name, fullName); in assertFullNameStyle() 365 mNameSplitter.guessNameStyle(name); in assertFullNameStyle() 373 mNameSplitter.split(name, fullName); in assertFullNameStyle() 378 mNameSplitter.guessNameStyle(name); in assertFullNameStyle() 390 mNameSplitter.guessNameStyle(name); in assertPhoneticNameStyle()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 990 private NameSplitter mNameSplitter; field in ContactsDatabaseHelper 3799 mNameSplitter = new NameSplitter( in createNameSplitter() 3805 return mNameSplitter; in createNameSplitter() 4590 if (mNameSplitter == null) { in updateRawContactDisplayName() 4713 displayNameStyle = mNameSplitter.getAdjustedFullNameStyle(displayNameStyle); in updateRawContactDisplayName() 4717 displayNamePrimary = mNameSplitter.join(bestName, true, true); in updateRawContactDisplayName() 4718 displayNameAlternative = mNameSplitter.join(bestName, false, true); in updateRawContactDisplayName() 4724 sortNamePrimary = mNameSplitter.join(bestName, true, false); in updateRawContactDisplayName() 4725 sortNameAlternative = mNameSplitter.join(bestName, false, false); in updateRawContactDisplayName() 4728 bestPhoneticName = mNameSplitter.joinPhoneticName(bestName); in updateRawContactDisplayName() [all …]
|
D | ContactsProvider2.java | 1436 private NameSplitter mNameSplitter; field in ContactsProvider2 1585 createPhotoPriorityResolver(getContext()), mNameSplitter, mCommonNicknameCache) in setNewAggregatorForTest() 1587 createPhotoPriorityResolver(getContext()), mNameSplitter, mCommonNicknameCache); in setNewAggregatorForTest() 1601 mNameSplitter = mContactsHelper.createNameSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale() 1602 mNameLookupBuilder = new StructuredNameLookupBuilder(mNameSplitter); in initForDefaultLocale() 1616 createPhotoPriorityResolver(context), mNameSplitter, mCommonNicknameCache) in initForDefaultLocale() 1618 createPhotoPriorityResolver(context), mNameSplitter, mCommonNicknameCache); in initForDefaultLocale() 1622 createPhotoPriorityResolver(context), mNameSplitter, mCommonNicknameCache); in initForDefaultLocale() 1656 mNameSplitter, mNameLookupBuilder)); in initDataRowHandlers()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 148 protected final NameSplitter mNameSplitter; field in AbstractContactAggregator 282 mNameSplitter = nameSplitter; in AbstractContactAggregator() 1128 mNameSplitter, candidates); in updateMatchScoresBasedOnNameMatches()
|
D | ContactAggregator2.java | 638 mNameSplitter, candidates); in updateMatchScoresBasedOnNameMatches()
|