Home
last modified time | relevance | path

Searched refs:Recommender (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java35 public class Recommender implements RecommendationDataManager.Listener { class
65 public Recommender(Context context, Listener listener, boolean includeRecommendedOnly) { in Recommender() method in Recommender
72 Recommender(Listener listener, boolean includeRecommendedOnly, in Recommender() method in Recommender
236 private Recommender mRecommender;
261 protected void setRecommender(Recommender recommender) { in setRecommender()
265 protected Recommender getRecommender() { in getRecommender()
281 public EvaluatorWrapper(Recommender recommender, Evaluator evaluator, in EvaluatorWrapper()
DNotificationService.java63 public class NotificationService extends Service implements Recommender.Listener,
101 private Recommender mRecommender;
176 mRecommender = new Recommender(NotificationService.this, NotificationService.this, true); in handleInitializeRecommender()
DRandomEvaluator.java19 public class RandomEvaluator extends Recommender.Evaluator {
DFavoriteChannelEvaluator.java21 public class FavoriteChannelEvaluator extends Recommender.Evaluator {
DRecentChannelEvaluator.java21 public class RecentChannelEvaluator extends Recommender.Evaluator {
DRoutineWatchEvaluator.java31 public class RoutineWatchEvaluator extends Recommender.Evaluator {
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java65 private Recommender mRecommender;
214 assertEquals(Recommender.INVALID_CHANNEL_SORT_KEY, in testGetChannelSortKey_recommendFewChannels()
264 MoreAsserts.assertNotEqual(Recommender.INVALID_CHANNEL_SORT_KEY, in assertSortKeyNotInvalid()
271 mRecommender = new Recommender(new Recommender.Listener() { in createRecommender()
312 private class FakeEvaluator extends Recommender.Evaluator {
DEvaluatorTestCase.java23 import com.android.tv.recommendation.Recommender.Evaluator;
46 Recommender mRecommender = new FakeRecommender(); in setUp()
112 private class FakeRecommender extends Recommender {
114 super(new Recommender.Listener() { in FakeRecommender()
DRecentChannelEvaluatorTest.java47 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED, in testOneChannelWithNoWatchLog()
66 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED, in testMultiChannelsWithNoWatchLog()
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED; in testMultiChannelsWithSimpleWatchLogs()
DFavoriteChannelEvaluatorTest.java45 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED, in testOneChannelWithNoWatchLog()
64 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED, in testMultiChannelsWithNoWatchLog()
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED; in testMultiChannelsWithSimpleWatchLogs()
DRecommendationUtils.java70 private Recommender mRecommender;
77 public void setRecommender(Recommender recommender) { in setRecommender()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRow.java24 import com.android.tv.recommendation.Recommender;
32 private Recommender mTvRecommendation;
38 mTvRecommendation = new Recommender(getContext(), new Recommender.Listener() { in ChannelsRow()
DChannelsRowAdapter.java31 import com.android.tv.recommendation.Recommender;
50 private final Recommender mRecommender;
102 public ChannelsRowAdapter(Context context, Recommender recommender, in ChannelsRowAdapter()