Searched refs:candidateNameType (Results 1 – 2 of 2) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactMatcher.java | 132 …private static void setScoreRange(int candidateNameType, int nameType, int scoreFrom, int scoreTo)… in setScoreRange() argument 133 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in setScoreRange() 142 private static int getMinScore(int candidateNameType, int nameType) { in getMinScore() argument 143 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMinScore() 151 private static int getMaxScore(int candidateNameType, int nameType) { in getMaxScore() argument 152 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMaxScore() 193 public void matchName(long contactId, int candidateNameType, String candidateName, in matchName() argument 195 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() 209 int minScore = getMinScore(candidateNameType, nameType); in matchName() 230 boolean emailBased = candidateNameType == NameLookupType.EMAIL_BASED_NICKNAME in matchName()
|
D | RawContactMatcher.java | 136 private static void setScoreRange(int candidateNameType, int nameType, int scoreFrom, in setScoreRange() argument 138 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in setScoreRange() 147 private static int getMinScore(int candidateNameType, int nameType) { in getMinScore() argument 148 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMinScore() 156 private static int getMaxScore(int candidateNameType, int nameType) { in getMaxScore() argument 157 int index = nameType * NameLookupType.TYPE_COUNT + candidateNameType; in getMaxScore() 192 candidateNameType, String candidateName, int nameType, String name, int algorithm) { 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()
|