Searched refs:Evaluator (Results 1 – 9 of 9) sorted by relevance
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | Recommender.java | 88 public void registerEvaluator(Evaluator evaluator) { in registerEvaluator() 103 public void registerEvaluator(Evaluator evaluator, double baseScore, double weight) { in registerEvaluator() 124 double maxScore = Evaluator.NOT_RECOMMENDED; in recommendChannels() 131 if (!mIncludeRecommendedOnly || maxScore != Evaluator.NOT_RECOMMENDED) { in recommendChannels() 235 public abstract static class Evaluator { class in Recommender 239 protected Evaluator() {} in Evaluator() method in Recommender.Evaluator 273 private final Evaluator mEvaluator; 281 Recommender recommender, Evaluator evaluator, double baseScore, double weight) { in EvaluatorWrapper() 301 if (score != Evaluator.NOT_RECOMMENDED) { in getScaledEvaluatorScore() 307 return Evaluator.NOT_RECOMMENDED; in getScaledEvaluatorScore()
|
D | RandomEvaluator.java | 19 public class RandomEvaluator extends Recommender.Evaluator {
|
D | FavoriteChannelEvaluator.java | 21 public class FavoriteChannelEvaluator extends Recommender.Evaluator {
|
D | RecentChannelEvaluator.java | 21 public class RecentChannelEvaluator extends Recommender.Evaluator {
|
D | RoutineWatchEvaluator.java | 31 public class RoutineWatchEvaluator extends Recommender.Evaluator {
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | EvaluatorTestCase.java | 25 import com.android.tv.recommendation.Recommender.Evaluator; 32 public abstract class EvaluatorTestCase<T extends Evaluator> { 93 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()
|
D | RecentChannelEvaluatorTest.java | 52 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()
|
D | FavoriteChannelEvaluatorTest.java | 50 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()
|
D | RecommenderTest.java | 340 private class FakeEvaluator extends Recommender.Evaluator {
|