Searched refs:unitType (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAngle.idl31 readonly attribute unsigned short unitType;
37 [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
39 [StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
H A DSVGAngle.cpp138 static bool parseValue(const String& value, float& valueInSpecifiedUnits, SVGAngle::SVGAngleType& unitType) argument
146 unitType = stringToAngleType(ptr, end);
147 if (unitType == SVGAngle::SVG_ANGLETYPE_UNKNOWN)
161 SVGAngleType unitType = SVG_ANGLETYPE_UNKNOWN; local
163 bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType)
164 : parseValue<UChar>(value, valueInSpecifiedUnits, unitType);
170 m_unitType = unitType;
174 void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& es) argument
176 if (unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRA
187 convertToSpecifiedUnits(unsigned short unitType, ExceptionState& es) argument
[all...]
H A DSVGAngle.h44 SVGAngleType unitType() const { return m_unitType; } function in class:WebCore::SVGAngle
55 void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&);
56 void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&);
H A DSVGLength.idl37 readonly attribute unsigned short unitType;
43 [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType,
46 [Custom, StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
H A DGradientAttributes.h49 void setGradientUnits(SVGUnitTypes::SVGUnitType unitType) argument
51 m_gradientUnits = unitType;
H A DSVGAnimatedLengthList.cpp115 SVGLengthType unitType = toLengthList[i].unitType(); local
119 unitType = fromLengthList[i].unitType();
125 animatedLengthList[i].setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION);
H A DSVGAnimatedLength.cpp105 SVGLengthType unitType = percentage < 0.5 ? fromSVGLength.unitType() : toSVGLength.unitType(); local
108 animatedSVGLength.setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION);
H A DSVGLength.h63 SVGLengthType unitType() const;
91 SVGLengthType type = unitType();
106 SVGLengthType toType = unitType();
107 SVGLengthType fromType = from.unitType();
H A DSVGLength.cpp128 SVGLength::SVGLength(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType) argument
130 , m_unit(storeUnit(mode, unitType))
174 SVGLengthType SVGLength::unitType() const function in class:WebCore::SVGLength
194 void SVGLength::setValue(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType, ExceptionState& es) argument
196 m_unit = storeUnit(mode, unitType);
351 switch (length.unitType()) {
H A DSVGSVGElement.cpp640 if (widthCurrentValue().unitType() == LengthTypePercentage)
654 if (heightCurrentValue().unitType() == LengthTypePercentage)
/external/chromium_org/chrome/browser/resources/print_preview/data/
H A Dmeasurement_system.js13 * @param {!print_preview.MeasurementSystem.UnitType} unitType Measurement
17 function MeasurementSystem(thousandsDelimeter, decimalDelimeter, unitType) {
20 this.unitType_ = unitType;
111 setSystem: function(thousandsDelimeter, decimalDelimeter, unitType) {
114 this.unitType_ = unitType;
H A Dprint_ticket_store.js261 * @param {!print_preview.MeasurementSystem.UnitType} unitType Type of unit
267 thousandsDelimeter, decimalDelimeter, unitType, selectionOnly) {
269 unitType);
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableNumber.h66 static PassRefPtr<AnimatableNumber> create(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue = 0) argument
68 return adoptRef(new AnimatableNumber(number, unitType, cssPrimitiveValue));
79 AnimatableNumber(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue) argument
82 , m_unitType(unitType)
H A DAnimatableNumber.cpp49 NumberUnitType unitType = primitiveUnitToNumberType(primitiveValue->primitiveType());
50 ASSERT(unitType != UnitTypeInvalid);
52 return create(primitiveValue->getDoubleValue() * scale, unitType, primitiveValue);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSPrimitiveValue.h265 double getDoubleValue(unsigned short unitType, ExceptionState&) const;
266 double getDoubleValue(unsigned short unitType) const;
269 void setFloatValue(unsigned short unitType, double floatValue, ExceptionState&);
270 float getFloatValue(unsigned short unitType, ExceptionState& es) const { return getValue<float>(unitType, es); } argument
271 float getFloatValue(unsigned short unitType) const { return getValue<float>(unitType); }
274 int getIntValue(unsigned short unitType, ExceptionState& es) const { return getValue<int>(unitType, es); } argument
275 int getIntValue(unsigned short unitType) cons
278 getValue(unsigned short unitType, ExceptionState& es) const argument
[all...]
H A DCSSPrimitiveValue.idl57 [RaisesException] void setFloatValue([Default=Undefined] optional unsigned short unitType,
59 [RaisesException] float getFloatValue([Default=Undefined] optional unsigned short unitType);
H A DCSSPrimitiveValue.cpp55 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType) argument
57 switch (unitType) {
603 double CSSPrimitiveValue::conversionToCanonicalUnitsScaleFactor(unsigned short unitType) argument
607 switch (unitType) {
655 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionState& es) const argument
658 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
667 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) const
670 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
747 // Now convert from canonical type to the target unitType.
H A DCSSParser-in.cpp6157 Units unitType = FUnknown;
6160 unitType = FInteger;
6162 unitType = FPercent;
6172 if (!validUnit(v, unitType, CSSStrictMode))
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8SVGLengthCustom.cpp91 V8TRYCATCH_VOID(int, unitType, toUInt32(args[0]));
93 imp.convertToSpecifiedUnits(unitType, lengthContext, es);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngineSpacing.cpp89 if (kerningLength.unitType() == LengthTypePercentage)
H A DSVGTextLayoutEngineBaseline.cpp42 if (baselineShiftValueLength.unitType() == LengthTypePercentage)
H A DSVGRenderTreeAsText.cpp165 static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) argument
167 ts << SVGPropertyTraits<SVGUnitTypes::SVGUnitType>::toString(unitType);
/external/chromium_org/chrome/browser/resources/print_preview/
H A Dnative_layer.js337 var unitType = print_preview.MeasurementSystem.UnitType.IMPERIAL;
339 unitType = initialSettings['measurementSystem'];
346 unitType,
589 * @param {!print_preview.MeasurementSystem.UnitType} unitType Unit type of
607 unitType,
641 this.unitType_ = unitType;
708 get unitType() {
H A Dprint_preview.js501 settings.unitType,

Completed in 3561 milliseconds