Searched refs:maxScore (Results 1 – 2 of 2) sorted by relevance
283 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() local284 if (maxScore == 0) { in matchName()289 updatePrimaryScore(contactId, maxScore); in matchName()298 if (minScore == maxScore) { in matchName()324 score = (int)(minScore + (maxScore - minScore) * (1.0f - distance)); in matchName()401 int maxScore = 0; in pickBestMatch() local423 if ((s > maxScore) || ((s == maxScore) && (contactId > score.mContactId))) { in pickBestMatch()425 maxScore = s; in pickBestMatch()
100 const float maxScore = score >= S_INT_MAX ? static_cast<float>(S_INT_MAX) in calcNormalizedScore() local106 return (static_cast<float>(score) / maxScore) * weight; in calcNormalizedScore()