/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.h | 74 enum UnitType { 168 static UnitCategory unitCategory(UnitType); 170 static UnitType fromName(const String& unit); 189 bool isViewportPercentageLength() const { return isViewportPercentageLength(static_cast<UnitType>(m_primitiveUnitType)); } 190 static bool isViewportPercentageLength(UnitType type) { return type >= CSS_VW && type <= CSS_VMAX; } 191 static bool isLength(UnitType type) 208 static bool isDotsPerInch(UnitType type) { return type == CSS_DPI; } 209 static bool isDotsPerPixel(UnitType type) { return type == CSS_DPPX; } 210 static bool isDotsPerCentimeter(UnitType type) { return type == CSS_DPCM; } 211 static bool isResolution(UnitType type) { return type >= CSS_DPPX && type <= CSS_DPCM; [all...] |
MediaValues.h | 33 static bool computeLengthImpl(double value, CSSPrimitiveValue::UnitType, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result); 35 static bool computeLength(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, T& result) 43 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const = 0; 44 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const = 0;
|
MediaValuesDynamic.h | 20 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const OVERRIDE; 21 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const OVERRIDE;
|
MediaValuesCached.h | 57 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const OVERRIDE; 58 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const OVERRIDE;
|
CSSPrimitiveValue.cpp | 54 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitType unitType) 56 switch (unitType) { 113 typedef HashMap<String, CSSPrimitiveValue::UnitType> StringToUnitTable; 147 CSSPrimitiveValue::UnitType CSSPrimitiveValue::fromName(const String& unit) 153 CSSPrimitiveValue::UnitCategory CSSPrimitiveValue::unitCategory(UnitType type) 210 CSSPrimitiveValue::UnitType CSSPrimitiveValue::primitiveType() const 216 return static_cast<UnitType>(m_primitiveUnitType); 281 CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitType type) 289 CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitType type [all...] |
CSSValuePool.h | 53 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitType); 54 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitType type) { return CSSPrimitiveValue::create(value, type); }
|
MediaValuesDynamic.cpp | 40 bool MediaValuesDynamic::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const 50 bool MediaValuesDynamic::computeLength(double value, CSSPrimitiveValue::UnitType type, double& result) const
|
MediaQueryExp.h | 45 CSSPrimitiveValue::UnitType unit;
|
MediaValuesTest.cpp | 17 CSSPrimitiveValue::UnitType type;
|
MediaValuesCached.cpp | 79 bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const 84 bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitType type, double& result) const
|
CSSCalculationValue.cpp | 50 static CalculationCategory unitCategory(CSSPrimitiveValue::UnitType type) 88 static bool hasDoubleValue(CSSPrimitiveValue::UnitType type) 195 static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitType type, bool isInteger) 271 virtual CSSPrimitiveValue::UnitType primitiveType() const OVERRIDE 368 CSSPrimitiveValue::UnitType leftType = leftSide->primitiveType(); 370 CSSPrimitiveValue::UnitType rightType = rightSide->primitiveType(); 375 CSSPrimitiveValue::UnitType canonicalType = CSSPrimitiveValue::canonicalUnitTypeForCategory(leftUnitCategory); 400 CSSPrimitiveValue::UnitType otherType = otherSide->primitiveType(); 511 virtual CSSPrimitiveValue::UnitType primitiveType() const OVERRIDE 523 CSSPrimitiveValue::UnitType leftType = m_leftSide->primitiveType() [all...] |
CSSCalculationValue.h | 86 virtual CSSPrimitiveValue::UnitType primitiveType() const = 0;
|
MediaList.cpp | 252 static void addResolutionWarningMessageToConsole(Document* document, const String& serializedExpression, CSSPrimitiveValue::UnitType type) 293 CSSPrimitiveValue::UnitType suspiciousType = CSSPrimitiveValue::CSS_UNKNOWN;
|
CSSValuePool.cpp | 93 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitType type)
|
MediaValues.cpp | 141 bool MediaValues::computeLengthImpl(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result)
|
MediaQueryExp.cpp | 248 expValue.unit = (CSSPrimitiveValue::UnitType)value->unit;
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
framework.hpp | 70 template<typename UnitType> 71 UnitType& get( test_unit_id id ) 73 return static_cast<UnitType&>( get( id, static_cast<test_unit_type>(UnitType::type) ) );
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
MediaQueryToken.h | 69 CSSPrimitiveValue::UnitType unitType() const { return m_unit; } 79 CSSPrimitiveValue::UnitType m_unit;
|
CSSPropertyParser.cpp | 331 return cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitType>(value->unit)); [all...] |
BisonCSSParser-in.cpp | 305 static inline bool parseSimpleLength(const CharacterType* characters, unsigned length, CSSPrimitiveValue::UnitType& unit, double& number) 334 CSSPrimitiveValue::UnitType unit = CSSPrimitiveValue::CSS_NUMBER; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
LengthStyleInterpolation.cpp | 45 static CSSPrimitiveValue::UnitType toUnitType(int lengthUnitType) 47 return static_cast<CSSPrimitiveValue::UnitType>(CSSPrimitiveValue::lengthUnitTypeToUnitType(static_cast<CSSPrimitiveValue::LengthUnitType>(lengthUnitType)));
|
LengthStyleInterpolationTest.cpp | 32 static void testPrimitiveValue(RefPtrWillBeRawPtr<CSSValue> value, double doubleValue, CSSPrimitiveValue::UnitType unitType) 36 EXPECT_EQ(unitType, toCSSPrimitiveValue(value.get())->primitiveType());
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLength.cpp | 164 return context.convertValueToUserUnits(m_valueInSpecifiedUnits, unitMode(), unitType(), es); 173 float convertedValue = context.convertValueFromUserUnits(value, unitMode(), unitType(), es); 238 return String::number(m_valueInSpecifiedUnits) + lengthTypeToString(unitType()); 255 SVGLengthType originalType = unitType(); 313 CSSPrimitiveValue::UnitType cssType = CSSPrimitiveValue::CSS_UNKNOWN; 314 switch (length->unitType()) { 393 SVGLengthType toType = unitType(); 394 SVGLengthType fromType = from->unitType(); 458 m_unitType = percentage < 0.5 ? fromLength->unitType() : toLength->unitType(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Element.h | 256 bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitType, bool important = false); 500 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPropertyID, double value, CSSPrimitiveValue::UnitType); [all...] |
Element.cpp | [all...] |