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

Issue 1422593003: Made material design ink drop QUICK_ACTION animation more visible. (Closed)

Created:
5 years, 2 months ago by bruthig
Modified:
4 years, 11 months ago
CC:
chromium-reviews, tfarina, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DO NOT REVIEW. Will be replaced by: https://codereview.chromium.org/1495753002/ Made material design ink drop QUICK_ACTION animation more visible. Depends on: https://codereview.chromium.org/1390113006 The material design ink drop QUICK_ACTION animation was fading out to 0 opacity to quickly and thus not visible enough to the user. This CL adds the concept of ripple sub-animations to the InkDropAnimation so that the animation sequences can be more finely controlled. In addition to that the ripple animation sequences have been tweaked to use different tween types and visible opacity pauses prior to fading out have been added. BUG=551600

Patch Set 1 #

Patch Set 2 : Minor fixes after self-review. #

Total comments: 20

Patch Set 3 : Merge with master. #

Patch Set 4 : Merged in changes to dependent branch. #

Patch Set 5 : Addressed varka's comments from patch set 2. #

Patch Set 6 : Uploaded diff delta based on depended branch. #

Patch Set 7 : Added varkha@'s behavioural changes #

Total comments: 7

Patch Set 8 : Merge with master and changes to depended upon CL. #

Patch Set 9 : Addressed varkha@'s comments and minor fixes. #

Total comments: 4

Patch Set 10 : Merged in changes to ink drop hover. #

Total comments: 2

Patch Set 11 : Addressed pkasting@'s comments from patch set 10. #

Patch Set 12 : Uploaded diff delta based on hover branch. #

Patch Set 13 : Merged in changes to https://codereview.chromium.org/1390113006/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -66 lines) Patch
M ui/views/animation/ink_drop_animation.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +22 lines, -8 lines 0 comments Download
M ui/views/animation/ink_drop_animation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +222 lines, -57 lines 0 comments Download
M ui/views/animation/ink_drop_painted_layer_delegates.h View 1 2 3 4 5 6 7 9 11 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (5 generated)
bruthig
varkha@, can you take a first look?
5 years, 2 months ago (2015-10-21 21:16:48 UTC) #2
varkha
https://codereview.chromium.org/1422593003/diff/20001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1422593003/diff/20001/ui/views/animation/ink_drop_animation.cc#newcode68 ui/views/animation/ink_drop_animation.cc:68: // The time taken to animate the fade out ...
5 years, 2 months ago (2015-10-22 18:33:08 UTC) #3
bruthig
varkha@, I've addressed your previous comments and included our offline tweaks. Can you PTAL? https://codereview.chromium.org/1422593003/diff/20001/ui/views/animation/ink_drop_animation.cc ...
5 years, 1 month ago (2015-11-04 21:51:02 UTC) #5
varkha
lgtm with a few questions / nits. https://codereview.chromium.org/1422593003/diff/110001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1422593003/diff/110001/ui/views/animation/ink_drop_animation.cc#newcode155 ui/views/animation/ink_drop_animation.cc:155: duration = ...
5 years, 1 month ago (2015-11-06 00:00:28 UTC) #6
bruthig
https://codereview.chromium.org/1422593003/diff/110001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1422593003/diff/110001/ui/views/animation/ink_drop_animation.cc#newcode155 ui/views/animation/ink_drop_animation.cc:155: duration = kHiddenFadeOutAnimationDurationMs; On 2015/11/06 00:00:27, varkha wrote: > ...
5 years, 1 month ago (2015-11-11 18:11:20 UTC) #7
bruthig
varkha@, can you PTAL from a feature correctness point of view? pkasting@, can you provide ...
5 years, 1 month ago (2015-11-11 18:13:06 UTC) #9
varkha
slgtm. https://codereview.chromium.org/1422593003/diff/150001/chrome/browser/ui/views/toolbar/toolbar_button.h File chrome/browser/ui/views/toolbar/toolbar_button.h (right): https://codereview.chromium.org/1422593003/diff/150001/chrome/browser/ui/views/toolbar/toolbar_button.h#newcode105 chrome/browser/ui/views/toolbar/toolbar_button.h:105: scoped_ptr<views::InkDropAnimationController> ink_drop_animation_controller_; I think in the refactoring stage ...
5 years, 1 month ago (2015-11-11 19:02:24 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/1422593003/diff/150001/chrome/browser/ui/views/toolbar/toolbar_button.cc File chrome/browser/ui/views/toolbar/toolbar_button.cc (right): https://codereview.chromium.org/1422593003/diff/150001/chrome/browser/ui/views/toolbar/toolbar_button.cc#newcode159 chrome/browser/ui/views/toolbar/toolbar_button.cc:159: UpdateInkDropHoverState(); Nit: It might be better to do ...
5 years, 1 month ago (2015-11-11 21:41:38 UTC) #12
bruthig
On 2015/11/11 21:41:38, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/1422593003/diff/150001/chrome/browser/ui/views/toolbar/toolbar_button.cc > File chrome/browser/ui/views/toolbar/toolbar_button.cc (right): ...
5 years, 1 month ago (2015-11-11 22:04:41 UTC) #13
Peter Kasting
LGTM. I copied over the one still-applicable comment from before. https://codereview.chromium.org/1422593003/diff/170001/chrome/browser/ui/views/toolbar/toolbar_button.cc File chrome/browser/ui/views/toolbar/toolbar_button.cc (right): https://codereview.chromium.org/1422593003/diff/170001/chrome/browser/ui/views/toolbar/toolbar_button.cc#newcode203 ...
5 years, 1 month ago (2015-11-11 22:07:21 UTC) #14
bruthig
https://codereview.chromium.org/1422593003/diff/170001/chrome/browser/ui/views/toolbar/toolbar_button.cc File chrome/browser/ui/views/toolbar/toolbar_button.cc (right): https://codereview.chromium.org/1422593003/diff/170001/chrome/browser/ui/views/toolbar/toolbar_button.cc#newcode203 chrome/browser/ui/views/toolbar/toolbar_button.cc:203: // would prematurely pre-empt these animations. On 2015/11/11 22:07:21, ...
5 years, 1 month ago (2015-11-12 18:30:30 UTC) #15
bruthig
sadrul@, friendly ping! Just wanted to make sure this one was on your radar :)
5 years, 1 month ago (2015-11-17 21:38:59 UTC) #16
bruthig
4 years, 11 months ago (2016-01-12 15:36:43 UTC) #17
On 2015/11/17 21:38:59, bruthig wrote:
> sadrul@, friendly ping! Just wanted to make sure this one was on your radar :)

DO NOT REVIEW.  Will be replaced by: https://codereview.chromium.org/1495753002/

Powered by Google App Engine
This is Rietveld 408576698