Home
last modified time | relevance | path

Searched refs:TimingFunction (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/animation/
DTimingFunctionTest.cpp57 void notEqualHelperLoop(Vector<std::pair<std::string, RefPtr<TimingFunction> > >& v) in notEqualHelperLoop()
71 RefPtr<TimingFunction> linearTiming = LinearTimingFunction::shared(); in TEST_F()
77 …RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFuncti… in TEST_F()
79 …RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunc… in TEST_F()
81 …RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFun… in TEST_F()
83 …RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingF… in TEST_F()
86 …RefPtr<TimingFunction> cubicCustomTiming = CubicBezierTimingFunction::create(0.17, 0.67, 1, -1.73); in TEST_F()
92 … RefPtr<TimingFunction> stepTimingStart = StepsTimingFunction::preset(StepsTimingFunction::Start); in TEST_F()
95 …RefPtr<TimingFunction> stepTimingMiddle = StepsTimingFunction::preset(StepsTimingFunction::Middle); in TEST_F()
98 RefPtr<TimingFunction> stepTimingEnd = StepsTimingFunction::preset(StepsTimingFunction::End); in TEST_F()
[all …]
DTimingFunction.h41 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> {
48 virtual ~TimingFunction() { } in ~TimingFunction()
63 TimingFunction(Type type) in TimingFunction() function
72 class PLATFORM_EXPORT LinearTimingFunction FINAL : public TimingFunction {
89 : TimingFunction(LinearFunction) in LinearTimingFunction()
94 class PLATFORM_EXPORT CubicBezierTimingFunction FINAL : public TimingFunction {
154 : TimingFunction(CubicBezierFunction) in CubicBezierTimingFunction()
171 class PLATFORM_EXPORT StepsTimingFunction FINAL : public TimingFunction {
215 : TimingFunction(StepsFunction) in StepsTimingFunction()
225 PLATFORM_EXPORT bool operator==(const LinearTimingFunction&, const TimingFunction&);
[all …]
DTimingFunction.cpp168 bool operator==(const LinearTimingFunction& lhs, const TimingFunction& rhs) in operator ==()
170 return rhs.type() == TimingFunction::LinearFunction; in operator ==()
173 bool operator==(const CubicBezierTimingFunction& lhs, const TimingFunction& rhs) in operator ==()
175 if (rhs.type() != TimingFunction::CubicBezierFunction) in operator ==()
185 bool operator==(const StepsTimingFunction& lhs, const TimingFunction& rhs) in operator ==()
187 if (rhs.type() != TimingFunction::StepsFunction) in operator ==()
196 bool operator==(const TimingFunction& lhs, const TimingFunction& rhs) in operator ==()
199 case TimingFunction::LinearFunction: { in operator ==()
203 case TimingFunction::CubicBezierFunction: { in operator ==()
207 case TimingFunction::StepsFunction: { in operator ==()
[all …]
DAnimationValue.h45 explicit AnimationValue(double keyTime, PassRefPtr<TimingFunction> timingFunction = nullptr)
54 const TimingFunction* timingFunction() const { return m_timingFunction.get(); } in timingFunction()
59 RefPtr<TimingFunction> m_timingFunction;
65 …FloatAnimationValue(double keyTime, float value, PassRefPtr<TimingFunction> timingFunction = nullp…
81 …lue(double keyTime, const TransformOperations* value = 0, PassRefPtr<TimingFunction> timingFunctio…
98 …nValue(double keyTime, const FilterOperations* value = 0, PassRefPtr<TimingFunction> timingFunctio…
/external/chromium_org/cc/animation/
Dtiming_function.cc11 TimingFunction::TimingFunction() {} in TimingFunction() function in cc::TimingFunction
13 TimingFunction::~TimingFunction() {} in ~TimingFunction()
44 scoped_ptr<TimingFunction> CubicBezierTimingFunction::Clone() const { in Clone()
46 .PassAs<TimingFunction>(); in Clone()
51 scoped_ptr<TimingFunction> EaseTimingFunction::Create() { in Create()
53 0.25, 0.1, 0.25, 1.0).PassAs<TimingFunction>(); in Create()
56 scoped_ptr<TimingFunction> EaseInTimingFunction::Create() { in Create()
58 0.42, 0.0, 1.0, 1.0).PassAs<TimingFunction>(); in Create()
61 scoped_ptr<TimingFunction> EaseOutTimingFunction::Create() { in Create()
63 0.0, 0.0, 0.58, 1.0).PassAs<TimingFunction>(); in Create()
[all …]
Dkeyframed_animation_curve_unittest.cc33 ColorKeyframe::Create(0.0, color, scoped_ptr<TimingFunction>())); in TEST()
50 ColorKeyframe::Create(0.0, color_a, scoped_ptr<TimingFunction>())); in TEST()
52 ColorKeyframe::Create(1.0, color_b, scoped_ptr<TimingFunction>())); in TEST()
73 ColorKeyframe::Create(0.0, color_a, scoped_ptr<TimingFunction>())); in TEST()
75 ColorKeyframe::Create(1.0, color_b, scoped_ptr<TimingFunction>())); in TEST()
77 ColorKeyframe::Create(2.0, color_c, scoped_ptr<TimingFunction>())); in TEST()
96 ColorKeyframe::Create(0.0, color_a, scoped_ptr<TimingFunction>())); in TEST()
98 ColorKeyframe::Create(1.0, color_a, scoped_ptr<TimingFunction>())); in TEST()
100 ColorKeyframe::Create(1.0, color_b, scoped_ptr<TimingFunction>())); in TEST()
102 ColorKeyframe::Create(2.0, color_b, scoped_ptr<TimingFunction>())); in TEST()
[all …]
Dtiming_function.h14 class CC_EXPORT TimingFunction {
16 virtual ~TimingFunction();
22 virtual scoped_ptr<TimingFunction> Clone() const = 0;
25 TimingFunction();
28 DISALLOW_ASSIGN(TimingFunction);
31 class CC_EXPORT CubicBezierTimingFunction : public TimingFunction {
41 virtual scoped_ptr<TimingFunction> Clone() const OVERRIDE;
54 static scoped_ptr<TimingFunction> Create();
62 static scoped_ptr<TimingFunction> Create();
70 static scoped_ptr<TimingFunction> Create();
[all …]
Dkeyframed_animation_curve.h19 const TimingFunction* timing_function() const { in timing_function()
24 Keyframe(double time, scoped_ptr<TimingFunction> timing_function);
29 scoped_ptr<TimingFunction> timing_function_;
39 scoped_ptr<TimingFunction> timing_function);
49 scoped_ptr<TimingFunction> timing_function);
59 scoped_ptr<TimingFunction> timing_function);
69 scoped_ptr<TimingFunction> timing_function);
79 scoped_ptr<TimingFunction> timing_function);
90 scoped_ptr<TimingFunction> timing_function);
100 scoped_ptr<TimingFunction> timing_function);
[all …]
Dscroll_offset_animation_curve.h15 class TimingFunction; variable
21 scoped_ptr<TimingFunction> timing_function);
37 scoped_ptr <TimingFunction> timing_function);
46 scoped_ptr<TimingFunction> timing_function_;
Dscroll_offset_animation_curve.cc35 static scoped_ptr<TimingFunction> EaseOutWithInitialVelocity(double velocity) { in EaseOutWithInitialVelocity()
42 .PassAs<TimingFunction>(); in EaseOutWithInitialVelocity()
49 scoped_ptr<TimingFunction> timing_function) { in Create()
56 scoped_ptr<TimingFunction> timing_function) in ScrollOffsetAnimationCurve()
94 scoped_ptr<TimingFunction> timing_function( in Clone()
95 static_cast<TimingFunction*>(timing_function_->Clone().release())); in Clone()
Dkeyframed_animation_curve.cc45 Keyframe::Keyframe(double time, scoped_ptr<TimingFunction> timing_function) in Keyframe()
58 scoped_ptr<TimingFunction> timing_function) { in Create()
65 scoped_ptr<TimingFunction> timing_function) in ColorKeyframe()
74 scoped_ptr<TimingFunction> func; in Clone()
83 scoped_ptr<TimingFunction> timing_function) { in Create()
90 scoped_ptr<TimingFunction> timing_function) in FloatKeyframe()
101 scoped_ptr<TimingFunction> func; in Clone()
110 scoped_ptr<TimingFunction> timing_function) { in Create()
117 scoped_ptr<TimingFunction> timing_function) in TransformKeyframe()
128 scoped_ptr<TimingFunction> func; in Clone()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/
DKeyframe.h30 void setEasing(PassRefPtr<TimingFunction> easing) { m_easing = easing; } in setEasing()
31 TimingFunction& easing() const { return *m_easing; } in easing()
57 TimingFunction& easing() const { return *m_easing; } in easing()
66 …<PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const…
72 …PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, AnimationEffect::Compos…
75 RefPtr<TimingFunction> m_easing;
88 …me(double offset, AnimationEffect::CompositeOperation composite, PassRefPtr<TimingFunction> easing) in Keyframe()
97 RefPtr<TimingFunction> m_easing;
DInterpolationEffect.h21 …tion(PassRefPtrWillBeRawPtr<Interpolation> interpolation, PassRefPtr<TimingFunction> easing, doubl… in addInterpolation()
36 RefPtr<TimingFunction> m_easing;
42 …eate(PassRefPtrWillBeRawPtr<Interpolation> interpolation, PassRefPtr<TimingFunction> easing, doubl… in create()
50 …cord(PassRefPtrWillBeRawPtr<Interpolation> interpolation, PassRefPtr<TimingFunction> easing, doubl… in InterpolationRecord()
DCompositorAnimations.cpp106 const TimingFunction& timing = frames[j]->easing(); in getAnimatedBoundingBox()
173 if (i < frames.size() - 1 && frame->easing().type() == TimingFunction::StepsFunction) in isCandidateForAnimationOnCompositor()
182 if (timing.timingFunction->type() != TimingFunction::LinearFunction) { in isCandidateForAnimationOnCompositor()
185 …&& keyframes[0]->easing().type() == TimingFunction::LinearFunction && timing.timingFunction->type(… in isCandidateForAnimationOnCompositor()
303 …rveType& curve, const PlatformAnimationKeyframeType& keyframe, const TimingFunction* timingFunctio… in addKeyframeWithTimingFunction()
311 case TimingFunction::LinearFunction: in addKeyframeWithTimingFunction()
315 case TimingFunction::CubicBezierFunction: { in addKeyframeWithTimingFunction()
349 case TimingFunction::StepsFunction: in addKeyframeWithTimingFunction()
361 const TimingFunction* keyframeTimingFunction = 0; in addKeyframesToCurve()
363 … if (keyframes.size() == 2 && keyframes[0]->easing().type() == TimingFunction::LinearFunction) { in addKeyframesToCurve()
DAnimationInputHelpers.h13 class TimingFunction; variable
18 static PassRefPtr<TimingFunction> parseTimingFunction(const String&);
DStringKeyframe.h35 …PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, CSSValue*, AnimationEff…
42 …:PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const…
48 PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, CSSValue*);
DStringKeyframe.cpp57 …SpecificKeyframe::PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, CSSVa… in PropertySpecificKeyframe()
62 …SpecificKeyframe::PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, CSSVa… in PropertySpecificKeyframe()
134 …::PropertySpecificKeyframe::neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const in neutralKeyframe()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSTimingData.h24 … const Vector<RefPtr<TimingFunction> >& timingFunctionList() const { return m_timingFunctionList; } in timingFunctionList()
28 Vector<RefPtr<TimingFunction> >& timingFunctionList() { return m_timingFunctionList; } in timingFunctionList()
32 …static PassRefPtr<TimingFunction> initialTimingFunction() { return CubicBezierTimingFunction::pres… in initialTimingFunction()
45 Vector<RefPtr<TimingFunction> > m_timingFunctionList;
/external/chromium_org/cc/blink/
Dweb_animation_curve_common.cc11 scoped_ptr<cc::TimingFunction> CreateTimingFunction( in CreateTimingFunction()
23 return scoped_ptr<cc::TimingFunction>(); in CreateTimingFunction()
25 return scoped_ptr<cc::TimingFunction>(); in CreateTimingFunction()
Dweb_animation_curve_common.h12 class TimingFunction; variable
16 scoped_ptr<cc::TimingFunction> CreateTimingFunction(
Dweb_float_animation_curve_unittest.cc129 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
159 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
175 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
191 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
210 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
225 scoped_ptr<cc::TimingFunction> timing_function( in TEST()
/external/chromium_org/cc/input/
Dpage_scale_animation.h17 class TimingFunction; variable
35 scoped_ptr<TimingFunction> timing_function);
79 scoped_ptr<TimingFunction> timing_function);
109 scoped_ptr<TimingFunction> timing_function_;
/external/chromium_org/cc/test/
Danimation_test_common.cc20 using cc::TimingFunction;
34 scoped_ptr<TimingFunction> func; in AddOpacityTransition()
40 duration, end_opacity, scoped_ptr<TimingFunction>())); in AddOpacityTransition()
65 0.0, start_operations, scoped_ptr<TimingFunction>())); in AddAnimatedTransform()
69 duration, operations, scoped_ptr<TimingFunction>())); in AddAnimatedTransform()
112 0.0, start_filters, scoped_ptr<TimingFunction>())); in AddAnimatedFilter()
118 FilterKeyframe::Create(duration, filters, scoped_ptr<TimingFunction>())); in AddAnimatedFilter()
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
DAnimatableValueKeyframe.h35 …PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, const AnimatableValue*,…
40 …:PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const…
46 …PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, PassRefPtrWillBeRawPtr<…
DAnimatableValueKeyframe.cpp47 …SpecificKeyframe::PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, const… in PropertySpecificKeyframe()
52 …SpecificKeyframe::PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, PassR… in PropertySpecificKeyframe()
71 …::PropertySpecificKeyframe::neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const in neutralKeyframe()

123