/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutSize.h | 62 float aspectRatio() const { return m_width.toFloat() / m_height.toFloat(); } in aspectRatio() function 118 LayoutSize fitToAspectRatio(const LayoutSize& aspectRatio, AspectRatioFit fit) const in fitToAspectRatio() argument 120 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); in fitToAspectRatio() 121 float widthScale = width().toFloat() / aspectRatio.width().toFloat(); in fitToAspectRatio() 123 return LayoutSize(height() * aspectRatio.width() / aspectRatio.height(), height()); in fitToAspectRatio() 124 return LayoutSize(width(), width() * aspectRatio.height() / aspectRatio.width()); in fitToAspectRatio()
|
D | IntSize.h | 57 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } in aspectRatio() function
|
D | FloatSize.h | 66 float aspectRatio() const { return m_width / m_height; } in aspectRatio() function
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Gradient.h | 52 …ient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 54 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio)); 111 float aspectRatio() const { return m_aspectRatio; } in aspectRatio() function 124 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
|
D | Gradient.cpp | 57 …adient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) in Gradient() argument 62 , m_aspectRatio(aspectRatio) in Gradient() 234 if (aspectRatio() != 1) { in shader() 238 m_gradientSpaceTransformation.scale(1, 1 / aspectRatio()); in shader()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBBHFactory.cpp | 19 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(width), in operator ()() local 24 aspectRatio, sortDraws); in operator ()()
|
D | SkRTree.h | 58 static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1, 154 SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio, bool orderWhenBulkLoading);
|
D | SkRTree.cpp | 19 SkRTree* SkRTree::Create(int minChildren, int maxChildren, SkScalar aspectRatio, in Create() argument 23 return new SkRTree(minChildren, maxChildren, aspectRatio, sortWhenBulkLoading); in Create() 28 SkRTree::SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio, in SkRTree() argument 35 , fAspectRatio(aspectRatio) in SkRTree()
|
/external/skia/src/core/ |
D | SkBBHFactory.cpp | 25 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(width), in operator ()() local 30 aspectRatio, sortDraws); in operator ()()
|
D | SkRTree.h | 58 static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1, 154 SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio, bool orderWhenBulkLoading);
|
D | SkRTree.cpp | 19 SkRTree* SkRTree::Create(int minChildren, int maxChildren, SkScalar aspectRatio, in Create() argument 23 return new SkRTree(minChildren, maxChildren, aspectRatio, sortWhenBulkLoading); in Create() 28 SkRTree::SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio, in SkRTree() argument 35 , fAspectRatio(aspectRatio) in SkRTree()
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | image_transform.js | 591 DraggableRect.prototype.forceAspectRatio = function(aspectRatio, clipRect) { argument 597 currentScale = ((width / aspectRatio) + height) / 2; 601 currentScale = width / aspectRatio; 603 currentScale = Math.max(width / aspectRatio, height); 642 maxWidth / aspectRatio, 646 var newWidth = targetScale * aspectRatio;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSGradientValue.cpp | 999 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio) in horizontalEllipseRadius() argument 1004 …eturn sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio))); in horizontalEllipseRadius() 1029 float aspectRatio = 1; // width / height. in createGradient() local 1037 … aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), conversionData, &height); in createGradient() 1039 aspectRatio = 1; in createGradient() 1082 aspectRatio = xDist / yDist; in createGradient() 1094 aspectRatio = xDist / yDist; in createGradient() 1109 aspectRatio = xDist / yDist; in createGradient() 1126 aspectRatio = xDist / yDist; in createGradient() 1133 …ient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); in createGradient()
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/ |
D | matrix.h | 34 GLfloat aspectRatio,
|
D | matrix.cc | 47 GLfloat aspectRatio, in glhPerspectivef2() argument 52 xmax = ymax * aspectRatio; in glhPerspectivef2()
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/ |
D | matrix.h | 34 GLfloat aspectRatio,
|
D | matrix.cc | 47 GLfloat aspectRatio, in glhPerspectivef2() argument 52 xmax = ymax * aspectRatio; in glhPerspectivef2()
|
/external/opencv/cv/src/ |
D | cvcalibration.cpp | 775 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/chromium_org/third_party/angle/samples/angle/sample_util/ |
D | Matrix.h | 27 static Matrix4 perspective(float fov, float aspectRatio, float n, float f);
|
D | Matrix.cpp | 76 Matrix4 Matrix4::perspective(float fovY, float aspectRatio, float nearZ, float farZ) in perspective() argument 79 const float frustumWidth = frustumHeight * aspectRatio; in perspective()
|
/external/chromium_org/chrome/browser/resources/inspect/ |
D | inspect.js | 462 var aspectRatio = screenWidth / screenHeight; 463 if (aspectRatio < 1) { 464 screenRectWidth = Math.round(maxScreenRectSize * aspectRatio); 468 screenRectHeight = Math.round(maxScreenRectSize / aspectRatio);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
D | exportfig.m | 238 aspectRatio = figurePos(3)/figurePos(4); variable 244 width = height * aspectRatio; 246 height = width / aspectRatio;
|
/external/doclava/res/assets/templates/assets/ |
D | jquery-resizable.min.js | 40 …aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:… property
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 1898 const float aspectRatio = static_cast<float>(viewportSize.width) / viewportSize.height; in testResizeYieldsCorrectScrollAndScale() local 1910 …eScaleFactor = initialPageScaleFactor * (shouldScaleRelativeToViewportWidth ? 1 / aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale() 1936 …expectedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale() 1952 …ctedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? 1 / aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
D | RenderStyle.h | 745 float aspectRatio() const { return aspectRatioNumerator() / aspectRatioDenominator(); } in aspectRatio() function
|