Searched refs:floatValueForLength (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBasicShapes.cpp78 return floatValueForLength(m_radius.value(), hypotf(boxSize.width(), boxSize.height()) / sqrtf(2));
125 return floatValueForLength(radius.value(), boxWidthOrHeight);
179 path.moveTo(FloatPoint(floatValueForLength(m_values.at(0), boundingBox.width()) + boundingBox.x(),
180 floatValueForLength(m_values.at(1), boundingBox.height()) + boundingBox.y()));
182 path.addLineTo(FloatPoint(floatValueForLength(m_values.at(i), boundingBox.width()) + boundingBox.x(),
183 floatValueForLength(m_values.at(i + 1), boundingBox.height()) + boundingBox.y()));
221 return FloatSize(floatValueForLength(lengthSize.width(), boundingBox.width()),
222 floatValueForLength(lengthSize.height(), boundingBox.height()));
228 float left = floatValueForLength(m_left, boundingBox.width());
229 float top = floatValueForLength(m_to
[all...]
H A DRenderStyle.cpp910 transform.translate3d(floatValueForLength(transformOriginX(), boundingBox.width()) + offsetX,
911 floatValueForLength(transformOriginY(), boundingBox.height()) + offsetY,
920 transform.translate3d(-floatValueForLength(transformOriginX(), boundingBox.width()) - offsetX,
921 -floatValueForLength(transformOriginY(), boundingBox.height()) - offsetY,
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLengthFunctions.cpp37 float floatValueForLength(const Length& length, float maximumValue) function in namespace:blink
129 return FloatSize(floatValueForLength(lengthSize.width(), boxSize.width()), floatValueForLength(lengthSize.height(), boxSize.height()));
H A DLengthFunctions.h37 PLATFORM_EXPORT float floatValueForLength(const Length&, float maximumValue);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTranslateTransformOperation.h48 double x(const FloatSize& borderBoxSize) const { return floatValueForLength(m_x, borderBoxSize.width()); }
49 double y(const FloatSize& borderBoxSize) const { return floatValueForLength(m_y, borderBoxSize.height()); }
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.cpp138 floatValueForLength(values.at(i), boxWidth),
139 floatValueForLength(values.at(i + 1), boxHeight));
148 float left = floatValueForLength(inset.left(), boxWidth);
149 float top = floatValueForLength(inset.top(), boxHeight);
150 float right = floatValueForLength(inset.right(), boxWidth);
151 float bottom = floatValueForLength(inset.bottom(), boxHeight);
H A DShapeOutsideInfo.cpp153 float margin = floatValueForLength(m_renderer.style()->shapeMargin(), maximumValue.toFloat());
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGImage.cpp84 if (!floatValueForLength(intrinsicWidth, 0) || !floatValueForLength(intrinsicHeight, 0))
H A DRenderSVGRoot.cpp80 intrinsicSize.setWidth(floatValueForLength(svg->intrinsicWidth(), 0));
81 intrinsicSize.setHeight(floatValueForLength(svg->intrinsicHeight(), 0));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFilterOperations.cpp118 float stdDeviation = floatValueForLength(blurOperation->stdDeviation(), 0);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DBasicShapeFunctions.cpp272 float x = floatValueForLength(centerX.computedLength(), boxSize.width());
273 float y = floatValueForLength(centerY.computedLength(), boxSize.height());
H A DCSSComputedStyleDeclaration.cpp1403 return zoomAdjustedPixelValue(floatValueForLength(length, style.fontDescription().specifiedSize()), style);
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
H A DSVGImage.cpp337 intrinsicRatio = FloatSize(floatValueForLength(intrinsicWidth, 0), floatValueForLength(intrinsicHeight, 0));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGSVGElement.cpp626 return FloatRect(FloatPoint(), FloatSize(floatValueForLength(intrinsicWidth(), 0), floatValueForLength(intrinsicHeight(), 0)));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DFilterEffectRenderer.cpp216 float stdDeviation = floatValueForLength(toBlurFilterOperation(filterOperation)->stdDeviation(), 0) * invZoom;
H A DRenderLayer.cpp867 float perspectiveOriginX = floatValueForLength(style->perspectiveOriginX(), boxWidth);
868 float perspectiveOriginY = floatValueForLength(style->perspectiveOriginY(), boxHeight);
891 return FloatPoint(floatValueForLength(style->perspectiveOriginX(), borderBox.width().toFloat()), floatValueForLength(style->perspectiveOriginY(), borderBox.height().toFloat()));
H A DTextAutosizer.cpp843 if ((width = floatValueForLength(specifiedWidth, containerWidth)) > 0)
H A DRenderBox.cpp1944 computedValues.m_extent = std::max<LayoutUnit>(floatValueForLength(logicalWidthLength, 0) + borderAndPaddingLogicalWidth(), minPreferredLogicalWidth());
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositedLayerMapping.cpp1878 origin.setX(floatValueForLength(style->transformOriginX(), borderBox.width()));
1879 origin.setY(floatValueForLength(style->transformOriginY(), borderBox.height()));

Completed in 1464 milliseconds