/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 26 import android.media.MediaFormat; 187 MediaFormat format = extractor.getTrackFormat(0); 188 String mime = format.getString(MediaFormat.KEY_MIME); 297 MediaFormat oformat = codec.getOutputFormat(); 533 MediaFormat format = extractor.getTrackFormat(0); 534 String mime = format.getString(MediaFormat.KEY_MIME); 660 MediaFormat oformat = codec.getOutputFormat(); 731 MediaFormat format = extractor.getTrackFormat(0); 732 String mime = format.getString(MediaFormat.KEY_MIME); [all...] |
EncodeVirtualDisplayWithCompositionTest.java | 36 import android.media.MediaFormat; 228 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, w, h); 520 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mW, mH); 521 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, 531 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); 532 format.setInteger(MediaFormat.KEY_FRAME_RATE, 30); 533 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); [all...] |
AdaptivePlaybackTest.java | 29 import android.media.MediaFormat; [all...] |
/frameworks/base/media/java/android/media/ |
MediaCodec.java | 22 import android.media.MediaFormat; 58 * MediaFormat format = codec.getOutputFormat(); 243 MediaFormat format, 532 public final MediaFormat getOutputFormat() { 533 return new MediaFormat(getOutputFormatNative());
|
MediaPlayer.java | 43 import android.media.MediaFormat; [all...] |
SubtitleTrack.java | 62 private MediaFormat mFormat; 64 public SubtitleTrack(MediaFormat format) { 72 public final MediaFormat getFormat() {
|
MediaMuxer.java | 39 * // More often, the MediaFormat will be retrieved from MediaCodec.getOutputFormat() 41 * MediaFormat audioFormat = new MediaFormat(...); 42 * MediaFormat videoFormat = new MediaFormat(...); 254 public int addTrack(MediaFormat format) { 265 // Convert the MediaFormat into key-value pairs and send to the native.
|
WebVttRenderer.java | 52 public boolean supports(MediaFormat format) { 53 if (format.containsKey(MediaFormat.KEY_MIME)) { 54 return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); 60 public SubtitleTrack createTrack(MediaFormat format) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 24 import android.media.MediaFormat; 146 MediaFormat format = extractor.getTrackFormat(i); 147 String mime = format.getString(MediaFormat.KEY_MIME); 161 if (format.containsKey(MediaFormat.KEY_MAX_INPUT_SIZE)) { 162 int newSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE);
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); 132 * {@link MediaFormat} object. 138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, 144 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME);
|
/developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); 132 * {@link MediaFormat} object. 138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, 144 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME);
|
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); 132 * {@link MediaFormat} object. 138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, 144 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME);
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); 132 * {@link MediaFormat} object. 138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, 144 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME);
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 40 void outputFormatChanged(MediaCodecWrapper sender, MediaFormat newFormat); 132 * {@link MediaFormat} object. 138 public static MediaCodecWrapper fromVideoFormat(final MediaFormat trackFormat, 144 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
DisplaySinkService.java | 27 import android.media.MediaFormat; 151 MediaFormat format = MediaFormat.createVideoFormat(
|
SinkActivity.java | 35 import android.media.MediaFormat;
|
/packages/apps/Settings/src/com/android/settings/ |
MediaFormat.java | 37 public class MediaFormat extends Activity {
|
/frameworks/base/core/java/android/widget/ |
VideoView.java | 26 import android.media.MediaFormat; 223 mPendingSubtitleTracks = new Vector<Pair<InputStream, MediaFormat>>(); 265 * the mime type ({@link MediaFormat#KEY_MIME}) and the 266 * language ({@link MediaFormat#KEY_LANGUAGE}) of the file. 270 public void addSubtitleSource(InputStream is, MediaFormat format) { 283 private Vector<Pair<InputStream, MediaFormat>> mPendingSubtitleTracks; 337 for (Pair<InputStream, MediaFormat> pending: mPendingSubtitleTracks) { [all...] |
/external/chromium/webkit/glue/media/ |
simple_data_source.cc | 113 const media::MediaFormat& SimpleDataSource::media_format() { 268 media_format_.SetAsString(media::MediaFormat::kURL, url.spec());
|
buffered_data_source.cc | 120 media_format_.SetAsString(media::MediaFormat::kURL, url);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreferenceCategory.java | 424 intent.setClass(getContext(), com.android.settings.MediaFormat.class);
|
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |