OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NOT_RECOMMENDED
(Results
1 - 8
of
8
) sorted by null
/packages/apps/TV/src/com/android/tv/recommendation/
FavoriteChannelEvaluator.java
41
return
NOT_RECOMMENDED
;
45
return
NOT_RECOMMENDED
;
RecentChannelEvaluator.java
42
return
NOT_RECOMMENDED
;
62
return (maxScore > 0.0) ? maxScore :
NOT_RECOMMENDED
;
Recommender.java
123
double maxScore = Evaluator.
NOT_RECOMMENDED
;
130
if (!mIncludeRecommendedOnly || maxScore != Evaluator.
NOT_RECOMMENDED
) {
235
public static final double
NOT_RECOMMENDED
= -1.0;
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
;
RoutineWatchEvaluator.java
46
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/
EvaluatorTestCase.java
94
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));
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
318
return
NOT_RECOMMENDED
;
321
return score == null ?
NOT_RECOMMENDED
: score;
Completed in 68 milliseconds