/external/webkit/WebCore/svg/ |
D | SVGAngle.cpp | 41 SVGAngle::SVGAngleType SVGAngle::unitType() const in unitType() function in WebCore::SVGAngle 120 void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits) in newValueSpecifiedUnits() argument 122 m_unitType = (SVGAngleType)unitType; in newValueSpecifiedUnits() 127 void SVGAngle::convertToSpecifiedUnits(unsigned short unitType) in convertToSpecifiedUnits() argument 129 if (m_unitType == unitType) in convertToSpecifiedUnits() 132 if (m_unitType == SVG_ANGLETYPE_DEG && unitType == SVG_ANGLETYPE_RAD) in convertToSpecifiedUnits() 134 else if (m_unitType == SVG_ANGLETYPE_GRAD && unitType == SVG_ANGLETYPE_RAD) in convertToSpecifiedUnits() 136 else if (m_unitType == SVG_ANGLETYPE_DEG && unitType == SVG_ANGLETYPE_GRAD) in convertToSpecifiedUnits() 138 else if (m_unitType == SVG_ANGLETYPE_RAD && unitType == SVG_ANGLETYPE_GRAD) in convertToSpecifiedUnits() 140 else if (m_unitType == SVG_ANGLETYPE_RAD && unitType == SVG_ANGLETYPE_DEG) in convertToSpecifiedUnits() [all …]
|
D | SVGAngle.h | 43 SVGAngleType unitType() const; 54 void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits); 55 void convertToSpecifiedUnits(unsigned short unitType);
|
D | SVGAngle.idl | 33 readonly attribute unsigned short unitType; 38 void newValueSpecifiedUnits(in unsigned short unitType, 40 void convertToSpecifiedUnits(in unsigned short unitType);
|
D | SVGLength.idl | 39 readonly attribute unsigned short unitType; 44 void newValueSpecifiedUnits(in unsigned short unitType, 47 [Custom] void convertToSpecifiedUnits(in unsigned short unitType);
|
D | SVGLength.h | 70 SVGLengthType unitType() const; 91 SVGLengthType type = unitType(); in isRelative()
|
D | SVGSVGElement.cpp | 133 if (w.unitType() != LengthTypePercentage) in relativeWidthValue() 142 if (h.unitType() != LengthTypePercentage) in relativeHeightValue()
|
D | SVGLength.cpp | 121 SVGLengthType SVGLength::unitType() const in unitType() function in WebCore::SVGLength
|
/external/webkit/WebCore/css/ |
D | CSSPrimitiveValue.h | 132 double getDoubleValue(unsigned short unitType, ExceptionCode&); 133 double getDoubleValue(unsigned short unitType); 136 void setFloatValue(unsigned short unitType, double floatValue, ExceptionCode&); 137 …float getFloatValue(unsigned short unitType, ExceptionCode& ec) { return static_cast<float>(getDou… in getFloatValue() argument 138 …float getFloatValue(unsigned short unitType) { return static_cast<float>(getDoubleValue(unitType))… in getFloatValue() argument 141 …int getIntValue(unsigned short unitType, ExceptionCode& ec) { return static_cast<int>(getDoubleVal… in getIntValue() argument 142 int getIntValue(unsigned short unitType) { return static_cast<int>(getDoubleValue(unitType)); } in getIntValue() argument
|
D | CSSPrimitiveValue.cpp | 476 void CSSPrimitiveValue::setFloatValue(unsigned short unitType, double floatValue, ExceptionCode& ec) in setFloatValue() argument 480 …if (m_type < CSS_NUMBER || m_type > CSS_DIMENSION || unitType < CSS_NUMBER || unitType > CSS_DIMEN… in setFloatValue() 489 m_type = unitType; in setFloatValue() 492 static double scaleFactorForConversion(unsigned short unitType) in scaleFactorForConversion() argument 495 switch (unitType) { in scaleFactorForConversion() 520 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionCode& ec) in getDoubleValue() argument 523 …if (m_type < CSS_NUMBER || m_type > CSS_DIMENSION || unitType < CSS_NUMBER || unitType > CSS_DIMEN… in getDoubleValue() 528 if (unitType == m_type || unitType < CSS_PX || unitType > CSS_PC) in getDoubleValue() 538 factor = scaleFactorForConversion(unitType); in getDoubleValue() 544 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) in getDoubleValue() argument [all …]
|
D | CSSPrimitiveValue.idl | 54 [OldStyleObjC] void setFloatValue(in unsigned short unitType, 57 float getFloatValue(in unsigned short unitType)
|
D | CSSParser.cpp | 3574 Units unitType = FUnknown; in parseColorParameters() local 3577 unitType = FInteger; in parseColorParameters() 3579 unitType = FPercent; in parseColorParameters() 3588 if (!validUnit(v, unitType, true)) in parseColorParameters()
|
/external/webkit/WebCore/svg/graphics/ |
D | SVGImage.cpp | 142 if (width.unitType() == LengthTypePercentage) in size() 147 if (height.unitType() == LengthTypePercentage) in size() 163 return rootElement->width().unitType() == LengthTypePercentage; in hasRelativeWidth() 174 return rootElement->height().unitType() == LengthTypePercentage; in hasRelativeHeight()
|
/external/webkit/WebCore/rendering/ |
D | RenderSVGRoot.cpp | 185 …float viewportWidth = (width.unitType() == LengthTypePercentage) ? svg->relativeWidthValue() : wid… in calcViewport() 186 …float viewportHeight = (height.unitType() == LengthTypePercentage) ? svg->relativeHeightValue() : … in calcViewport()
|
/external/webkit/WebCore/bindings/objc/ |
D | PublicDOMInterfaces.h | 942 - (void)setFloatValue:(unsigned short)unitType :(float)floatValue; 943 - (void)setFloatValue:(unsigned short)unitType floatValue:(float)floatValue AVAILABLE_WEBKIT_VERSIO… 944 - (float)getFloatValue:(unsigned short)unitType;
|
/external/webkit/WebCore/ |
D | ChangeLog-2006-12-31 | 3188 (WebCore::SVGLength::unitType): 35714 (SVGAngle::unitType): 35720 (WebCore::SVGLength::unitType):
|