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

Issue 2805813007: Improve toolbar button ink drop ripples at 1.25x (Closed)

Created:
3 years, 8 months ago by Evan Stade
Modified:
3 years, 8 months ago
Reviewers:
bruthig
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve toolbar button ink drop ripples at 1.25x 1. combining scaling and translation transforms on nested layers seems to create unfixable blurriness, so instead do all transforms on the painted layers. 2. adjust the size of the painted layers by a fractional amount to ensure pixel alignment of edges of layer (at start and end points of animation). BUG=706228 Review-Url: https://codereview.chromium.org/2805813007 Cr-Commit-Position: refs/heads/master@{#464430} Committed: https://chromium.googlesource.com/chromium/src/+/cfd215a5b6b3d1ab60398fc8c4a522b0d8ce611e

Patch Set 1 #

Patch Set 2 : rebase/clean #

Patch Set 3 : fix stuff #

Patch Set 4 : relax dcheck #

Total comments: 6

Patch Set 5 : test #

Patch Set 6 : doc update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -67 lines) Patch
M ui/views/animation/square_ink_drop_ripple.h View 1 2 3 4 5 3 chunks +17 lines, -4 lines 0 comments Download
M ui/views/animation/square_ink_drop_ripple.cc View 1 2 3 7 chunks +61 lines, -62 lines 0 comments Download
M ui/views/animation/square_ink_drop_ripple_unittest.cc View 1 2 3 4 3 chunks +73 lines, -1 line 0 comments Download

Messages

Total messages: 25 (18 generated)
Evan Stade
3 years, 8 months ago (2017-04-11 20:23:15 UTC) #5
Evan Stade
(will look at test failures soon)
3 years, 8 months ago (2017-04-12 15:42:41 UTC) #8
bruthig
Is it easy enough to add a test(s)? https://codereview.chromium.org/2805813007/diff/60001/ui/views/animation/square_ink_drop_ripple.cc File ui/views/animation/square_ink_drop_ripple.cc (right): https://codereview.chromium.org/2805813007/diff/60001/ui/views/animation/square_ink_drop_ripple.cc#newcode441 ui/views/animation/square_ink_drop_ripple.cc:441: gfx::SizeF ...
3 years, 8 months ago (2017-04-12 17:57:39 UTC) #13
Evan Stade
message: On 2017/04/12 17:57:39, bruthig wrote: > Is it easy enough to add a test(s)? ...
3 years, 8 months ago (2017-04-12 23:48:28 UTC) #14
bruthig
On 2017/04/12 23:48:28, Evan Stade wrote: > message: On 2017/04/12 17:57:39, bruthig wrote: > > ...
3 years, 8 months ago (2017-04-13 15:59:21 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2805813007/100001
3 years, 8 months ago (2017-04-13 16:13:16 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 16:18:45 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/cfd215a5b6b3d1ab60398fc8c4a5...

Powered by Google App Engine
This is Rietveld 408576698