HomeSort by relevance Sort by last modified time
    Searched refs:Recommender (Results 1 - 13 of 13) sorted by null

  /packages/apps/TV/src/com/android/tv/recommendation/
RandomEvaluator.java 19 public class RandomEvaluator extends Recommender.Evaluator {
Recommender.java 35 public class Recommender implements RecommendationDataManager.Listener {
36 private static final String TAG = "Recommender";
61 * Create a recommender object.
65 public Recommender(Context context, Listener listener, boolean includeRecommendedOnly) {
72 Recommender(Listener listener, boolean includeRecommendedOnly,
98 * @param evaluator The evaluator to register inside this recommender.
236 private Recommender mRecommender;
256 * @param channelId The channel ID which will be evaluated by this recommender.
261 protected void setRecommender(Recommender recommender) {
    [all...]
FavoriteChannelEvaluator.java 21 public class FavoriteChannelEvaluator extends Recommender.Evaluator {
RecentChannelEvaluator.java 21 public class RecentChannelEvaluator extends Recommender.Evaluator {
NotificationService.java 65 public class NotificationService extends Service implements Recommender.Listener,
103 private Recommender mRecommender;
184 mRecommender = new Recommender(NotificationService.this, NotificationService.this, true);
RoutineWatchEvaluator.java 31 public class RoutineWatchEvaluator extends Recommender.Evaluator {
33 // improve the performance of this recommender.
  /packages/apps/TV/src/com/android/tv/menu/
ChannelsRow.java 24 import com.android.tv.recommendation.Recommender;
32 private Recommender mTvRecommendation;
38 mTvRecommendation = new Recommender(getContext(), new Recommender.Listener() {
ChannelsRowAdapter.java 32 import com.android.tv.recommendation.Recommender;
49 private final Recommender mRecommender;
118 public ChannelsRowAdapter(Context context, Recommender recommender,
123 mRecommender = recommender;
  /packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
EvaluatorTestCase.java 23 import com.android.tv.recommendation.Recommender.Evaluator;
46 Recommender mRecommender = new FakeRecommender();
112 private class FakeRecommender extends Recommender {
114 super(new Recommender.Listener() {
RecentChannelEvaluatorTest.java 47 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
66 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED;
FavoriteChannelEvaluatorTest.java 45 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
64 assertEquals(Recommender.Evaluator.NOT_RECOMMENDED,
94 double previousScore = Recommender.Evaluator.NOT_RECOMMENDED;
RecommenderTest.java 65 private Recommender mRecommender;
88 // Recommender doesn't recommend any channels because all channels are not recommended.
100 // Recommender recommends every channel because it recommends not-recommended channels too.
153 // Only two channels are recommended because recommender doesn't recommend other channels.
213 // A channel which is not recommended by the recommender has to get an invalid sort key.
214 assertEquals(Recommender.INVALID_CHANNEL_SORT_KEY,
231 // recommender has a minimum recommendation update period.
258 // After loading channels and watch logs are finished, recommender must be available to use.
264 MoreAsserts.assertNotEqual(Recommender.INVALID_CHANNEL_SORT_KEY,
271 mRecommender = new Recommender(new Recommender.Listener()
    [all...]
RecommendationUtils.java 70 private Recommender mRecommender;
77 public void setRecommender(Recommender recommender) {
78 mRecommender = recommender;
141 * notify the recommender that there's a new watch log.

Completed in 150 milliseconds