Lines Matching refs:format
223 MediaFormat format = track.getFormat();
224 String language = format.getString(MediaFormat.KEY_LANGUAGE);
226 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0;
228 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0;
230 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0;
315 * @param format the format of the track that will include at least
319 public SubtitleTrack addTrack(MediaFormat format) {
322 if (renderer.supports(format)) {
323 SubtitleTrack track = renderer.createTrack(format);
384 * @param format the format of the track that will include at least
387 * @return true if and only if the track format is supported by this
390 public abstract boolean supports(MediaFormat format);
399 * @param format the format of the track that will include at least
404 public abstract SubtitleTrack createTrack(MediaFormat format);
408 * Add support for a subtitle format in {@link MediaPlayer}.
411 * support for a subtitle format.
424 public boolean hasRendererFor(MediaFormat format) {
428 if (renderer.supports(format)) {