Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java35 private final Deque<WatchedProgram> mWatchHistory; field in ChannelRecord
44 mWatchHistory = new ArrayDeque<>(); in ChannelRecord()
66 WatchedProgram p = mWatchHistory.peekLast(); in getLastWatchEndTimeMs()
85 return mWatchHistory.toArray(new WatchedProgram[mWatchHistory.size()]); in getWatchHistory()
89 mWatchHistory.offer(p); in logWatchHistory()
91 if (mWatchHistory.size() > MAX_HISTORY_SIZE) { in logWatchHistory()
92 WatchedProgram program = mWatchHistory.poll(); in logWatchHistory()