Home
last modified time | relevance | path

Searched refs:AnimatableLength (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableLengthTest.cpp59 PassRefPtr<AnimatableLength> create(double value, CSSPrimitiveValue::UnitTypes type) in create()
61 return AnimatableLength::create(CSSPrimitiveValue::create(value, type).get()); in create()
64 …PassRefPtr<AnimatableLength> create(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, doubl… in create()
66 … return AnimatableLength::create(createCalc(valueLeft, typeLeft, valueRight, typeRight).get()); in create()
80 return AnimatableLength::create(cssValue)->toCSSValue(); in toCSSValue()
83AnimatableLength::NumberUnitType commonUnitType(PassRefPtr<AnimatableLength> a, PassRefPtr<Animata… in commonUnitType()
88 bool isUnitlessZero(PassRefPtr<AnimatableLength> a) in isUnitlessZero()
100 …EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX… in TEST_F()
101 …EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_CM… in TEST_F()
102 …EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_MM… in TEST_F()
[all …]
DAnimatableLength.cpp40 PassRefPtr<AnimatableLength> AnimatableLength::create(CSSValue* value) in create()
62 bool AnimatableLength::canCreateFrom(const CSSValue* value) in canCreateFrom()
77 PassRefPtr<CSSValue> AnimatableLength::toCSSValue(NumberRange range) const in toCSSValue()
82 Length AnimatableLength::toLength(const CSSToLengthConversionData& conversionData, NumberRange rang… in toLength()
93 PassRefPtr<AnimatableValue> AnimatableLength::interpolateTo(const AnimatableValue* value, double fr… in interpolateTo()
95 const AnimatableLength* length = toAnimatableLength(value); in interpolateTo()
98 return AnimatableLength::create(blend(m_number, length->m_number, fraction), type); in interpolateTo()
104 return AnimatableLength::create(scale(1 - fraction).get(), length->scale(fraction).get()); in interpolateTo()
107 PassRefPtr<AnimatableValue> AnimatableLength::addWith(const AnimatableValue* value) const in addWith()
113 const AnimatableLength* length = toAnimatableLength(value); in addWith()
[all …]
DAnimatableLength.h49 class AnimatableLength : public AnimatableValue {
64 virtual ~AnimatableLength() { } in ~AnimatableLength()
66 static PassRefPtr<AnimatableLength> create(CSSValue*);
67 …static PassRefPtr<AnimatableLength> create(double number, NumberUnitType unitType, CSSPrimitiveVal…
69 return adoptRef(new AnimatableLength(number, unitType, cssPrimitiveValue));
71 …static PassRefPtr<AnimatableLength> create(PassRefPtr<CSSCalcExpressionNode> calcExpression, CSSPr…
73 return adoptRef(new AnimatableLength(calcExpression, cssPrimitiveValue));
83 AnimatableLength(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue) in AnimatableLength() function
90AnimatableLength(PassRefPtr<CSSCalcExpressionNode> calcExpression, CSSPrimitiveValue* cssPrimitive… in AnimatableLength() function
110 …static PassRefPtr<AnimatableLength> create(const AnimatableLength* leftAddend, const AnimatableLen… in create()
[all …]
DAnimatableValueTestHelperTest.cpp81 …PrintToString(AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX).get… in TEST_F()
86 AnimatableLength::create(CSSPrimitiveValue::create(1, CSSPrimitiveValue::CSS_PX).get()), in TEST_F()
87AnimatableLength::create(CSSPrimitiveValue::create(2, CSSPrimitiveValue::CSS_EMS).get()), in TEST_F()
88AnimatableLength::create(CSSPrimitiveValue::create(3, CSSPrimitiveValue::CSS_REMS).get()), in TEST_F()
89 AnimatableLength::create(CSSPrimitiveValue::create(4, CSSPrimitiveValue::CSS_PT).get()) in TEST_F()
95AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get()), in TEST_F()
96 AnimatableLength::create(CSSPrimitiveValue::create(6, CSSPrimitiveValue::CSS_PX).get()) in TEST_F()
102AnimatableLength::create(CSSPrimitiveValue::create(3, CSSPrimitiveValue::CSS_REMS).get()), in TEST_F()
103 AnimatableLength::create(CSSPrimitiveValue::create(4, CSSPrimitiveValue::CSS_PT).get()) in TEST_F()
111 …v1.append(AnimatableLength::create(CSSPrimitiveValue::create(3, CSSPrimitiveValue::CSS_REMS).get()… in TEST_F()
[all …]
DAnimatableValueTestHelper.h73 void PrintTo(const AnimatableLength&, ::std::ostream*);
DAnimatableValueTestHelper.cpp66 void PrintTo(const AnimatableLength& animLength, ::std::ostream* os) in PrintTo()
DKeyframeAnimationEffectTest.cpp50 …return AnimatableLength::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_PX).get()).lea… in pixelAnimatableValue()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimatableValueFactory.cpp68 …return AnimatableLength::create(adjustFloatForAbsoluteZoom(length.value(), style), AnimatableLengt… in createFromLength()
70 return AnimatableLength::create(length.value(), AnimatableLength::UnitTypePercentage); in createFromLength()
72 return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportWidth); in createFromLength()
74 return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportHeight); in createFromLength()
76 return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportMin); in createFromLength()
78 return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportMax); in createFromLength()
80 …return AnimatableLength::create(CSSCalcValue::createExpressionNode(length.calculationValue()->expr… in createFromLength()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-arm.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dwebcore_remaining.target.linux-x86.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dwebcore_remaining.target.linux-mips.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dwebcore_remaining.target.darwin-arm.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dwebcore_remaining.target.darwin-x86.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dwebcore_remaining.target.darwin-mips.mk61 third_party/WebKit/Source/core/animation/AnimatableLength.cpp \
Dcore.gypi547 'animation/AnimatableLength.cpp',
548 'animation/AnimatableLength.h',