Searched refs:aspectRatio (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | MediaPropertiesTest.java | 72 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 D | MediaProperties.java | 340 * @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 D | VideoEditor.java | 681 * @param aspectRatio to apply. If aspectRatio is the same as the current 689 public void setAspectRatio(int aspectRatio); argument
|
H A D | MediaArtistNativeHelper.java | 2036 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...] |
H A D | MediaImageItem.java | 510 * @param aspectRatio Given aspect ratio 513 private int getWidthByAspectRatioAndHeight(int aspectRatio, int height) { argument 516 switch (aspectRatio) { 554 "Illegal arguments for aspectRatio");
|
H A D | VideoEditorImpl.java | 1610 public void setAspectRatio(int aspectRatio) { argument 1611 mAspectRatio = aspectRatio;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 108 float aspectRatio = gestureWidth / gestureHeight; 109 if (aspectRatio > 1) { 110 aspectRatio = 1 / aspectRatio; 112 if (aspectRatio < SCALING_THRESHOLD) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | VideoEditorStressTest.java | 935 final int aspectRatio = MediaProperties.ASPECT_RATIO_11_9; 936 mVideoEditor.setAspectRatio(aspectRatio); 947 final int aspectRatio = MediaProperties.ASPECT_RATIO_5_3; 948 mVideoEditor.setAspectRatio(aspectRatio); 959 final int aspectRatio = MediaProperties.ASPECT_RATIO_11_9; 960 mVideoEditor.setAspectRatio(aspectRatio); 971 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2; 972 mVideoEditor.setAspectRatio(aspectRatio);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | VideoEditorPerformance.java | 633 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2; 653 aspectRatio, mediaVideoItem.getAspectRatio());
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 187 float aspectRatio = width / (float) height; 208 return x * aspectRatio + y;
|
Completed in 169 milliseconds