/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditorProfile.java | 72 case MediaProperties.VCODEC_H263: 73 case MediaProperties.VCODEC_H264: 74 case MediaProperties.VCODEC_MPEG4: 91 case MediaProperties.VCODEC_H263: 92 case MediaProperties.VCODEC_H264: 93 case MediaProperties.VCODEC_MPEG4:
|
AudioTrack.java | 152 case MediaProperties.FILE_3GP: 153 case MediaProperties.FILE_MP4: 154 case MediaProperties.FILE_MP3: 155 case MediaProperties.FILE_AMR: 163 case MediaProperties.ACODEC_AMRNB: 164 case MediaProperties.ACODEC_AMRWB: 165 case MediaProperties.ACODEC_AAC_LC: 166 case MediaProperties.ACODEC_MP3: 236 * {@link android.media.videoeditor.MediaProperties} 273 if (volumePercent > MediaProperties.AUDIO_MAX_VOLUME_PERCENT) [all...] |
MediaVideoItem.java | 149 case MediaProperties.FILE_3GP: 150 case MediaProperties.FILE_MP4: 151 case MediaProperties.FILE_M4V: 159 case MediaProperties.VCODEC_H263: 160 case MediaProperties.VCODEC_H264: 161 case MediaProperties.VCODEC_MPEG4: 552 MediaProperties.ACODEC_AMRNB ) { 553 frameDuration = (MediaProperties.SAMPLES_PER_FRAME_AMRNB*1000)/ 554 MediaProperties.DEFAULT_SAMPLING_FREQUENCY; 555 sampleCount = MediaProperties.SAMPLES_PER_FRAME_AMRNB [all...] |
MediaImageItem.java | 108 case MediaProperties.FILE_JPEG: 109 case MediaProperties.FILE_PNG: { 148 MediaProperties.getSupportedResolutions(mAspectRatio); 209 return MediaProperties.FILE_JPEG; 211 return MediaProperties.FILE_PNG; 213 return MediaProperties.FILE_UNSUPPORTED; 517 case MediaProperties.ASPECT_RATIO_3_2: 518 if (height == MediaProperties.HEIGHT_480) 520 else if (height == MediaProperties.HEIGHT_720) 524 case MediaProperties.ASPECT_RATIO_16_9 [all...] |
MediaArtistNativeHelper.java | [all...] |
MediaProperties.java | 28 public class MediaProperties { 327 private MediaProperties() { 436 return MediaProperties.AUDIO_MAX_VOLUME_PERCENT; 443 return MediaProperties.AUDIO_MAX_TRACK_COUNT;
|
VideoEditorImpl.java | 173 mAspectRatio = MediaProperties.ASPECT_RATIO_16_9; 358 case MediaProperties.HEIGHT_144: 360 case MediaProperties.HEIGHT_288: 362 case MediaProperties.HEIGHT_360: 364 case MediaProperties.HEIGHT_480: 366 case MediaProperties.HEIGHT_720: 368 case MediaProperties.HEIGHT_1080: 378 case MediaProperties.BITRATE_28K: 380 case MediaProperties.BITRATE_40K: 382 case MediaProperties.BITRATE_64K [all...] |
OverlayFrame.java | 211 resolutions = MediaProperties.getSupportedResolutions(nativeHelper.nativeHelperGetAspectRatio());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
MediaPropertiesTest.java | 25 import android.media.videoeditor.MediaProperties; 98 if ( audioCodecType != MediaProperties.ACODEC_AAC_LC ) { 114 if ( audioCodecType != MediaProperties.ACODEC_AAC_LC ) { 137 final int aspectRatio = MediaProperties.ASPECT_RATIO_16_9; 138 final int fileType = MediaProperties.FILE_MP4; 139 final int videoCodecType = MediaProperties.VCODEC_MPEG4; 144 final int audioCodecType = MediaProperties.ACODEC_AAC_LC; 147 final int videoProfile = MediaProperties.MPEG4Profile.MPEG4ProfileSimple; 148 final int videoLevel = MediaProperties.MPEG4Level.MPEG4Level1; 150 final int height = MediaProperties.HEIGHT_480 [all...] |
VideoEditorExportTest.java | 28 import android.media.videoeditor.MediaProperties; 150 mVideoEditor.export(outFilename, MediaProperties.HEIGHT_720, 151 MediaProperties.BITRATE_800K, new ExportProgressListener() { 167 MediaProperties.HEIGHT_720, 0, storyBoardDuration, 168 MediaProperties.VCODEC_H264, MediaProperties.ACODEC_AAC_LC); 275 mVideoEditor.export(outFilename, MediaProperties.HEIGHT_720, 276 MediaProperties.BITRATE_800K, new ExportProgressListener() { 294 MediaProperties.HEIGHT_720, 0, storyBoardDuration, 295 MediaProperties.VCODEC_H264, MediaProperties.ACODEC_AAC_LC) [all...] |
VideoEditorPreviewTest.java | 32 import android.media.videoeditor.MediaProperties; 267 mVideoEditor.setAspectRatio(MediaProperties.ASPECT_RATIO_5_3); 268 assertEquals("Aspect Ratio", MediaProperties.ASPECT_RATIO_5_3, 327 mVideoEditor.setAspectRatio(MediaProperties.ASPECT_RATIO_5_3); 328 assertEquals("Aspect Ratio", MediaProperties.ASPECT_RATIO_5_3, 371 mVideoEditor.setAspectRatio(MediaProperties.ASPECT_RATIO_4_3); 372 assertEquals("Aspect Ratio", MediaProperties.ASPECT_RATIO_4_3, 452 mVideoEditor.setAspectRatio(MediaProperties.ASPECT_RATIO_3_2); 558 final int setAspectRatio = MediaProperties.ASPECT_RATIO_4_3; 705 final int height = MediaProperties.HEIGHT_480 [all...] |
VideoEditorAPITest.java | 30 import android.media.videoeditor.MediaProperties; 491 assertEquals("Media Image Scaled Height", MediaProperties.HEIGHT_720, 495 assertEquals("Media Image Aspect Ratio", MediaProperties.ASPECT_RATIO_4_3, 498 mediaImageItem1.getThumbnail(960, MediaProperties.HEIGHT_720, 2000)); [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 23 import android.media.videoeditor.MediaProperties; 39 * @param movieHeight The movie height (from MediaProperties) 40 * @param movieBitrate The movie bitrate (from MediaProperties) 115 MediaProperties.getSupportedResolutions(aspectRatio); 147 MediaProperties.getSupportedResolutions(aspectRatio); 161 return MediaProperties.BITRATE_512K; 165 return MediaProperties.BITRATE_2M; 169 return MediaProperties.BITRATE_8M; 173 return MediaProperties.BITRATE_2M;
|
VideoEditorActivity.java | 40 import android.media.videoeditor.MediaProperties; 687 case MediaProperties.ASPECT_RATIO_11_9: { 692 case MediaProperties.ASPECT_RATIO_16_9: { 697 case MediaProperties.ASPECT_RATIO_3_2: { 702 case MediaProperties.ASPECT_RATIO_4_3: { 707 case MediaProperties.ASPECT_RATIO_5_3: { [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
VideoEditorStressTest.java | 33 import android.media.videoeditor.MediaProperties; 659 final int videoAspectRatio = MediaProperties.ASPECT_RATIO_3_2; 660 final int videoFileType = MediaProperties.FILE_MP4; 661 final int videoCodecType = MediaProperties.VCODEC_H264; 663 final int videoProfile = MediaProperties.H264Profile.H264ProfileBaseline; 664 final int videoLevel = MediaProperties.H264Level.H264Level13; 665 final int videoHeight = MediaProperties.HEIGHT_720; 668 final int imageAspectRatio = MediaProperties.ASPECT_RATIO_4_3; 669 final int imageFileType = MediaProperties.FILE_JPEG; 671 final int imageHeight = MediaProperties.HEIGHT_480 [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
MovieAudioTrack.java | 22 import android.media.videoeditor.MediaProperties;
118 mAudioType = MediaProperties.ACODEC_AAC_LC;
|
VideoEditorProject.java | 32 import android.media.videoeditor.MediaProperties; 699 int aspectRatio = MediaProperties.ASPECT_RATIO_UNDEFINED; 701 if (aspectRatio == MediaProperties.ASPECT_RATIO_UNDEFINED) { [all...] |
ApiService.java | 48 import android.media.videoeditor.MediaProperties; [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
FileUtils.java | 31 import android.media.videoeditor.MediaProperties; 245 case MediaProperties.FILE_MP4: { 250 case MediaProperties.FILE_3GP: {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
VideoEditorPerformance.java | 32 import android.media.videoeditor.MediaProperties; 363 final int outHeight = MediaProperties.HEIGHT_480; 364 final int outBitrate = MediaProperties.BITRATE_256K; 365 final int outVcodec = MediaProperties.VCODEC_H264; 633 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2; 634 final int fileType = MediaProperties.FILE_MP4; 635 final int videoCodecType = MediaProperties.VCODEC_H264; 639 final int videoProfile = MediaProperties.H264Profile.H264ProfileBaseline; 640 final int videoLevel = MediaProperties.H264Level.H264Level13; 642 final int height = MediaProperties.HEIGHT_720 [all...] |