Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 19 of 19) sorted by relevance

/external/webkit/Source/WebCore/svg/
DSVGPreserveAspectRatio.cpp62 SVGPreserveAspectRatio aspectRatio; in parsePreserveAspectRatio() local
63 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_NONE; in parsePreserveAspectRatio()
64 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_MEET; in parsePreserveAspectRatio()
92 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMIN; in parsePreserveAspectRatio()
94 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMID; in parsePreserveAspectRatio()
98 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMAX; in parsePreserveAspectRatio()
104 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMIN; in parsePreserveAspectRatio()
106 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMID; in parsePreserveAspectRatio()
110 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMAX; in parsePreserveAspectRatio()
118 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMAXYMIN; in parsePreserveAspectRatio()
[all …]
DSVGSVGElement.cpp617 SVGPreserveAspectRatio aspectRatio; in inheritViewAttributes() local
619 aspectRatio = viewElement->preserveAspectRatioBaseValue(); in inheritViewAttributes()
621 aspectRatio = preserveAspectRatioBaseValue(); in inheritViewAttributes()
622 currentView()->setPreserveAspectRatioBaseValue(aspectRatio); in inheritViewAttributes()
/external/webkit/Source/WebCore/platform/graphics/
DGradient.h81 …ient> 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; } in aspectRatio() function
148 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
DGradient.cpp50 …adient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) in Gradient() argument
56 , m_aspectRatio(aspectRatio) in Gradient()
DFloatSize.h66 float aspectRatio() const { return m_width / m_height; } in aspectRatio() function
DIntSize.h76 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } in aspectRatio() function
/external/webkit/Source/WebCore/css/
DCSSGradientValue.cpp713 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio) in horizontalEllipseRadius() argument
718 …eturn sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio))); in horizontalEllipseRadius()
745 float aspectRatio = 1; // width / height. in createGradient() local
752aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), renderer->style(), rootStyle, … in createGradient()
794 aspectRatio = xDist / yDist; in createGradient()
806 aspectRatio = xDist / yDist; in createGradient()
821 aspectRatio = xDist / yDist; in createGradient()
838 aspectRatio = xDist / yDist; in createGradient()
845 …ient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); in createGradient()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DVideoLayerAndroid.cpp113 float aspectRatio = manager->getAspectRatio(uniqueId()); in calVideoRect() local
114 float deltaY = rect.height() - rect.width() / aspectRatio; in calVideoRect()
118 float deltaX = rect.width() - rect.height() * aspectRatio; in calVideoRect()
DVideoLayerManager.cpp171 result = m_videoLayerInfoMap.get(layerId)->aspectRatio; in getAspectRatio()
212 pInfo->aspectRatio = DEFAULT_VIDEO_ASPECT_RATIO; in registerTexture()
235 pInfo->aspectRatio = ratio; in updateVideoLayerSize()
DVideoLayerManager.h55 float aspectRatio; // The aspect ratio of the video. member
/external/webkit/Source/WebCore/platform/graphics/cg/
DGradientCG.cpp125 bool needScaling = aspectRatio() != 1; in paint()
132 CGContextScaleCTM(context, 1, 1 / aspectRatio()); in paint()
/external/webkit/Source/WebCore/platform/graphics/skia/
DGradientSkia.cpp162 if (aspectRatio() != 1) { in platformGradient()
166 m_gradientSpaceTransformation.scale(1, 1 / aspectRatio()); in platformGradient()
/external/opencv/cv/src/
Dcvcalibration.cpp775 double aspectRatio ) in cvProjectPoints2() argument
793 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; in cvProjectPoints2()
861 fx = fy*aspectRatio; in cvProjectPoints2()
1000 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; in cvProjectPoints2()
1341 double aspectRatio ) in cvInitIntrinsicParams2D() argument
1422 if( aspectRatio != 0 ) in cvInitIntrinsicParams2D()
1424 double tf = (a[0] + a[4])/(aspectRatio + 1.); in cvInitIntrinsicParams2D()
1425 a[0] = aspectRatio*tf; in cvInitIntrinsicParams2D()
1462 double aspectRatio = 0.; in cvCalibrateCamera2() local
1564 aspectRatio = A[0]/A[4]; in cvCalibrateCamera2()
[all …]
/external/webkit/Source/WebKit/win/
DFullscreenVideoController.cpp216 if (videoSize.aspectRatio() > layerBounds.size().aspectRatio()) in platformCALayerLayoutSublayersOfLayer()
/external/doclava/res/assets/templates/assets/
Djquery-resizable.min.js40aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:… property
/external/quake/quake/src/QW/scitech/include/
Dmgraph.h818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */ member
1071 void MGLAPI MGL_setAspectRatio(m_int aspectRatio);
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
DMGRAPH.H818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */ member
1071 void MGLAPI MGL_setAspectRatio(m_int aspectRatio);
/external/webkit/Source/WebCore/
DChangeLog-2010-12-06134369 * platform/graphics/FloatSize.h: Added aspectRatio() and scale(float).
134370 (WebCore::FloatSize::aspectRatio):
134372 * platform/graphics/IntSize.h: Added aspectRatio().
134373 (WebCore::IntSize::aspectRatio):
DChangeLog-2011-02-1633634 (WebCore::Gradient::aspectRatio):