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

  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
TransformBuilder.cpp 54 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, const CSSToLengthConversionData& conversionData)
56 return primitiveValue ? primitiveValue->convertToLength<FixedConversion | PercentConversion>(conversionData) : Length(Undefined);
88 bool TransformBuilder::createTransformOperations(CSSValue* inValue, const CSSToLengthConversionData& conversionData, TransformOperations& outOperations)
95 float zoomFactor = conversionData.zoom();
172 ty = convertToFloatLength(firstValue, conversionData);
174 tx = convertToFloatLength(firstValue, conversionData);
178 ty = convertToFloatLength(secondValue, conversionData);
195 tz = convertToFloatLength(firstValue, conversionData);
197 ty = convertToFloatLength(firstValue, conversionData);
199 tx = convertToFloatLength(firstValue, conversionData);
    [all...]
FilterOperationResolver.cpp 366 const CSSToLengthConversionData& conversionData = unadjustedConversionData.copyWithAdjustedZoom(zoomFactor);
465 stdDeviation = firstValue->convertToLength<FixedConversion | PercentConversion>(conversionData);
481 IntPoint location(item->x->computeLength<int>(conversionData), item->y->computeLength<int>(conversionData));
482 int blur = item->blur ? item->blur->computeLength<int>(conversionData) : 0;
CSSToStyleMap.cpp 598 static BorderImageLength toBorderImageLength(CSSPrimitiveValue& value, const CSSToLengthConversionData& conversionData)
605 return value.computeLength<Length>(conversionData);
618 const CSSToLengthConversionData& conversionData = cssToLengthConversionData().copyWithAdjustedZoom(zoom);
620 toBorderImageLength(*slices->top(), conversionData),
621 toBorderImageLength(*slices->right(), conversionData),
622 toBorderImageLength(*slices->bottom(), conversionData),
623 toBorderImageLength(*slices->left(), conversionData));
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSGradientValue.cpp 66 CSSToLengthConversionData conversionData(renderer->style(), rootStyle);
68 gradient = toCSSLinearGradientValue(this)->createGradient(conversionData, size);
70 gradient = toCSSRadialGradientValue(this)->createGradient(conversionData, size);
137 void CSSGradientValue::addStops(Gradient* gradient, const CSSToLengthConversionData& conversionData, float maxLengthForRepeat)
188 length = stop.m_position->computeLength<float>(conversionData);
190 length = stop.m_position->cssCalcValue()->toCalcValue(conversionData)->evaluate(gradientLength);
391 static float positionFromValue(CSSPrimitiveValue* value, const CSSToLengthConversionData& conversionData, const IntSize& size, bool isHorizontal)
394 return value->getFloatValue() * conversionData.zoom();
401 return value->cssCalcValue()->toCalcValue(conversionData)->evaluate(edgeDistance);
420 return value->computeLength<float>(conversionData);
    [all...]
CSSPrimitiveValue.cpp 520 template<> int CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData)
522 return roundForImpreciseConversion<int>(computeLengthDouble(conversionData));
525 template<> unsigned CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData)
527 return roundForImpreciseConversion<unsigned>(computeLengthDouble(conversionData));
530 template<> Length CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData)
532 return Length(clampTo<float>(computeLengthDouble(conversionData), minValueForCssLength, maxValueForCssLength), Fixed);
535 template<> short CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData)
537 return roundForImpreciseConversion<short>(computeLengthDouble(conversionData));
540 template<> unsigned short CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData)
542 return roundForImpreciseConversion<unsigned short>(computeLengthDouble(conversionData));
    [all...]
CSSCalculationValue.h 104 PassRefPtr<CalculationValue> toCalcValue(const CSSToLengthConversionData& conversionData) const
106 return CalculationValue::create(m_expression->toCalcValue(conversionData), m_nonNegative ? ValueRangeNonNegative : ValueRangeAll);
CSSCalculationValue.cpp 181 double CSSCalcValue::computeLengthPx(const CSSToLengthConversionData& conversionData) const
183 return clampToPermittedRange(m_expression->computeLengthPx(conversionData));
226 virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const CSSToLengthConversionData& conversionData) const
232 return adoptPtr(new CalcExpressionLength(Length(m_value->computeLength<float>(conversionData), WebCore::Fixed)));
237 ? primitiveValue->convertToLength<FixedConversion | PercentConversion>(conversionData)
258 virtual double computeLengthPx(const CSSToLengthConversionData& conversionData) const
262 return m_value->computeLength<double>(conversionData);
423 virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const CSSToLengthConversionData& conversionData) const
425 OwnPtr<CalcExpressionNode> left(m_leftSide->toCalcValue(conversionData));
428 OwnPtr<CalcExpressionNode> right(m_rightSide->toCalcValue(conversionData));
    [all...]
CSSPrimitiveValueMappings.h     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableLength.cpp 82 Length AnimatableLength::toLength(const CSSToLengthConversionData& conversionData, NumberRange range) const
86 return Length(clampedNumber(range) * conversionData.zoom(), Fixed);
90 return toCSSPrimitiveValue(range)->convertToLength<AnyConversion>(conversionData);

Completed in 65 milliseconds