Searched refs:evaluateChannel (Results 1 - 9 of 9) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
H A DRandomEvaluator.java21 public double evaluateChannel(long channelId) { method in class:RandomEvaluator
H A DFavoriteChannelEvaluator.java38 public double evaluateChannel(long channelId) { method in class:FavoriteChannelEvaluator
H A DRecentChannelEvaluator.java39 public double evaluateChannel(long channelId) { method in class:RecentChannelEvaluator
H A DRecommender.java259 protected abstract double evaluateChannel(final long channelId); method in class:Recommender.Evaluator
291 * of evaluateChannel().
294 * @return Returns the scaled score (mBaseScore + score * mWeight) when evaluateChannel() is
295 * in the range of [0.0, 1.0]. If evaluateChannel() returns NOT_RECOMMENDED or any
300 double score = mEvaluator.evaluateChannel(channelId);
H A DRoutineWatchEvaluator.java43 public double evaluateChannel(long channelId) { method in class:RoutineWatchEvaluator
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DFavoriteChannelEvaluatorTest.java46 mEvaluator.evaluateChannel(channelId));
65 mEvaluator.evaluateChannel(channelId));
96 double score = mEvaluator.evaluateChannel(channelId);
111 assertTrue(mEvaluator.evaluateChannel(channelOne) ==
112 mEvaluator.evaluateChannel(channelTwo));
125 assertTrue(mEvaluator.evaluateChannel(channelOne) < mEvaluator.evaluateChannel(channelTwo));
131 assertTrue(mEvaluator.evaluateChannel(channelOne) > mEvaluator.evaluateChannel(channelTwo));
141 double previousScore = mEvaluator.evaluateChannel(channelI
[all...]
H A DRecentChannelEvaluatorTest.java48 mEvaluator.evaluateChannel(channelId));
67 mEvaluator.evaluateChannel(channelId));
96 double score = mEvaluator.evaluateChannel(channelId);
111 double previousScore = mEvaluator.evaluateChannel(channelId);
118 assertTrue(previousScore <= mEvaluator.evaluateChannel(channelId));
133 scores.put(channelId, mEvaluator.evaluateChannel(channelId));
141 assertTrue(mEvaluator.evaluateChannel(channelId) <= scores.get(channelId));
H A DEvaluatorTestCase.java94 assertEquals(Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(INVALID_CHANNEL_ID));
96 mEvaluator.evaluateChannel(mChannelRecordSortedMap.size()));
99 double score = mEvaluator.evaluateChannel(channelId);
H A DRecommenderTest.java316 public double evaluateChannel(long channelId) { method in class:RecommenderTest.FakeEvaluator

Completed in 77 milliseconds