Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java96 assertThat(mRecommender.recommendChannels()).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
97 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
98 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
99 assertThat(mRecommender.recommendChannels(3)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
100 assertThat(mRecommender.recommendChannels(4)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
101 assertThat(mRecommender.recommendChannels(5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
109 assertThat(mRecommender.recommendChannels()).hasSize(4); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
110 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
111 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
112 assertThat(mRecommender.recommendChannels(3)).hasSize(3); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java107 public List<Channel> recommendChannels() { in recommendChannels() method in Recommender
108 return recommendChannels(mDataManager.getChannelRecordCount()); in recommendChannels()
120 public List<Channel> recommendChannels(int size) { in recommendChannels() method in Recommender
223 List<Channel> recommendedChannels = recommendChannels(); in checkRecommendationChanged()
DNotificationService.java287 List<Channel> channels = recommendChannels(); in showRecommendation()
318 List<Channel> channels = recommendChannels(); in changeRecommendation()
333 private List<Channel> recommendChannels() { in recommendChannels() method in NotificationService
334 List channels = mRecommender.recommendChannels(); in recommendChannels()
DChannelPreviewUpdater.java176 List<Channel> channels = new ArrayList<>(mRecommender.recommendChannels()); in updatePreviewDataForChannels()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java285 for (Channel channel : mRecommender.recommendChannels(mMaxCount)) {