/external/chromium_org/cc/animation/ |
timing_function.cc | 18 scoped_ptr<CubicBezierTimingFunction> CubicBezierTimingFunction::Create( 20 return make_scoped_ptr(new CubicBezierTimingFunction(x1, y1, x2, y2)); 23 CubicBezierTimingFunction::CubicBezierTimingFunction(double x1, 29 CubicBezierTimingFunction::~CubicBezierTimingFunction() {} 31 float CubicBezierTimingFunction::GetValue(double x) const { 35 scoped_ptr<AnimationCurve> CubicBezierTimingFunction::Clone() const { 37 new CubicBezierTimingFunction(*this)).PassAs<AnimationCurve>() [all...] |
timing_function.h | 33 class CC_EXPORT CubicBezierTimingFunction : public TimingFunction { 35 static scoped_ptr<CubicBezierTimingFunction> Create(double x1, double y1, 37 virtual ~CubicBezierTimingFunction(); 46 CubicBezierTimingFunction(double x1, double y1, double x2, double y2); 51 DISALLOW_ASSIGN(CubicBezierTimingFunction);
|
keyframed_animation_curve_unittest.cc | 410 TEST(KeyframedAnimationCurveTest, CubicBezierTimingFunction) { 416 CubicBezierTimingFunction::Create(0.25f, 0.f, 0.75f, 1.f)
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
CompositorAnimationsTimingFunctionReverserTest.cpp | 67 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 68 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut); 69 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut); 75 RefPtr<TimingFunction> cubicCustomTiming = CubicBezierTimingFunction::create(0.17, 0.67, 1, -1.73); 77 RefPtr<TimingFunction> cubicCustomTimingReversed = CubicBezierTimingFunction::create(0, 1.0 - (-1.73), 1.0 - 0.17, 1.0 - 0.67); 80 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease) [all...] |
CompositorAnimations.cpp | 90 PassRefPtr<TimingFunction> CompositorAnimationsTimingFunctionReverser::reverse(const CubicBezierTimingFunction* timefunc) 93 case CubicBezierTimingFunction::EaseIn: 94 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut); 95 case CubicBezierTimingFunction::EaseOut: 96 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 97 case CubicBezierTimingFunction::EaseInOut: 98 return const_cast<CubicBezierTimingFunction*>(timefunc); 99 case CubicBezierTimingFunction::Ease: // Ease is not symmetrica [all...] |
TimingInputTest.cpp | 144 EXPECT_EQ(*CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease), *applyTimingInputString("easing", "ease").timingFunction); 145 EXPECT_EQ(*CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn), *applyTimingInputString("easing", "ease-in").timingFunction); 146 EXPECT_EQ(*CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut), *applyTimingInputString("easing", "ease-out").timingFunction); 147 EXPECT_EQ(*CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut), *applyTimingInputString("easing", "ease-in-out").timingFunction); 152 EXPECT_EQ(*CubicBezierTimingFunction::create(1, 1, 0.3, 0.3), *applyTimingInputString("easing", "cubic-bezier(1, 1, 0.3, 0.3)").timingFunction);
|
CompositorAnimations.h | 51 static PassRefPtr<TimingFunction> reverse(const CubicBezierTimingFunction* timefunc);
|
InterpolationEffectTest.cpp | 64 CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease), 0.5, 1.5, 0.5, 1.5);
|
CompositorAnimationsTest.cpp | 82 m_cubicEaseTimingFunction = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); 83 m_cubicCustomTimingFunction = CubicBezierTimingFunction::create(1, 2, 3, 4); 523 basicFramesVector[0]->setEasing(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn)); 528 nonBasicFramesVector[1]->setEasing(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn)); [all...] |
AnimationTest.cpp | 103 EXPECT_EQ(*(CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut)), *keyframes[0]->easing()); 104 EXPECT_EQ(*(CubicBezierTimingFunction::create(1, 1, 0.3, 0.3).get()), *keyframes[1]->easing());
|
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
TimingFunction.cpp | 22 String CubicBezierTimingFunction::toString() const 25 case CubicBezierTimingFunction::Ease: 27 case CubicBezierTimingFunction::EaseIn: 29 case CubicBezierTimingFunction::EaseOut: 31 case CubicBezierTimingFunction::EaseInOut: 33 case CubicBezierTimingFunction::Custom: 43 double CubicBezierTimingFunction::evaluate(double fraction, double accuracy) const 106 bool operator==(const CubicBezierTimingFunction& lhs, const TimingFunction& rhs) 111 const CubicBezierTimingFunction& ctf = toCubicBezierTimingFunction(rhs); 112 if ((lhs.subType() == CubicBezierTimingFunction::Custom) && (ctf.subType() == CubicBezierTimingFunction::Custom) [all...] |
TimingFunction.h | 90 class PLATFORM_EXPORT CubicBezierTimingFunction FINAL : public TimingFunction { 100 static PassRefPtr<CubicBezierTimingFunction> create(double x1, double y1, double x2, double y2) 102 return adoptRef(new CubicBezierTimingFunction(Custom, x1, y1, x2, y2)); 105 static CubicBezierTimingFunction* preset(SubType subType) 110 DEFINE_STATIC_REF(CubicBezierTimingFunction, ease, (adoptRef(new CubicBezierTimingFunction(Ease, 0.25, 0.1, 0.25, 1.0)))); 115 DEFINE_STATIC_REF(CubicBezierTimingFunction, easeIn, (adoptRef(new CubicBezierTimingFunction(EaseIn, 0.42, 0.0, 1.0, 1.0)))); 120 DEFINE_STATIC_REF(CubicBezierTimingFunction, easeOut, (adoptRef(new CubicBezierTimingFunction(EaseOut, 0.0, 0.0, 0.58, 1.0)))) [all...] |
TimingFunctionTest.cpp | 79 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); 81 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 83 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut); 85 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut); 88 RefPtr<TimingFunction> cubicCustomTiming = CubicBezierTimingFunction::create(0.17, 0.67, 1, -1.73); 116 RefPtr<TimingFunction> cubicTiming1 = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
CSSTimingData.h | 32 static PassRefPtr<TimingFunction> initialTimingFunction() { return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); }
|
/external/chromium_org/content/renderer/compositor_bindings/ |
web_filter_animation_curve_impl.cc | 49 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2)
|
web_float_animation_curve_impl.cc | 46 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2)
|
web_transform_animation_curve_impl.cc | 53 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2)
|
web_float_animation_curve_unittest.cc | 106 TEST(WebFloatAnimationCurveTest, CubicBezierTimingFunction) { 210 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2));
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
CSSToStyleMap.cpp | 404 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); 406 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 408 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut); 410 return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut); 427 return CubicBezierTimingFunction::create(cubicTimingFunction->x1(), cubicTimingFunction->y1(), cubicTimingFunction->x2(), cubicTimingFunction->y2());
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSComputedStyleDeclaration.cpp | [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_impl.cc | 442 CubicBezierTimingFunction::Create(.8, 0, .3, .9).PassAs<TimingFunction>(); [all...] |