Lines Matching refs:logo

118      * {@link PreviewChannel.Builder#setLogo(Uri) url as your logo}. In such case,
119 * {@link #updatePreviewChannel(long, PreviewChannel)} will load the logo over the network. To
135 // Rollback channel insertion if logo could not be added.
138 throw new IOException("Failed to add logo, so channel (ID="
161 * {@link PreviewChannel.Builder#setLogo(Uri) url as your logo}. In such case,
162 * {@link #updatePreviewChannel(long, PreviewChannel)} will load the logo over the network. To
223 * {@link PreviewChannel.Builder#setLogo(Uri) url as your logo}. In such case,
224 * {@link #updatePreviewChannel(long, PreviewChannel)} will load the logo over the network. To
238 throw new IOException("Fail to update channel (ID=" + channelId + ") logo.");
259 * Internally, a logo is added to a channel after the channel has been added to the TvProvider.
260 * This private method is called by one of the publish methods, to add a logo to the TvProvider
261 * and associate the logo to the given channel identified by channelId. Because each channel
262 * must have a logo, a NullPointerException is thrown if the channel being published has no
263 * associated logo to publish with it.
270 Bitmap logo = channel.getLogo(mContext);
271 if (logo == null) {
272 logo = getLogoFromUri(channel.getLogoUri());
277 result = logo.compress(Bitmap.CompressFormat.PNG, 100, outputStream);
280 Log.i(TAG, "Failed to add logo to the published channel (ID= " + channelId + ")", e);
308 Log.e(TAG, "Failed to get logo from the URI: " + logoUri, e);