/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutSize.h | 64 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } in aspectRatio() function 120 LayoutSize fitToAspectRatio(const LayoutSize& aspectRatio, AspectRatioFit fit) const in fitToAspectRatio() argument 122 float heightScale = height().toFloat() / aspectRatio.height().toFloat(); in fitToAspectRatio() 123 float widthScale = width().toFloat() / aspectRatio.width().toFloat(); in fitToAspectRatio() 125 return LayoutSize(height() * aspectRatio.width() / aspectRatio.height(), height()); in fitToAspectRatio() 126 return LayoutSize(width(), width() * aspectRatio.height() / aspectRatio.width()); in fitToAspectRatio()
|
D | IntSize.h | 58 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } in aspectRatio() function
|
D | FloatSize.h | 69 float aspectRatio() const { return m_width / m_height; } in aspectRatio() function
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Gradient.h | 55 …ient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1) 57 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio)); 117 float aspectRatio() const { return m_aspectRatio; } in aspectRatio() function 132 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
|
D | Gradient.cpp | 54 …adient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) in Gradient() argument 60 , m_aspectRatio(aspectRatio) in Gradient() 260 if (aspectRatio() != 1) { in shader() 264 m_gradientSpaceTransformation.scale(1, 1 / aspectRatio()); in shader()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkRTree.h | 58 static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1, 148 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()
|
D | SkPicture.cpp | 231 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth), in createBBoxHierarchy() local 236 aspectRatio, sortDraws); in createBBoxHierarchy()
|
/external/skia/src/core/ |
D | SkRTree.h | 58 static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1, 148 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()
|
D | SkPicture.cpp | 231 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth), in createBBoxHierarchy() local 236 aspectRatio, sortDraws); in createBBoxHierarchy()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSGradientValue.cpp | 967 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio) in horizontalEllipseRadius() argument 972 …eturn sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio))); in horizontalEllipseRadius() 997 float aspectRatio = 1; // width / height. in createGradient() local 1005 … aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), conversionData, &height); in createGradient() 1007 aspectRatio = 1; in createGradient() 1050 aspectRatio = xDist / yDist; in createGradient() 1062 aspectRatio = xDist / yDist; in createGradient() 1077 aspectRatio = xDist / yDist; in createGradient() 1094 aspectRatio = xDist / yDist; in createGradient() 1101 …ient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); in createGradient()
|
D | MediaFeatureNames.h | 39 macro(aspectRatio, "aspect-ratio") \
|
D | MediaQueryEvaluator.cpp | 173 CSSAspectRatioValue* aspectRatio = toCSSAspectRatioValue(value); in compareAspectRatioValue() local 174 …rn compareValue(width * static_cast<int>(aspectRatio->denominatorValue()), height * static_cast<in… in compareAspectRatioValue()
|
/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/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/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/chrome/browser/resources/inspect/ |
D | inspect.js | 414 var aspectRatio = screenWidth / screenHeight; 415 if (aspectRatio < 1) { 416 screenRectWidth = Math.round(maxScreenRectSize * aspectRatio); 420 screenRectHeight = Math.round(maxScreenRectSize / aspectRatio);
|
/external/doclava/res/assets/templates/assets/ |
D | jquery-resizable.min.js | 40 …aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:… property
|
/external/skia/tools/ |
D | PictureRenderer.cpp | 865 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth), in createBBoxHierarchy() local 869 aspectRatio, sortDraws); in createBBoxHierarchy()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 1891 const float aspectRatio = static_cast<float>(viewportSize.width) / viewportSize.height; in testResizeYieldsCorrectScrollAndScale() local 1903 …eScaleFactor = initialPageScaleFactor * (shouldScaleRelativeToViewportWidth ? 1 / aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale() 1928 …expectedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale() 1944 …ctedPageScaleFactor = pageScaleFactor * (shouldScaleRelativeToViewportWidth ? 1 / aspectRatio : 1); in testResizeYieldsCorrectScrollAndScale()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
D | RenderStyle.h | 734 float aspectRatio() const { return aspectRatioNumerator() / aspectRatioDenominator(); } in aspectRatio() function
|