Home
last modified time | relevance | path

Searched refs:maxScore (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java195 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() local
196 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() local
335 if ((s > maxScore) || ((s == maxScore) && (contactId > score.getContactId()))) { in pickBestMatch()
337 maxScore = s; in pickBestMatch()
DRawContactMatcher.java193 int maxScore = getMaxScore(candidateNameType, nameType); in matchName() local
194 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()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecentChannelEvaluator.java45 double maxScore = 0.0; in evaluateChannel() local
60 maxScore = Math.max(maxScore, watchDurationScore * recentWatchScore); in evaluateChannel()
62 return (maxScore > 0.0) ? maxScore : NOT_RECOMMENDED; in evaluateChannel()
DRoutineWatchEvaluator.java66 double maxScore = NOT_RECOMMENDED; in evaluateChannel() local
75 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()
DRecommender.java123 double maxScore = Evaluator.NOT_RECOMMENDED; in recommendChannels() local
126 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()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dautocorrection_threshold_utils.cpp100 const float maxScore = score >= S_INT_MAX ? static_cast<float>(S_INT_MAX) in calcNormalizedScore() local
106 return (static_cast<float>(score) / maxScore) * weight; in calcNormalizedScore()