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

  /packages/apps/TV/src/com/android/tv/recommendation/
RecentChannelEvaluator.java 44 WatchedProgram[] watchHistory = cr.getWatchHistory();
46 for (int i = watchHistory.length - 1; i >= 0; --i) {
48 (double) watchHistory[i].getWatchEndTimeMs() / mLastWatchLogUpdateTimeMs;
50 double watchDuration = watchHistory[i].getWatchedDurationMs();
RoutineWatchEvaluator.java 54 WatchedProgram[] watchHistory = cr.getWatchHistory();
55 if (watchHistory.length < 1) {
59 Program watchedProgram = watchHistory[watchHistory.length - 1].getProgram();
67 long watchedDurationMs = watchHistory[watchHistory.length - 1].getWatchedDurationMs();
68 for (int i = watchHistory.length - 2; i >= 0; --i) {
70 == watchHistory[i].getProgram().getStartTimeUtcMillis()) {
71 watchedDurationMs += watchHistory[i].getWatchedDurationMs();
78 watchedProgram = watchHistory[i].getProgram()
    [all...]

Completed in 240 milliseconds