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

/packages/apps/TV/src/com/android/tv/recommendation/
H A DFavoriteChannelEvaluator.java41 return NOT_RECOMMENDED;
45 return NOT_RECOMMENDED;
H A DRecentChannelEvaluator.java42 return NOT_RECOMMENDED;
62 return (maxScore > 0.0) ? maxScore : NOT_RECOMMENDED;
H A DRecommender.java123 double maxScore = Evaluator.NOT_RECOMMENDED;
130 if (!mIncludeRecommendedOnly || maxScore != Evaluator.NOT_RECOMMENDED) {
235 public static final double NOT_RECOMMENDED = -1.0; field in class:Recommender.Evaluator
253 * The return value should be in the range of [0.0, 1.0] or NOT_RECOMMENDED for denoting
295 * in the range of [0.0, 1.0]. If evaluateChannel() returns NOT_RECOMMENDED or any
296 * negative numbers, it returns NOT_RECOMMENDED. If calculateScore() returns more
302 if (score != Evaluator.NOT_RECOMMENDED) {
307 return Evaluator.NOT_RECOMMENDED;
H A DRoutineWatchEvaluator.java46 return NOT_RECOMMENDED;
51 return NOT_RECOMMENDED;
56 return NOT_RECOMMENDED;
63 return NOT_RECOMMENDED;
66 double maxScore = NOT_RECOMMENDED;
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DEvaluatorTestCase.java94 assertEquals(Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(INVALID_CHANNEL_ID));
95 assertEquals(Evaluator.NOT_RECOMMENDED,
101 score == Evaluator.NOT_RECOMMENDED || (0.0 <= score && score <= 1.0));
H A DRecentChannelEvaluatorTest.java47 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
66 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED;
H A DFavoriteChannelEvaluatorTest.java45 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
64 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED;
H A DRecommenderTest.java318 return NOT_RECOMMENDED;
321 return score == null ? NOT_RECOMMENDED : score;

Completed in 302 milliseconds