Home
last modified time | relevance | path

Searched refs:narrowPrecisionToFloat (Results 1 – 25 of 31) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/ca/
DTransformationMatrixCA.cpp48 toT3D.m11 = narrowPrecisionToFloat(m11()); in operator CATransform3D()
49 toT3D.m12 = narrowPrecisionToFloat(m12()); in operator CATransform3D()
50 toT3D.m13 = narrowPrecisionToFloat(m13()); in operator CATransform3D()
51 toT3D.m14 = narrowPrecisionToFloat(m14()); in operator CATransform3D()
52 toT3D.m21 = narrowPrecisionToFloat(m21()); in operator CATransform3D()
53 toT3D.m22 = narrowPrecisionToFloat(m22()); in operator CATransform3D()
54 toT3D.m23 = narrowPrecisionToFloat(m23()); in operator CATransform3D()
55 toT3D.m24 = narrowPrecisionToFloat(m24()); in operator CATransform3D()
56 toT3D.m31 = narrowPrecisionToFloat(m31()); in operator CATransform3D()
57 toT3D.m32 = narrowPrecisionToFloat(m32()); in operator CATransform3D()
[all …]
DGraphicsLayerCA.cpp110 …value = transformOp ? narrowPrecisionToFloat(deg2rad(static_cast<const RotateTransformOperation*>(… in getTransformFunctionValue()
113 …value = transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transform… in getTransformFunctionValue()
116 …value = transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transform… in getTransformFunctionValue()
119 …value = transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transform… in getTransformFunctionValue()
122 …value = transformOp ? narrowPrecisionToFloat(static_cast<const TranslateTransformOperation*>(trans… in getTransformFunctionValue()
125 …value = transformOp ? narrowPrecisionToFloat(static_cast<const TranslateTransformOperation*>(trans… in getTransformFunctionValue()
128 …value = transformOp ? narrowPrecisionToFloat(static_cast<const TranslateTransformOperation*>(trans… in getTransformFunctionValue()
140 …value.setX(transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transf… in getTransformFunctionValue()
141 …value.setY(transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transf… in getTransformFunctionValue()
142 …value.setZ(transformOp ? narrowPrecisionToFloat(static_cast<const ScaleTransformOperation*>(transf… in getTransformFunctionValue()
[all …]
/external/webkit/Source/WebCore/platform/graphics/transforms/
DTranslateTransformOperation.cpp34 …ranslateTransformOperation::create(Length(m_x.type()).blend(m_x, narrowPrecisionToFloat(progress))… in blend()
35 … Length(m_y.type()).blend(m_y, narrowPrecisionToFloat(progress)), in blend()
36 … Length(m_z.type()).blend(m_z, narrowPrecisionToFloat(progress)), m_type); in blend()
42 …blend(fromX, narrowPrecisionToFloat(progress)), m_y.blend(fromY, narrowPrecisionToFloat(progress))… in blend()
DAffineTransform.cpp301 return FloatPoint(narrowPrecisionToFloat(x2), narrowPrecisionToFloat(y2)); in mapPoint()
313 … mappedRect.move(narrowPrecisionToFloat(m_transform[4]), narrowPrecisionToFloat(m_transform[5])); in mapRect()
329 … mappedQuad.move(narrowPrecisionToFloat(m_transform[4]), narrowPrecisionToFloat(m_transform[5])); in mapQuad()
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsLayerCACF.cpp61 toT3D.m11 = narrowPrecisionToFloat(t.m11()); in copyTransform()
62 toT3D.m12 = narrowPrecisionToFloat(t.m12()); in copyTransform()
63 toT3D.m13 = narrowPrecisionToFloat(t.m13()); in copyTransform()
64 toT3D.m14 = narrowPrecisionToFloat(t.m14()); in copyTransform()
65 toT3D.m21 = narrowPrecisionToFloat(t.m21()); in copyTransform()
66 toT3D.m22 = narrowPrecisionToFloat(t.m22()); in copyTransform()
67 toT3D.m23 = narrowPrecisionToFloat(t.m23()); in copyTransform()
68 toT3D.m24 = narrowPrecisionToFloat(t.m24()); in copyTransform()
69 toT3D.m31 = narrowPrecisionToFloat(t.m31()); in copyTransform()
70 toT3D.m32 = narrowPrecisionToFloat(t.m32()); in copyTransform()
[all …]
/external/webkit/Source/WebCore/platform/graphics/
DFloatSize.cpp47 return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height)); in narrowPrecision()
DFloatRect.cpp47 …return FloatRect(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y), narrowPrecisionToFloat(widt… in narrowPrecision()
DFloatPoint.cpp74 return FloatPoint(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y)); in narrowPrecision()
/external/webkit/Source/WebCore/platform/
DFloatConversion.h39 float narrowPrecisionToFloat(T);
42 inline float narrowPrecisionToFloat(double number) in narrowPrecisionToFloat() function
/external/webkit/Source/WebCore/accessibility/
DAccessibilityProgressIndicator.cpp55 return narrowPrecisionToFloat(element()->value()); in valueForRange()
62 return narrowPrecisionToFloat(element()->max()); in maxValueForRange()
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageCG.cpp284 float scaledTileHeight = tileRect.height() * narrowPrecisionToFloat(patternTransform.d()); in drawPattern()
288 …float adjustedX = phase.x() - destRect.x() + tileRect.x() * narrowPrecisionToFloat(patternTransfor… in drawPattern()
289 …= destRect.height() - (phase.y() - destRect.y() + tileRect.y() * narrowPrecisionToFloat(patternTra… in drawPattern()
313 float scaledTileWidth = tileRect.width() * narrowPrecisionToFloat(patternTransform.a()); in drawPattern()
/external/webkit/Source/WebCore/svg/
DSVGTransform.cpp151 …float cx = narrowPrecisionToFloat(cosAngle != 1 ? (m_matrix.e() * (1 - cosAngle) - m_matrix.f() * … in valueAsString()
152 …float cy = narrowPrecisionToFloat(cosAngle != 1 ? (m_matrix.e() * sinAngle / (1 - cosAngle) + m_ma… in valueAsString()
DSVGAnimationElement.cpp185 return narrowPrecisionToFloat(intervalBegin().value()); in getStartTime()
190 return narrowPrecisionToFloat(elapsed().value()); in getCurrentTime()
195 return narrowPrecisionToFloat(simpleDuration().value()); in getSimpleDuration()
400 return narrowPrecisionToFloat(bezier.solve(percent, solveEpsilon(duration.value()))); in calculatePercentForSpline()
DSVGAnimateElement.cpp505 return narrowPrecisionToFloat(fabs(to - from)); in calculateDistance()
DSVGSVGElement.cpp556 return narrowPrecisionToFloat(m_timeContainer->elapsed().value()); in getCurrentTime()
/external/webkit/Source/WebCore/platform/graphics/wx/
DImageWx.cpp205 narrowPrecisionToFloat(patternTransform.a()); in drawPattern()
207 narrowPrecisionToFloat(patternTransform.d()); in drawPattern()
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.mm384 duration = narrowPrecisionToFloat(CMTimeGetSeconds(cmDuration));
402 return narrowPrecisionToFloat(CMTimeGetSeconds(itemTime));
463 float rangeStart = narrowPrecisionToFloat(CMTimeGetSeconds(timeRange.start));
464 float rangeEnd = narrowPrecisionToFloat(CMTimeGetSeconds(CMTimeRangeGetEnd(timeRange)));
483 float endOfRange = narrowPrecisionToFloat(CMTimeGetSeconds(CMTimeRangeGetEnd(timeRange)));
502 float endOfRange = narrowPrecisionToFloat(CMTimeGetSeconds(CMTimeRangeGetEnd(timeRange)));
615 …:createImageForTimeInRect(%p) - creating image took %.4f", this, narrowPrecisionToFloat(duration));
/external/webkit/Source/WebCore/rendering/svg/
DSVGMarkerData.h74 return narrowPrecisionToFloat(angle); in currentAngle()
DRenderSVGInlineText.cpp244 scalingFactor = narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in computeNewScaledFontForStyle()
DSVGTextQuery.cpp441 …data->rotation = narrowPrecisionToFloat(rad2deg(atan2(fragmentTransform.b(), fragmentTransform.a()… in rotationOfCharacterCallback()
/external/webkit/Source/WebCore/platform/mac/
DWidgetMac.mm254 …CGContextScaleCTM(context, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisionT…
291 …CGContextScaleCTM(cgContext, narrowPrecisionToFloat(widgetToViewTranform.xScale()), narrowPrecisio…
/external/webkit/Source/WebCore/platform/graphics/skia/
DImageSkia.cpp419 narrowPrecisionToFloat(patternTransform.a()); in drawPattern()
421 narrowPrecisionToFloat(patternTransform.d()); in drawPattern()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp768 result.setX(narrowPrecisionToFloat(x)); in roundToDevicePixels()
769 result.setY(narrowPrecisionToFloat(y)); in roundToDevicePixels()
789 result.setWidth(narrowPrecisionToFloat(width)); in roundToDevicePixels()
790 result.setHeight(narrowPrecisionToFloat(height)); in roundToDevicePixels()
/external/webkit/Source/WebCore/html/shadow/
DMediaControlElements.cpp672 float time = narrowPrecisionToFloat(value().toDouble()); in defaultEventHandler()
740 float volume = narrowPrecisionToFloat(value().toDouble()); in defaultEventHandler()
/external/webkit/Source/WebCore/page/animation/
DAnimationBase.cpp92 return narrowPrecisionToFloat(from + (to - from) * progress); in blendFunc()
116 return to.blend(from, narrowPrecisionToFloat(progress)); in blendFunc()

12