HomeSort by relevance Sort by last modified time
    Searched refs:UnitTypes (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSValuePool.h 53 PassRefPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitTypes);
54 PassRefPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitTypes type) { return CSSPrimitiveValue::create(value, type); }
CSSPrimitiveValue.h 69 enum UnitTypes {
151 static UnitCategory unitCategory(CSSPrimitiveValue::UnitTypes);
205 static PassRefPtr<CSSPrimitiveValue> create(double value, UnitTypes type) { return adoptRef(new CSSPrimitiveValue(value, type)); }
206 static PassRefPtr<CSSPrimitiveValue> create(const String& value, UnitTypes type) { return adoptRef(new CSSPrimitiveValue(value, type)); }
217 static PassRefPtr<CSSPrimitiveValue> createAllowingMarginQuirk(double value, UnitTypes type)
325 static UnitTypes canonicalUnitTypeForCategory(UnitCategory);
335 CSSPrimitiveValue(const String&, UnitTypes);
336 CSSPrimitiveValue(double, UnitTypes);
361 bool getDoubleValueInternal(UnitTypes targetUnitType, double* result) const;
CSSPrimitiveValue.cpp 55 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType)
118 CSSPrimitiveValue::UnitCategory CSSPrimitiveValue::unitCategory(CSSPrimitiveValue::UnitTypes type)
254 CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitTypes type)
262 CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitTypes type)
396 switch (static_cast<UnitTypes>(m_primitiveUnitType)) {
658 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
670 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
679 CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::canonicalUnitTypeForCategory(UnitCategory category)
705 bool CSSPrimitiveValue::getDoubleValueInternal(UnitTypes requestedUnitType, double* result) const
707 if (!isValidCSSUnitTypeForDoubleConversion(static_cast<UnitTypes>(m_primitiveUnitType)) || !isValidCSSUnitTypeForDoubleConversion(requestedUnitType)
    [all...]
CSSCalculationValue.cpp 50 static CalculationCategory unitCategory(CSSPrimitiveValue::UnitTypes type)
76 static bool hasDoubleValue(CSSPrimitiveValue::UnitTypes type)
199 static PassRefPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitTypes type, bool isInteger)
286 virtual CSSPrimitiveValue::UnitTypes primitiveType() const
288 return CSSPrimitiveValue::UnitTypes(m_value->primitiveType());
293 : CSSCalcExpressionNode(unitCategory((CSSPrimitiveValue::UnitTypes)value->primitiveType()), isInteger)
371 CSSPrimitiveValue::UnitTypes evaluationType = isInteger ? CSSPrimitiveValue::CSS_PARSER_INTEGER : CSSPrimitiveValue::CSS_NUMBER;
378 CSSPrimitiveValue::UnitTypes leftType = leftSide->primitiveType();
380 CSSPrimitiveValue::UnitTypes rightType = rightSide->primitiveType();
385 CSSPrimitiveValue::UnitTypes canonicalType = CSSPrimitiveValue::canonicalUnitTypeForCategory(leftUnitCategory)
    [all...]
SVGCSSParser.cpp 263 parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit);
300 parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit);
302 parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit);
332 ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit));
CSSCalculationValue.h 79 virtual CSSPrimitiveValue::UnitTypes primitiveType() const = 0;
CSSValuePool.cpp 89 PassRefPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitTypes type)
CSSParserValues.cpp 79 CSSPrimitiveValue::UnitTypes primitiveUnit = static_cast<CSSPrimitiveValue::UnitTypes>(unit);
MediaQueryExp.cpp 221 cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit);
224 cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit);
CSSParser-in.cpp 515 static inline bool parseSimpleLength(const CharacterType* characters, unsigned& length, CSSPrimitiveValue::UnitTypes& unit, double& number)
542 CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableNumberTest.cpp 56 PassRefPtr<AnimatableNumber> create(double value, CSSPrimitiveValue::UnitTypes type)
61 PassRefPtr<CSSCalcValue> createCalc(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight)
AnimatableNumber.cpp 137 m_cachedCSSPrimitiveValue = CSSPrimitiveValue::create(m_number, static_cast<CSSPrimitiveValue::UnitTypes>(numberTypeToPrimitiveUnit(m_unitType)));
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGLength.cpp 350 CSSPrimitiveValue::UnitTypes cssType = CSSPrimitiveValue::CSS_UNKNOWN;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Element.h 390 bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes, bool important = false);
658 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes);
    [all...]
Element.cpp     [all...]

Completed in 739 milliseconds