Searched refs:maxScore (Results 1 – 6 of 6) sorted by relevance
195 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() local196 if (maxScore == 0) { in matchName()201 updatePrimaryScore(contactId, maxScore); in matchName()210 if (minScore == maxScore) { in matchName()236 score = (int)(minScore + (maxScore - minScore) * (1.0f - distance)); in matchName()313 int maxScore = 0; in pickBestMatch() local335 if ((s > maxScore) || ((s == maxScore) && (contactId > score.getContactId()))) { in pickBestMatch()337 maxScore = s; in pickBestMatch()
193 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() local194 if (maxScore == 0) { in matchName()199 updatePrimaryScore(rawContactId, contactId, accountId, maxScore); in matchName()208 if (minScore == maxScore) { in matchName()234 score = (int)(minScore + (maxScore - minScore) * (1.0f - distance)); in matchName()
66 double maxScore = NOT_RECOMMENDED; in evaluateChannel() local75 if (score >= REQUIRED_MIN_SCORE && score > maxScore) { in evaluateChannel()76 maxScore = score; in evaluateChannel()83 return maxScore; in evaluateChannel()89 if (score >= REQUIRED_MIN_SCORE && score > maxScore) { in evaluateChannel()90 maxScore = score; in evaluateChannel()92 return maxScore; in evaluateChannel()
45 double maxScore = 0.0; in evaluateChannel() local60 maxScore = Math.max(maxScore, watchDurationScore * recentWatchScore); in evaluateChannel()62 return (maxScore > 0.0) ? maxScore : NOT_RECOMMENDED; in evaluateChannel()
123 double maxScore = Evaluator.NOT_RECOMMENDED; in recommendChannels() local126 if (score > maxScore) { in recommendChannels()127 maxScore = score; in recommendChannels()130 if (!mIncludeRecommendedOnly || maxScore != Evaluator.NOT_RECOMMENDED) { in recommendChannels()131 records.add(new Pair<>(cr.getChannel(), maxScore)); in recommendChannels()
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()