HomeSort by relevance Sort by last modified time
    Searched defs:aspectRatio (Results 1 - 25 of 26) sorted by null

1 2

  /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);
  /external/webkit/Source/WebCore/platform/graphics/
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); }
Gradient.h 81 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1)
83 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio));
109 float aspectRatio() const { return m_aspectRatio; }
148 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
  /external/skia/src/core/
SkPicture.cpp 222 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth),
225 aspectRatio);
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
VideoLayerAndroid.cpp 113 float aspectRatio = manager->getAspectRatio(uniqueId());
114 float deltaY = rect.height() - rect.width() / aspectRatio;
118 float deltaX = rect.width() - rect.height() * aspectRatio;
VideoLayerManager.h 56 float aspectRatio; // The aspect ratio of the video.
  /external/skia/tools/
PictureRenderer.cpp 767 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth),
770 aspectRatio);
  /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...]
  /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/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...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
VideoEditorStressTest.java     [all...]
  /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));
  /packages/apps/Gallery2/src/com/android/camera/
CameraScreenNail.java 205 float aspectRatio;
207 aspectRatio = (float) getTextureWidth() / (float) getTextureHeight();
209 aspectRatio = (float) getTextureHeight() / (float) getTextureWidth();
214 (int) (mRenderHeight * aspectRatio));
216 (int)(mRenderWidth / aspectRatio));
219 (int) (mRenderHeight / aspectRatio));
221 (int) (mRenderWidth * aspectRatio));
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
VideoEditorPerformance.java 633 final int aspectRatio = MediaProperties.ASPECT_RATIO_3_2;
653 aspectRatio, mediaVideoItem.getAspectRatio());
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
VideoEditorActivity.java 615 final int aspectRatio = aspectRatiosList.get(i);
616 if (aspectRatio == currentAspectRatio) {
685 int aspectRatio = aspectRatios.get(i);
686 switch (aspectRatio) {
723 final int aspectRatio = aspectRatios.get(which);
725 aspectRatio);
    [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...]
ApiService.java 411 * @param aspectRatio The aspect ratio
413 public static void setAspectRatio(Context context, String projectPath, int aspectRatio) {
417 intent.putExtra(PARAM_ASPECT_RATIO, aspectRatio);
    [all...]
  /hardware/qcom/media/mm-core/inc/
OMX_QCOMExtns.h 622 OMX_QCOM_ASPECT_RATIO aspectRatio;
  /packages/apps/Launcher2/src/com/android/launcher2/
Workspace.java 811 float aspectRatio = width / (float) height;
    [all...]
  /external/quake/quake/src/QW/scitech/include/
mgraph.h 818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */
    [all...]
  /external/quake/quake/src/WinQuake/scitech/INCLUDE/
MGRAPH.H 818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */
    [all...]
  /frameworks/base/media/java/android/media/videoeditor/
MediaArtistNativeHelper.java     [all...]
  /external/zxing/core/
core.jar 

Completed in 971 milliseconds

1 2