Searched refs:channelList (Results 1 – 9 of 9) sorted by relevance
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsRowAdapter.java | 165 List<Channel> channelList = new ArrayList<>(); in update() local 168 channelList.add(dummyChannel); in update() 197 channelList.add(dummyChannel); in update() 201 channelList.add(dummyChannel); in update() 205 channelList.add(currentChannel); in update() 209 channelList.add(currentChannel); in update() 215 channelList.addAll(getRecentChannels()); in update() 216 setItemList(channelList); in update() 220 List<Channel> channelList = new ArrayList<>(); in getRecentChannels() local 223 channelList.add(channel); in getRecentChannels() [all …]
|
D | ChannelsPosterPrefetcher.java | 100 List<Channel> channelList = mChannelsAdapter.getItemList(); in doPrefetchImages() local 101 if (channelList != null) { in doPrefetchImages() 102 for (Channel channel : channelList) { in doPrefetchImages() 119 + "channels " + channelList); in doPrefetchImages()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RecommenderTest.java | 198 List<Channel> channelList = Arrays.asList(mChannel_1, mChannel_2, mChannel_3, mChannel_4); in testGetChannelSortKey_recommendAllChannels() local 199 Collections.sort(channelList, CHANNEL_SORT_KEY_COMPARATOR); in testGetChannelSortKey_recommendAllChannels() 202 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendAllChannels() 203 assertSortKeyNotInvalid(channelList); in testGetChannelSortKey_recommendAllChannels() 217 List<Channel> channelList = Arrays.asList(mChannel_2, mChannel_3, mChannel_4); in testGetChannelSortKey_recommendFewChannels() local 218 Collections.sort(channelList, CHANNEL_SORT_KEY_COMPARATOR); in testGetChannelSortKey_recommendFewChannels() 220 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendFewChannels() 221 assertSortKeyNotInvalid(channelList); in testGetChannelSortKey_recommendFewChannels() 262 private void assertSortKeyNotInvalid(List<Channel> channelList) { in assertSortKeyNotInvalid() argument 263 for (Channel channel : channelList) { in assertSortKeyNotInvalid()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 147 List<Channel> channelList = mChannelDataManager.getChannelList(); in testGetChannels() local 148 for (Channel channel : channelList) { in testGetChannels() 162 for (Channel channel : channelList) { in testGetChannels() 187 List<Channel> channelList = new ArrayList<>(mChannelDataManager.getChannelList()); in testBrowsable() local 190 boolean found = channelList.remove(browsableChannel); in testBrowsable() 193 assertEquals(0, channelList.size()); in testBrowsable() 264 List<Channel> channelList = mChannelDataManager.getChannelList(); in testLocked() local 265 for (Channel channel : channelList) { in testLocked()
|
/packages/apps/TV/src/com/android/tv/analytics/ |
D | SendChannelStatusRunnable.java | 98 List<Channel> channelList = mChannelDataManager.getChannelList(); in run() local 99 for (Channel channel : channelList) { in run() 104 mTracker.sendChannelCount(browsableChannelCount, channelList.size()); in run()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 102 List<Channel> channelList = mChannelDataManager.getBrowsableChannelList(); in searchFromDataManagers() local 105 for (Channel channel : channelList) { in searchFromDataManagers() 118 for (Channel channel : channelList) { in searchFromDataManagers() 130 for (Channel channel : channelList) { in searchFromDataManagers() 146 for (Channel channel : channelList) { in searchFromDataManagers()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | MainActivityTest.java | 40 List<Channel> channelList = mActivity.getChannelDataManager().getChannelList(); in testInitialConditions() local 41 assertTrue("Expected at least one channel", channelList.size() > 0); in testInitialConditions()
|
D | BaseMainActivityTestCase.java | 133 List<Channel> channelList = mActivity.getChannelDataManager().getChannelList(); in findChannelWithName() local 134 for (Channel c : channelList) { in findChannelWithName()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/ |
D | ScanFragment.java | 100 ListView channelList = (ListView) view.findViewById(R.id.channel_list); in onCreateView() local 101 channelList.setAdapter(mAdapter); in onCreateView() 102 channelList.setOnItemClickListener(null); in onCreateView()
|