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