Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Issue 393713002: Scroll offset animation curve retargeting. (Closed)

Created:
6 years, 5 months ago by skobes
Modified:
6 years, 5 months ago
Reviewers:
danakj, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org, jamesr, Ian Vollick
Project:
chromium
Visibility:
Public.

Description

Scroll offset animation curve retargeting. Adds support for updating the target of an in-progress input-triggered impl-side scroll offset animation, keeping the velocity function continuous. BUG=575 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284228

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Address review comments. #

Patch Set 3 : Update ScrollAnimated unit test. #

Patch Set 4 : Possible workaround for clang bug. #

Total comments: 2

Patch Set 5 : Remove workaround. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -37 lines) Patch
M cc/animation/scroll_offset_animation_curve.h View 2 chunks +6 lines, -1 line 0 comments Download
M cc/animation/scroll_offset_animation_curve.cc View 1 4 4 chunks +63 lines, -15 lines 0 comments Download
M cc/animation/scroll_offset_animation_curve_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M cc/animation/timing_function.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/animation/timing_function.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 2 chunks +20 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M ui/gfx/geometry/cubic_bezier.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/geometry/cubic_bezier.cc View 5 chunks +26 lines, -15 lines 0 comments Download
M ui/gfx/geometry/cubic_bezier_unittest.cc View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
skobes
6 years, 5 months ago (2014-07-16 18:16:47 UTC) #1
danakj
At what point do we rethink scrolling animation and just implement an animation type with ...
6 years, 5 months ago (2014-07-16 18:19:24 UTC) #2
skobes
On 2014/07/16 18:19:24, danakj wrote: > At what point do we rethink scrolling animation and ...
6 years, 5 months ago (2014-07-16 20:00:34 UTC) #3
danakj
On Wed, Jul 16, 2014 at 4:00 PM, <skobes@chromium.org> wrote: > On 2014/07/16 18:19:24, danakj ...
6 years, 5 months ago (2014-07-16 20:05:42 UTC) #4
ajuma
https://codereview.chromium.org/393713002/diff/150001/cc/animation/scroll_offset_animation_curve.cc File cc/animation/scroll_offset_animation_curve.cc (right): https://codereview.chromium.org/393713002/diff/150001/cc/animation/scroll_offset_animation_curve.cc#newcode20 cc/animation/scroll_offset_animation_curve.cc:20: static float maxDelta(gfx::Vector2dF delta) { MaximumDimension? Or InfinityNorm maybe? ...
6 years, 5 months ago (2014-07-16 20:35:23 UTC) #5
skobes
https://codereview.chromium.org/393713002/diff/150001/cc/animation/scroll_offset_animation_curve.cc File cc/animation/scroll_offset_animation_curve.cc (right): https://codereview.chromium.org/393713002/diff/150001/cc/animation/scroll_offset_animation_curve.cc#newcode20 cc/animation/scroll_offset_animation_curve.cc:20: static float maxDelta(gfx::Vector2dF delta) { On 2014/07/16 20:35:23, ajuma ...
6 years, 5 months ago (2014-07-16 21:10:49 UTC) #6
ajuma
Thanks, just one more thing (sorry for missing this the first time): please also update ...
6 years, 5 months ago (2014-07-16 21:26:03 UTC) #7
skobes
On 2014/07/16 21:26:03, ajuma wrote: > Thanks, just one more thing (sorry for missing this ...
6 years, 5 months ago (2014-07-16 22:06:50 UTC) #8
ajuma
lgtm
6 years, 5 months ago (2014-07-16 23:05:04 UTC) #9
skobes
Thanks! @danakj, can you approve for ui/gfx?
6 years, 5 months ago (2014-07-16 23:06:25 UTC) #10
danakj
rsLGTM
6 years, 5 months ago (2014-07-17 15:24:01 UTC) #11
skobes
@ajuma: linux release bots hit a clang bug, which I filed as http://b/16376945. I've added ...
6 years, 5 months ago (2014-07-18 00:20:38 UTC) #12
ajuma
https://codereview.chromium.org/393713002/diff/210001/cc/animation/scroll_offset_animation_curve.cc File cc/animation/scroll_offset_animation_curve.cc (right): https://codereview.chromium.org/393713002/diff/210001/cc/animation/scroll_offset_animation_curve.cc#newcode28 cc/animation/scroll_offset_animation_curve.cc:28: #endif Rather than adding this #if, let's just use ...
6 years, 5 months ago (2014-07-18 01:18:52 UTC) #13
skobes
https://codereview.chromium.org/393713002/diff/210001/cc/animation/scroll_offset_animation_curve.cc File cc/animation/scroll_offset_animation_curve.cc (right): https://codereview.chromium.org/393713002/diff/210001/cc/animation/scroll_offset_animation_curve.cc#newcode28 cc/animation/scroll_offset_animation_curve.cc:28: #endif On 2014/07/18 01:18:51, ajuma wrote: > Rather than ...
6 years, 5 months ago (2014-07-18 16:48:03 UTC) #14
skobes
The CQ bit was checked by skobes@chromium.org
6 years, 5 months ago (2014-07-18 16:48:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/393713002/230001
6 years, 5 months ago (2014-07-18 16:48:35 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 20:24:25 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 22:37:35 UTC) #18
Message was sent while issue was closed.
Change committed as 284228

Powered by Google App Engine
This is Rietveld 408576698