OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "cc/timing_function.h" | 7 #include "cc/timing_function.h" |
8 | 8 |
9 namespace { | 9 namespace { |
10 const double epsilon = 1e-6; | 10 const double epsilon = 1e-6; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 scoped_ptr<TimingFunction> EaseOutTimingFunction::create() | 64 scoped_ptr<TimingFunction> EaseOutTimingFunction::create() |
65 { | 65 { |
66 return CubicBezierTimingFunction::create(0, 0, 0.58, 1).PassAs<TimingFunctio
n>(); | 66 return CubicBezierTimingFunction::create(0, 0, 0.58, 1).PassAs<TimingFunctio
n>(); |
67 } | 67 } |
68 | 68 |
69 scoped_ptr<TimingFunction> EaseInOutTimingFunction::create() | 69 scoped_ptr<TimingFunction> EaseInOutTimingFunction::create() |
70 { | 70 { |
71 return CubicBezierTimingFunction::create(0.42, 0, 0.58, 1).PassAs<TimingFunc
tion>(); | 71 return CubicBezierTimingFunction::create(0.42, 0, 0.58, 1).PassAs<TimingFunc
tion>(); |
72 } | 72 } |
73 | 73 |
74 } // namespace cc | 74 } // namespace cc |
OLD | NEW |