Searched defs:aspectRatio (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaPropertiesTest.java72 protected void validateVideoProperties(int aspectRatio, int fileType, argument
77 assertEquals("Aspect Ratio Mismatch", aspectRatio, mvi.getAspectRatio());
120 protected void validateImageProperties(int aspectRatio, int fileType, argument
123 assertEquals("Aspect Ratio Mismatch", aspectRatio, mii.getAspectRatio());
137 final int aspectRatio = MediaProperties.ASPECT_RATIO_16_9;
156 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration,
169 final int aspectRatio = MediaProperties.ASPECT_RATIO_5_3;
188 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration,
200 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2;
219 validateVideoProperties(aspectRatio, fileTyp
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaImageItem.java510 * @param aspectRatio Given aspect ratio
513 private int getWidthByAspectRatioAndHeight(int aspectRatio, int height) { argument
516 switch (aspectRatio) {
554 "Illegal arguments for aspectRatio");
H A DVideoEditor.java681 * @param aspectRatio to apply. If aspectRatio is the same as the current
689 public void setAspectRatio(int aspectRatio); argument
H A DMediaProperties.java340 * @param aspectRatio The aspect ratio for which the resolutions are
344 public static Pair<Integer, Integer>[] getSupportedResolutions(int aspectRatio) { argument
346 switch (aspectRatio) {
373 throw new IllegalArgumentException("Unknown aspect ratio: " + aspectRatio);
H A DVideoEditorImpl.java1610 public void setAspectRatio(int aspectRatio) { argument
1611 mAspectRatio = aspectRatio;
H A DMediaArtistNativeHelper.java2036 int aspectRatio;
2041 aspectRatio = getAspectRatio(
2047 aspectRatio = overlay.getMediaItem().getAspectRatio();
2050 aspectRatio = overlay.getMediaItem().getAspectRatio();
2053 effectSettings.framingScaledSize = findVideoResolution(aspectRatio, mediaItemHeight);
3524 * @param aspectRatio The aspect ratio of story board
3529 private int findVideoResolution(int aspectRatio, int height) { argument
3533 switch (aspectRatio) {
3692 int aspectRatio = mVideoEditor.getAspectRatio();
3693 mPreviewEditSettings.videoFrameSize = findVideoResolution(aspectRatio, heigh
[all...]

Completed in 114 milliseconds