/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
AspectRatio.java | 30 public class AspectRatio { 32 public static final AspectRatio Extended_SAR = new AspectRatio(255); 36 private AspectRatio(int value) { 40 public static AspectRatio fromValue(int value) { 44 return new AspectRatio(value);
|
VUIParameters.java | 62 public AspectRatio aspect_ratio;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 52 * @param aspectRatio The aspect ratio 58 DialogInterface.OnCancelListener cancelListener, final int aspectRatio) { 72 prepareContent(myView, aspectRatio); 82 sizeSpinner.getSelectedItemPosition(), aspectRatio); 106 * @param aspectRatio The project aspect ratio 108 private static void prepareContent(View view, int aspectRatio) { 115 MediaProperties.getSupportedResolutions(aspectRatio); 141 * @param aspectRatio The aspect ratio 145 private static int indexToMovieHeight(int sizeIndex, int aspectRatio) { 147 MediaProperties.getSupportedResolutions(aspectRatio); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
MediaPropertiesTest.java | 72 protected void validateVideoProperties(int aspectRatio, int fileType, 77 assertEquals("Aspect Ratio Mismatch", aspectRatio, mvi.getAspectRatio()); 120 protected void validateImageProperties(int aspectRatio, int fileType, 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, fileType, videoCodecType, duration [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
AspectRatioTest.java | 49 for (double aspectRatio : aspectRatios) { 50 if (aspectRatio >= 1.333 && aspectRatio <= 1.86) {
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
mp4_utils.cpp | 309 frame_info->aspectRatio.aspectRatioX = 1; 310 frame_info->aspectRatio.aspectRatioY = 1; 314 frame_info->aspectRatio.aspectRatioX = 12; 315 frame_info->aspectRatio.aspectRatioY = 11; 319 frame_info->aspectRatio.aspectRatioX = 10; 320 frame_info->aspectRatio.aspectRatioY = 11; 324 frame_info->aspectRatio.aspectRatioX = 16; 325 frame_info->aspectRatio.aspectRatioY = 11; 329 frame_info->aspectRatio.aspectRatioX = 40; 330 frame_info->aspectRatio.aspectRatioY = 33 [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 195 float aspectRatio = ((float) mVideoWidth) / mVideoHeight; 196 if (rect.width() / aspectRatio <= rect.height()) { 198 lp.height = (int) (rect.width() / aspectRatio); 200 lp.width = (int) (rect.height() * aspectRatio);
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/ |
matrix.h | 34 GLfloat aspectRatio,
|
matrix.cc | 47 GLfloat aspectRatio, 52 xmax = ymax * aspectRatio;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
Gradient.h | 54 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 56 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio)); 120 float aspectRatio() const { return m_aspectRatio; } 140 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
|
Gradient.cpp | 59 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) 65 , m_aspectRatio(aspectRatio) 201 float aspectRatio; 219 parameters.aspectRatio = m_aspectRatio; 342 if (aspectRatio() != 1) { 346 m_gradientSpaceTransformation.scale(1, 1 / aspectRatio());
|
/packages/apps/Camera/src/com/android/camera/ |
CameraScreenNail.java | 193 float aspectRatio; 195 aspectRatio = (float) getTextureWidth() / (float) getTextureHeight(); 197 aspectRatio = (float) getTextureHeight() / (float) getTextureWidth(); 202 (int) (mRenderHeight * aspectRatio)); 204 (int)(mRenderWidth / aspectRatio)); 207 (int) (mRenderHeight / aspectRatio)); 209 (int) (mRenderWidth * aspectRatio));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ResizeGesture.java | 160 double aspectRatio = w / (double) h; 164 if (newH == 0 || newAspectRatio > aspectRatio) { 165 deltaY = (int) (deltaX / aspectRatio); 167 deltaX = (int) (deltaY * aspectRatio);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaFeatureNames.h | 39 macro(aspectRatio, "aspect-ratio") \
|
CSSGradientValue.cpp | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiServiceListener.java | 78 * @param aspectRatio The aspect ratio 81 public void onVideoEditorAspectRatioSet(String projectPath, int aspectRatio, Exception exception) {} 164 * @param aspectRatio The aspectRatio 169 Integer aspectRatio, Exception exception) {}
|
VideoEditorProject.java | 263 * @param aspectRatio The aspect ratio 265 void setAspectRatio(int aspectRatio) { 266 mAspectRatio = aspectRatio; 699 int aspectRatio = MediaProperties.ASPECT_RATIO_UNDEFINED; 701 if (aspectRatio == MediaProperties.ASPECT_RATIO_UNDEFINED) { 702 aspectRatio = mediaItem.getAspectRatio(); 703 } else if (mediaItem.getAspectRatio() != aspectRatio) { 717 int aspectRatio = mediaItem.getAspectRatio(); 718 if (!aspectRatiosList.contains(aspectRatio)) { 719 aspectRatiosList.add(aspectRatio); [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglsurface.h | 70 EGLint AspectRatio;
|
/external/chromium_org/third_party/skia/src/core/ |
SkRTree.cpp | 24 SkRTree* SkRTree::Create(int minChildren, int maxChildren, SkScalar aspectRatio) { 27 return new SkRTree(minChildren, maxChildren, aspectRatio); 32 SkRTree::SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio) 38 , fAspectRatio(aspectRatio) {
|
SkPicture.cpp | 233 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth), 236 aspectRatio);
|
SkRTree.h | 58 static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1); 147 SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio);
|
/external/mesa3d/src/egl/main/ |
eglsurface.h | 70 EGLint AspectRatio;
|
/external/opencv/cv/src/ |
cvcalibration.cpp | 775 double aspectRatio ) 793 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; 861 fx = fy*aspectRatio; 1000 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; [all...] |
/external/skia/src/core/ |
SkRTree.cpp | 24 SkRTree* SkRTree::Create(int minChildren, int maxChildren, SkScalar aspectRatio) { 27 return new SkRTree(minChildren, maxChildren, aspectRatio); 32 SkRTree::SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio) 38 , fAspectRatio(aspectRatio) {
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaProperties.java | 340 * @param aspectRatio The aspect ratio for which the resolutions are 344 public static Pair<Integer, Integer>[] getSupportedResolutions(int aspectRatio) { 346 switch (aspectRatio) { 373 throw new IllegalArgumentException("Unknown aspect ratio: " + aspectRatio);
|