Home
last modified time | relevance | path

Searched refs:NOT_RECOMMENDED (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java124 double maxScore = Evaluator.NOT_RECOMMENDED; in recommendChannels()
131 if (!mIncludeRecommendedOnly || maxScore != Evaluator.NOT_RECOMMENDED) { in recommendChannels()
236 public static final double NOT_RECOMMENDED = -1.0; field in Recommender.Evaluator
301 if (score != Evaluator.NOT_RECOMMENDED) { in getScaledEvaluatorScore()
307 return Evaluator.NOT_RECOMMENDED; in getScaledEvaluatorScore()
DRoutineWatchEvaluator.java45 return NOT_RECOMMENDED; in evaluateChannel()
50 return NOT_RECOMMENDED; in evaluateChannel()
55 return NOT_RECOMMENDED; in evaluateChannel()
62 return NOT_RECOMMENDED; in evaluateChannel()
65 double maxScore = NOT_RECOMMENDED; in evaluateChannel()
DFavoriteChannelEvaluator.java41 return NOT_RECOMMENDED; in evaluateChannel()
45 return NOT_RECOMMENDED; in evaluateChannel()
DRecentChannelEvaluator.java42 return NOT_RECOMMENDED; in evaluateChannel()
65 return (maxScore > 0.0) ? maxScore : NOT_RECOMMENDED; in evaluateChannel()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DEvaluatorTestCase.java93 Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(INVALID_CHANNEL_ID)); in assertChannelScoresValid()
95 Evaluator.NOT_RECOMMENDED, in assertChannelScoresValid()
102 score == Evaluator.NOT_RECOMMENDED || (0.0 <= score && score <= 1.0)); in assertChannelScoresValid()
DRecentChannelEvaluatorTest.java52 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
75 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
106 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED; in testMultiChannelsWithSimpleWatchLogs()
DFavoriteChannelEvaluatorTest.java50 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
73 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
106 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED; in testMultiChannelsWithSimpleWatchLogs()
DRecommenderTest.java346 return NOT_RECOMMENDED; in evaluateChannel()
349 return score == null ? NOT_RECOMMENDED : score; in evaluateChannel()