Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/bindings/js/
DJSCanvasRenderingContext2DCustom.cpp113 context->setFillColor(exec->argument(0).toFloat(exec)); in setFillColor()
117 …lColor(ustringToString(asString(exec->argument(0))->value(exec)), exec->argument(1).toFloat(exec)); in setFillColor()
119 … context->setFillColor(exec->argument(0).toFloat(exec), exec->argument(1).toFloat(exec)); in setFillColor()
122 context->setFillColor(exec->argument(0).toFloat(exec), exec->argument(1).toFloat(exec), in setFillColor()
123 exec->argument(2).toFloat(exec), exec->argument(3).toFloat(exec)); in setFillColor()
126 context->setFillColor(exec->argument(0).toFloat(exec), exec->argument(1).toFloat(exec), in setFillColor()
127 …exec->argument(2).toFloat(exec), exec->argument(3).toFloat(exec), exec->argument(4).toFloat(exec)); in setFillColor()
150 context->setStrokeColor(exec->argument(0).toFloat(exec)); in setStrokeColor()
154 …eColor(ustringToString(asString(exec->argument(0))->value(exec)), exec->argument(1).toFloat(exec)); in setStrokeColor()
156 … context->setStrokeColor(exec->argument(0).toFloat(exec), exec->argument(1).toFloat(exec)); in setStrokeColor()
[all …]
DJSAudioContextCustom.cpp70 float sampleRate = exec->argument(2).toFloat(exec); in constructJSAudioContext()
113 float sampleRate = exec->argument(2).toFloat(exec); in createBuffer()
DJSSVGLengthCustom.cpp61 podImp.setValue(value.toFloat(exec), impl()->contextElement(), ec); in setValue()
/external/webkit/Source/WebCore/svg/
DSVGFontFaceElement.cpp130 return static_cast<unsigned>(ceilf(value.toFloat())); in unitsPerEm()
135 return static_cast<int>(ceilf(getAttribute(x_heightAttr).toFloat())); in xHeight()
146 return m_fontElement->getAttribute(horiz_origin_xAttr).toFloat(); in horizontalOriginX()
157 return m_fontElement->getAttribute(horiz_origin_yAttr).toFloat(); in horizontalOriginY()
168 return m_fontElement->getAttribute(horiz_adv_xAttr).toFloat(); in horizontalAdvanceX()
183 return value.toFloat(); in verticalOriginX()
198 return value.toFloat(); in verticalOriginY()
212 return value.toFloat(); in verticalAdvanceY()
223 return static_cast<int>(ceilf(ascentValue.toFloat())); in ascent()
228 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat())); in ascent()
[all …]
DSVGFELightElement.cpp80 setAzimuthBaseValue(value.toFloat()); in parseMappedAttribute()
82 setElevationBaseValue(value.toFloat()); in parseMappedAttribute()
84 setXBaseValue(value.toFloat()); in parseMappedAttribute()
86 setYBaseValue(value.toFloat()); in parseMappedAttribute()
88 setZBaseValue(value.toFloat()); in parseMappedAttribute()
90 setPointsAtXBaseValue(value.toFloat()); in parseMappedAttribute()
92 setPointsAtYBaseValue(value.toFloat()); in parseMappedAttribute()
94 setPointsAtZBaseValue(value.toFloat()); in parseMappedAttribute()
96 setSpecularExponentBaseValue(value.toFloat()); in parseMappedAttribute()
98 setLimitingConeAngleBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGComponentTransferFunctionElement.cpp71 setSlopeBaseValue(value.toFloat()); in parseMappedAttribute()
73 setInterceptBaseValue(value.toFloat()); in parseMappedAttribute()
75 setAmplitudeBaseValue(value.toFloat()); in parseMappedAttribute()
77 setExponentBaseValue(value.toFloat()); in parseMappedAttribute()
79 setOffsetBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFECompositeElement.cpp74 setK1BaseValue(value.toFloat()); in parseMappedAttribute()
76 setK2BaseValue(value.toFloat()); in parseMappedAttribute()
78 setK3BaseValue(value.toFloat()); in parseMappedAttribute()
80 setK4BaseValue(value.toFloat()); in parseMappedAttribute()
DSVGStopElement.cpp54 setOffsetBaseValue(value.left(value.length() - 1).toFloat() / 100.0f); in parseMappedAttribute()
56 setOffsetBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEOffsetElement.cpp52 setDxBaseValue(value.toFloat()); in parseMappedAttribute()
54 setDyBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFESpecularLightingElement.cpp77 setSurfaceScaleBaseValue(value.toFloat()); in parseMappedAttribute()
79 setSpecularConstantBaseValue(value.toFloat()); in parseMappedAttribute()
81 setSpecularExponentBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEDiffuseLightingElement.cpp74 setSurfaceScaleBaseValue(value.toFloat()); in parseMappedAttribute()
76 setDiffuseConstantBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGHKernElement.cpp82 kerningPair.kerning = getAttribute(kAttr).string().toFloat(); in buildHorizontalKerningPair()
DSVGVKernElement.cpp80 kerningPair.kerning = getAttribute(kAttr).string().toFloat(); in buildVerticalKerningPair()
DSVGFEConvolveMatrixElement.cpp109 setDivisorBaseValue(value.toFloat()); in parseMappedAttribute()
111 setBiasBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGGlyphElement.cpp132 return value.toFloat(); in parseSVGGlyphAttribute()
DSVGFETurbulenceElement.cpp85 setSeedBaseValue(value.toFloat()); in parseMappedAttribute()
DSVGFEDisplacementMapElement.cpp77 setScaleBaseValue(value.toFloat()); in parseMappedAttribute()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8WebKitPointConstructor.cpp54 x = toFloat(args[0]); in constructorCallback()
59 y = toFloat(args[1]); in constructorCallback()
DV8AudioContextCustom.cpp75 float sampleRate = toFloat(args[2]); in constructorCallback()
133 float sampleRate = toFloat(args[2]); in createBufferCallback()
/external/webkit/Source/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/Source/WebCore/css/
DWebKitCSSKeyframeRule.cpp84 float k = cur.substring(0, cur.length() - 1).toFloat(); in parseKeyString()
/external/webkit/Source/JavaScriptCore/wtf/text/
DAtomicString.h90 float toFloat(bool* ok = 0) const { return m_string.toFloat(ok); }
/external/webkit/Source/WebCore/page/
DSettings.cpp592 int scale = int(value.toFloat() * 100); in setMetadataSettings()
597 int scale = int(value.toFloat() * 100); in setMetadataSettings()
602 int scale = int(value.toFloat() * 100); in setMetadataSettings()
/external/webkit/Source/WebCore/accessibility/
DAccessibilitySlider.cpp134 return element()->value().toFloat(); in valueForRange()
DAccessibilityMediaControls.cpp276 float time = static_cast<HTMLInputElement*>(m_renderer->node())->value().toFloat(); in valueDescription()

12