/external/webkit/Source/WebCore/svg/ |
SVGPreserveAspectRatio.cpp | 62 SVGPreserveAspectRatio aspectRatio; 63 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_NONE; 64 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_MEET; 92 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMIN; 94 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMID; 98 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMAX; 104 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMIN; 106 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMID; 110 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMAX; 118 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMAXYMIN [all...] |
SVGSVGElement.cpp | 617 SVGPreserveAspectRatio aspectRatio; 619 aspectRatio = viewElement->preserveAspectRatioBaseValue(); 621 aspectRatio = preserveAspectRatioBaseValue(); 622 currentView()->setPreserveAspectRatioBaseValue(aspectRatio);
|
/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...] |
VideoEditorActivity.java | 607 final int aspectRatio = aspectRatiosList.get(i); 608 if (aspectRatio == currentAspectRatio) { 669 int aspectRatio = aspectRatios.get(i); 670 switch (aspectRatio) { 707 final int aspectRatio = aspectRatios.get(which); 709 aspectRatio); [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
AspectRatioTest.java | 49 for (double aspectRatio : aspectRatios) { 50 if (aspectRatio >= 1.333 && aspectRatio <= 1.86) {
|
/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()); 138 final int aspectRatio = MediaProperties.ASPECT_RATIO_16_9; 157 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration, 171 final int aspectRatio = MediaProperties.ASPECT_RATIO_5_3; 190 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration, 203 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2; 222 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Gradient.h | 86 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 88 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio)); 114 float aspectRatio() const { return m_aspectRatio; } 156 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
|
Gradient.cpp | 50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) 56 , m_aspectRatio(aspectRatio)
|
FloatSize.h | 66 float aspectRatio() const { return m_width / m_height; }
|
IntSize.h | 76 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); }
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GradientCG.cpp | 125 bool needScaling = aspectRatio() != 1; 132 CGContextScaleCTM(context, 1, 1 / aspectRatio());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 202 float aspectRatio = ((float) mVideoWidth) / mVideoHeight; 203 if (rect.width() / aspectRatio <= rect.height()) { 205 lp.height = (int) (rect.width() / aspectRatio); 207 lp.width = (int) (rect.height() * aspectRatio);
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GradientSkia.cpp | 162 if (aspectRatio() != 1) { 166 m_gradientSpaceTransformation.scale(1, 1 / 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);
|
/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);
|
VideoEditor.java | 681 * @param aspectRatio to apply. If aspectRatio is the same as the current 689 public void setAspectRatio(int aspectRatio);
|
MediaArtistNativeHelper.java | [all...] |
/external/webkit/Source/WebCore/css/ |
CSSGradientValue.cpp | 712 // width/height given by aspectRatio. 713 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio) 716 // a/b = aspectRatio, b = a/aspectRatio 718 return sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio))); 745 float aspectRatio = 1; // width / height. 752 aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), renderer->style(), rootStyle, &height); 794 aspectRatio = xDist / yDist; 806 aspectRatio = xDist / yDist [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
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...] |
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) {}
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 108 float aspectRatio = gestureWidth / gestureHeight; 109 if (aspectRatio > 1) { 110 aspectRatio = 1 / aspectRatio; 112 if (aspectRatio < SCALING_THRESHOLD) {
|
/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...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
VideoEditorStressTest.java | [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
GLView.java | 321 * @param aspectRatio the screen width divided by the screen height 323 public void setAspectRatio(float aspectRatio) { 324 this.mAspectRatio = aspectRatio; 813 * clipping planes are set at -+(aspectRatio*zoom), the bottom and
|
/build/tools/droiddoc/templates-pdk/assets/ |
jquery-resizable.min.js | [all...] |