Searched refs:candidateNameType (Results 1 – 2 of 2) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactMatcher.java | 130 …private static void setScoreRange(int candidateNameType, int nameType, int scoreFrom, int scoreTo)… in setScoreRange() argument 131 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in setScoreRange() 140 private static int getMinScore(int candidateNameType, int nameType) { in getMinScore() argument 141 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMinScore() 149 private static int getMaxScore(int candidateNameType, int nameType) { in getMaxScore() argument 150 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMaxScore() 191 public void matchName(long contactId, int candidateNameType, String candidateName, in matchName() argument 193 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() 207 int minScore = getMinScore(candidateNameType, nameType); in matchName() 228 boolean emailBased = candidateNameType == NameLookupType.EMAIL_BASED_NICKNAME in matchName()
|
D | RawContactMatcher.java | 134 private static void setScoreRange(int candidateNameType, int nameType, int scoreFrom, in setScoreRange() argument 136 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in setScoreRange() 145 private static int getMinScore(int candidateNameType, int nameType) { in getMinScore() argument 146 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMinScore() 154 private static int getMaxScore(int candidateNameType, int nameType) { in getMaxScore() argument 155 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMaxScore() 190 candidateNameType, String candidateName, int nameType, String name, int algorithm) { in matchName() argument 191 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() 205 int minScore = getMinScore(candidateNameType, nameType); in matchName() 226 boolean emailBased = candidateNameType == NameLookupType.EMAIL_BASED_NICKNAME in matchName()
|