Home
last modified time | relevance | path

Searched refs:toFloat (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/WebCore/bindings/v8/custom/
DV8CanvasRenderingContext2DCustom.cpp111 context->setStrokeColor(toFloat(args[0])); in CALLBACK_FUNC_DECL()
115 context->setStrokeColor(toWebCoreString(args[0]), toFloat(args[1])); in CALLBACK_FUNC_DECL()
117 context->setStrokeColor(toFloat(args[0]), toFloat(args[1])); in CALLBACK_FUNC_DECL()
120 … context->setStrokeColor(toFloat(args[0]), toFloat(args[1]), toFloat(args[2]), toFloat(args[3])); in CALLBACK_FUNC_DECL()
123 …context->setStrokeColor(toFloat(args[0]), toFloat(args[1]), toFloat(args[2]), toFloat(args[3]), to… in CALLBACK_FUNC_DECL()
141 context->setFillColor(toFloat(args[0])); in CALLBACK_FUNC_DECL()
145 context->setFillColor(toWebCoreString(args[0]), toFloat(args[1])); in CALLBACK_FUNC_DECL()
147 context->setFillColor(toFloat(args[0]), toFloat(args[1])); in CALLBACK_FUNC_DECL()
150 … context->setFillColor(toFloat(args[0]), toFloat(args[1]), toFloat(args[2]), toFloat(args[3])); in CALLBACK_FUNC_DECL()
153 …context->setFillColor(toFloat(args[0]), toFloat(args[1]), toFloat(args[2]), toFloat(args[3]), toFl… in CALLBACK_FUNC_DECL()
[all …]
DV8SVGMatrixCustom.cpp69 float x = toFloat(args[0]); in CALLBACK_FUNC_DECL()
70 float y = toFloat(args[1]); in CALLBACK_FUNC_DECL()
/external/webkit/WebCore/bindings/js/
DJSCanvasRenderingContext2DCustom.cpp103 context->setFillColor(args.at(0).toFloat(exec)); in setFillColor()
107 context->setFillColor(asString(args.at(0))->value(), args.at(1).toFloat(exec)); in setFillColor()
109 context->setFillColor(args.at(0).toFloat(exec), args.at(1).toFloat(exec)); in setFillColor()
112 context->setFillColor(args.at(0).toFloat(exec), args.at(1).toFloat(exec), in setFillColor()
113 args.at(2).toFloat(exec), args.at(3).toFloat(exec)); in setFillColor()
116 context->setFillColor(args.at(0).toFloat(exec), args.at(1).toFloat(exec), in setFillColor()
117 … args.at(2).toFloat(exec), args.at(3).toFloat(exec), args.at(4).toFloat(exec)); in setFillColor()
140 context->setStrokeColor(args.at(0).toFloat(exec)); in setStrokeColor()
144 context->setStrokeColor(asString(args.at(0))->value(), args.at(1).toFloat(exec)); in setStrokeColor()
146 context->setStrokeColor(args.at(0).toFloat(exec), args.at(1).toFloat(exec)); in setStrokeColor()
[all …]
DJSSVGMatrixCustom.cpp47 float x = args.at(0).toFloat(exec); in rotateFromVector()
48 float y = args.at(1).toFloat(exec); in rotateFromVector()
/external/webkit/WebCore/svg/
DSVGFELightElement.cpp57 setAzimuthBaseValue(value.toFloat()); in parseMappedAttribute()
59 setElevationBaseValue(value.toFloat()); in parseMappedAttribute()
61 setXBaseValue(value.toFloat()); in parseMappedAttribute()
63 setYBaseValue(value.toFloat()); in parseMappedAttribute()
65 setZBaseValue(value.toFloat()); in parseMappedAttribute()
67 setPointsAtXBaseValue(value.toFloat()); in parseMappedAttribute()
69 setPointsAtYBaseValue(value.toFloat()); in parseMappedAttribute()
71 setPointsAtZBaseValue(value.toFloat()); in parseMappedAttribute()
73 setSpecularExponentBaseValue(value.toFloat()); in parseMappedAttribute()
75 setLimitingConeAngleBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFontFaceElement.cpp140 return static_cast<unsigned>(ceilf(value.toFloat())); in unitsPerEm()
145 return static_cast<int>(ceilf(getAttribute(x_heightAttr).toFloat())); in xHeight()
156 return m_fontElement->getAttribute(horiz_origin_xAttr).toFloat(); in horizontalOriginX()
167 return m_fontElement->getAttribute(horiz_origin_yAttr).toFloat(); in horizontalOriginY()
178 return m_fontElement->getAttribute(horiz_adv_xAttr).toFloat(); in horizontalAdvanceX()
193 return value.toFloat(); in verticalOriginX()
208 return value.toFloat(); in verticalOriginY()
222 return value.toFloat(); in verticalAdvanceY()
233 return static_cast<int>(ceilf(ascentValue.toFloat())); in ascent()
238 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat())); in ascent()
[all …]
DSVGComponentTransferFunctionElement.cpp72 setSlopeBaseValue(value.toFloat()); in parseMappedAttribute()
74 setInterceptBaseValue(value.toFloat()); in parseMappedAttribute()
76 setAmplitudeBaseValue(value.toFloat()); in parseMappedAttribute()
78 setExponentBaseValue(value.toFloat()); in parseMappedAttribute()
80 setOffsetBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFECompositeElement.cpp72 setK1BaseValue(value.toFloat()); in parseMappedAttribute()
74 setK2BaseValue(value.toFloat()); in parseMappedAttribute()
76 setK3BaseValue(value.toFloat()); in parseMappedAttribute()
78 setK4BaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFESpecularLightingElement.cpp58 setSurfaceScaleBaseValue(value.toFloat()); in parseMappedAttribute()
60 setSpecularConstantBaseValue(value.toFloat()); in parseMappedAttribute()
62 setSpecularExponentBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGStopElement.cpp51 setOffsetBaseValue(value.left(value.length() - 1).toFloat() / 100.0f); in parseMappedAttribute()
53 setOffsetBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEOffsetElement.cpp50 setDxBaseValue(value.toFloat()); in parseMappedAttribute()
52 setDyBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFETurbulenceElement.cpp72 setSeedBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEDisplacementMapElement.cpp70 setScaleBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEDiffuseLightingElement.cpp61 setSurfaceScaleBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGAngle.cpp83 m_valueInSpecifiedUnits = m_valueAsString.toFloat(&bOK); in setValueAsString()
DSVGGlyphElement.cpp131 return value.toFloat(); in parseSVGGlyphAttribute()
DSVGPathElement.cpp181 setPathLengthBaseValue(attr->value().toFloat()); in parseMappedAttribute()
/external/webkit/WebCore/accessibility/
DAccessibilitySlider.cpp103 return element()->value().toFloat(); in valueForRange()
108 return getAttribute(maxAttr).toFloat(); in maxValueForRange()
113 return getAttribute(minAttr).toFloat(); in minValueForRange()
/external/webkit/WebKit/android/plugins/
DANPMatrixInterface.cpp37 static void toFloat(float dst[], const SkScalar src[], int n) { in toFloat() function
135 toFloat(dst, &tmp[0].fX, n*2); in anp_mapPoints()
/external/webkit/WebCore/page/
DSettings.cpp450 int scale = int(value.toFloat() * 100); in setMetadataSettings()
455 int scale = int(value.toFloat() * 100); in setMetadataSettings()
460 int scale = int(value.toFloat() * 100); in setMetadataSettings()
/external/webkit/WebCore/platform/text/
DAtomicString.h88 float toFloat(bool* ok = 0) const { return m_string.toFloat(ok); }
DString.cpp582 float String::toFloat(bool* ok) const in toFloat() function in WebCore::String
589 return m_impl->toFloat(ok); in toFloat()
DStringImpl.h147 float toFloat(bool* ok = 0);
/external/webkit/WebCore/css/
DWebKitCSSKeyframeRule.cpp84 float k = cur.substring(0, cur.length() - 1).toFloat(); in parseKeyString()
/external/webkit/WebCore/bindings/v8/
DV8Binding.h121 inline float toFloat(v8::Local<v8::Value> value) in toFloat() function

12