|
Make cc::Animation::TrimTimeToCurrentIteration and
cc::AnimationCurve::Duration use TimeTicks/TimeDelta to represent time.
This patch adds a new file time_util.h which adds new class TimeUtil.
This TimeUtil class holds helper functions to operate on TimeDelta
in double because base::TimeDelta class doesnot allow
multiply/divide operations in double.
Committed: https://crrev.com/71ff07f3e8b5d1861877cefc046bcea53125c7f7
Cr-Commit-Position: refs/heads/master@{#303790}
Total comments: 9
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+742 lines, -408 lines) |
Patch |
|
M |
cc/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/animation/animation.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/animation/animation.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+28 lines, -22 lines |
0 comments
|
Download
|
|
M |
cc/animation/animation_curve.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/animation/animation_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+578 lines, -289 lines |
0 comments
|
Download
|
|
M |
cc/animation/keyframed_animation_curve.h
|
View
|
1
2
3
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/animation/keyframed_animation_curve.cc
|
View
|
1
2
3
|
4 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/animation/layer_animation_controller.cc
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/animation/layer_animation_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
|
M |
cc/animation/scroll_offset_animation_curve.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/animation/scroll_offset_animation_curve.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/animation/scroll_offset_animation_curve_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+31 lines, -31 lines |
0 comments
|
Download
|
|
A |
cc/base/time_util.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/blink/web_scroll_offset_animation_curve_impl.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/cc.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/test/animation_test_common.h
|
View
|
1
2
3
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
cc/test/animation_test_common.cc
|
View
|
1
2
3
|
3 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_animation.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/compositor/float_animation_curve_adapter.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/compositor/float_animation_curve_adapter.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/compositor/transform_animation_curve_adapter.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/compositor/transform_animation_curve_adapter.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 21 (4 generated)
|