/packages/apps/TV/src/com/android/tv/data/ |
H A D | ChannelLogoFetcher.java | 123 // 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 D | ChannelDataManager.java | 145 // 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 D | TestTvInputSetupActivity.java | 66 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 D | NotificationService.java | 289 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 D | Recommender.java | 111 * 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 D | RecommendationDataManager.java | 235 * 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 D | ChannelTuner.java | 41 * 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 D | CustomizeChannelListFragment.java | 179 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 D | DictDecoder.java | 29 import java.nio.channels.FileChannel;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ChannelUtils.java | 71 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 D | TvProviderSearch.java | 74 * 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 D | ChannelDataManager.java | 123 * 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 D | EpgFetcher.java | 163 List<Channel> channels = epgReader.getChannels(); 164 for (Channel channel : channels) {
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | KeypadChannelSwitchView.java | 233 public void setChannels(@Nullable List<Channel> channels) { argument 234 mChannels = channels;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | VideoUtils.java | 45 import java.nio.channels.FileChannel;
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
H A D | SampleCache.java | 31 import java.nio.channels.FileChannel;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
H A D | HealthService.java | 623 * 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 D | ImportVCardActivity.java | 61 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 D | BlobCache.java | 76 import java.nio.channels.FileChannel;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | UpdateHandler.java | 55 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 D | TextCandidatesViewManager.java | 19 import java.nio.channels.Selector;
|
/packages/apps/TV/usbtuner/libs/ |
H A D | exoplayer_1.5.6.jar | META-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 D | ExifInterface.java | 38 import java.nio.channels.FileChannel.MapMode;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 37 import java.nio.channels.FileChannel.MapMode;
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | ExifInterface.java | 37 import java.nio.channels.FileChannel.MapMode;
|