Searched refs:channels (Results 1 - 25 of 25) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
H A DChannelLogoFetcher.java123 // Load channels which doesn't have channel logos.
124 if (DEBUG) Log.d(TAG, "Starts loading the channels from DB");
136 List<Channel> channels = new ArrayList<>();
142 channels.add(new Channel.Builder().setId(c.getLong(0))
146 return channels;
151 protected void onPostExecute(List<Channel> channels) { argument
154 int count = channels == null ? 0 : channels.size();
155 Log.d(TAG, count + " channels are loaded");
159 if (channels !
172 FetchLogoTask(Context context, List<Channel> channels) argument
[all...]
H A DChannelDataManager.java145 // Detect duplicate channels while sorting.
262 * Returns the number of channels.
269 * Returns a list of channels.
276 * Returns a list of browsable channels.
279 List<Channel> channels = new ArrayList<>();
282 channels.add(channel);
285 return channels;
299 * Returns true if and only if there exists at least one channel and all channels are hidden.
384 * Updates channels from DB. Once the update is done, {@code postRunnable} will
527 * Called when channels ar
592 onPostExecute(List<Channel> channels) argument
[all...]
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
H A DTestTvInputSetupActivity.java66 Log.i(TAG, "Registering " + channelCount + " channels");
67 List<ChannelInfo> channels = new ArrayList<>();
69 channels.add(ChannelInfo.create(context, i));
71 ChannelUtils.updateChannels(context, inputId, channels);
76 // Reload channels so we have the ids.
102 // TODO: add UI to ask how many channels
106 // registered channels properly.
/packages/apps/TV/src/com/android/tv/recommendation/
H A DNotificationService.java289 List<Channel> channels = recommendChannels();
290 for (Channel c : channels) {
296 // Cancel notification whose channels are not recommended anymore.
305 for (Channel c : channels) {
320 List<Channel> channels = recommendChannels();
325 for (Channel c : channels) {
336 List channels = mRecommender.recommendChannels();
337 if (channels.contains(mPlayingChannel)) {
338 channels = new ArrayList<>(channels);
[all...]
H A DRecommender.java111 * Return the channel list of recommendation up to {@code n} or the number of channels.
112 * During the evaluation, this method updates the channel sort key of recommended channels.
114 * @param size The number of channels that might be recommended.
115 * @return Top {@code size} channels recommended sorted by score in descending order. If
116 * {@code size} is bigger than the number of channels, the number of results could
178 * If getChannelSortKey was called before evaluating the channels or trying to get sort key
190 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords());
192 evaluator.onChannelListChanged(Collections.unmodifiableList(channels));
207 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords());
209 evaluator.onChannelListChanged(Collections.unmodifiableList(channels));
[all...]
H A DRecommendationDataManager.java235 * Returns the number of channels registered in ChannelRecord map.
323 private void onUpdateChannels(List<Channel> channels) { argument
327 for (Channel channel : channels) {
/packages/apps/TV/src/com/android/tv/
H A DChannelTuner.java41 * It manages the current tuned channel among browsable channels. And it determines the next channel
134 * Returns true, if all the channels are loaded.
148 * Returns the number of browsable channels.
334 * Called when all the channels are loaded.
366 private void updateChannelData(List<Channel> channels) { argument
368 mChannels.addAll(channels);
372 for (int i = 0; i < channels.size(); ++i) {
373 Channel channel = channels.get(i);
390 // channels are changed.
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DCustomizeChannelListFragment.java179 ArrayList<Channel> channels = new ArrayList<>(mChannels);
180 Collections.sort(channels, mChannelComparator);
183 for (Channel channel: channels) {
202 ArrayList<Channel> channels = new ArrayList<>(mChannels);
203 Collections.sort(channels, new Comparator<Channel>() {
217 for (Channel channel: channels) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DDictDecoder.java29 import java.nio.channels.FileChannel;
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DChannelUtils.java71 public static void updateChannels(Context context, String inputId, List<ChannelInfo> channels) { argument
72 // Create a map from original network ID to channel row ID for existing channels.
86 for (ChannelInfo channel : channels) {
135 // Deletes channels which don't exist in the new feed.
/packages/apps/TV/src/com/android/tv/search/
H A DTvProviderSearch.java74 * Search channels, inputs, or programs from TvProvider.
94 // Search channels first.
161 private List<SearchResult> searchChannels(String query, Set<Long> channels, int limit) { argument
165 null, channels, NO_LIMIT));
173 channels, limit - results.size()));
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DChannelDataManager.java123 * Invoked when the database schema has been changed and the old-format channels have been
124 * deleted. A receiver should notify to a user that re-scanning channels is necessary.
216 * Invoked when starting a scanning mode. This method gets the previous channels to detect the
217 * obsolete channels after scanning and initializes the variables used for scanning.
242 * obsolete channels, which are previous scanned but are in the scanned result.
264 Log.e(TAG, "Error deleting obsolete channels", e);
269 * Returns the number of scanned channels in the scanning mode.
519 ArrayList<TunerChannel> channels = new ArrayList<>();
529 channels.add(channel);
536 for (TunerChannel channel : channels) {
[all...]
/packages/apps/TV/src/com/android/tv/data/epg/
H A DEpgFetcher.java163 List<Channel> channels = epgReader.getChannels();
164 for (Channel channel : channels) {
/packages/apps/TV/src/com/android/tv/ui/
H A DKeypadChannelSwitchView.java233 public void setChannels(@Nullable List<Channel> channels) { argument
234 mChannels = channels;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DVideoUtils.java45 import java.nio.channels.FileChannel;
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
H A DSampleCache.java31 import java.nio.channels.FileChannel;
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java623 * Note that multiple channels can be connected to the remote device by multiple applications.
686 // We were disconnecting all the channels with the remote device
756 List<HealthChannel> channels = new ArrayList<HealthChannel>();
761 channels.add(chan);
766 return channels;
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DImportVCardActivity.java61 import java.nio.channels.Channels;
62 import java.nio.channels.ReadableByteChannel;
63 import java.nio.channels.WritableByteChannel;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java76 import java.nio.channels.FileChannel;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java55 import java.nio.channels.FileChannel;
676 * This tries to use channels for fast copying. If it doesn't work, fall back to
695 // Can't work with channels, or something went wrong. Copy by hand.
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidatesViewManager.java19 import java.nio.channels.Selector;
/packages/apps/TV/usbtuner/libs/
H A Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java38 import java.nio.channels.FileChannel.MapMode;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java37 import java.nio.channels.FileChannel.MapMode;
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java37 import java.nio.channels.FileChannel.MapMode;

Completed in 689 milliseconds