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

Issue 1495753002: Make the material design ripple effect more visible on a quick action (single click or single tap) (Closed)

Created:
5 years ago by bruthig
Modified:
4 years, 10 months ago
Reviewers:
varkha, sadrul
CC:
chromium-reviews, tfarina, tdresser+watch_chromium.org, sadrul, dcheng, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the material design ripple effect more visible on a quick action (single click or single tap) Summary of changes: - Broke the InkDropState animations in to sub-state animations - Added DCHECKs to restrict InkDropState transitions in InkDropAnimation BUG=551600 TEST=manual TEST=InkDropAnimationTest.VerifyObserversAreNotified TEST=InkDropAnimationTest.VerifyObserversAreNotifiedOfSuccessfulAnimations TEST=InkDropAnimationTest.VerifyObserversAreNotifiedOfPreemptedAnimations TEST=InkDropAnimationTest.AnimateToHiddenFromInvisibleState TEST=InkDropAnimationTest.AnimateToHiddenFromVisibleState TEST=InkDropAnimationTest.HideImmediately Committed: https://crrev.com/6bf2a57d5965ced16eb8653aeb149bf194d5b4dc Cr-Commit-Position: refs/heads/master@{#372406}

Patch Set 1 #

Patch Set 2 : Merge with changes to https://codereview.chromium.org/1390113006/ #

Patch Set 3 : Merge with changes to https://codereview.chromium.org/1390113006/ #

Patch Set 4 : Merge with master. #

Patch Set 5 : Polished for review. #

Total comments: 10

Patch Set 6 : Added tests and addressed comments from previous patch sets. #

Total comments: 2

Patch Set 7 : Renamed kDurationTableInMs to kAnimationDurationInMs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+649 lines, -160 lines) Patch
M ui/compositor/test/layer_animator_test_controller.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/test/layer_animator_test_controller.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_animation.h View 1 2 3 4 5 6 chunks +50 lines, -15 lines 0 comments Download
M ui/views/animation/ink_drop_animation.cc View 1 2 3 4 5 6 10 chunks +245 lines, -96 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_factory_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_impl.cc View 1 2 3 4 5 chunks +41 lines, -14 lines 0 comments Download
M ui/views/animation/ink_drop_animation_unittest.cc View 1 2 3 4 5 3 chunks +221 lines, -32 lines 0 comments Download
M ui/views/animation/ink_drop_hover.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/animation/ink_drop_painted_layer_delegates.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/animation/test/ink_drop_animation_test_api.h View 1 2 3 4 5 3 chunks +26 lines, -0 lines 0 comments Download
M ui/views/animation/test/ink_drop_animation_test_api.cc View 1 2 3 4 5 3 chunks +51 lines, -0 lines 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
bruthig
varkha@, can you please take a look from a feature correctness perspective? sadrul@, can you ...
4 years, 11 months ago (2016-01-27 16:06:26 UTC) #6
varkha
Behaviour looks like a really good improvement. There are a few edge cases that you ...
4 years, 10 months ago (2016-01-28 20:50:45 UTC) #7
bruthig
I have added some tests and some necessary test framework code as well as addressed ...
4 years, 10 months ago (2016-01-28 22:38:00 UTC) #9
varkha
https://codereview.chromium.org/1495753002/diff/100001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1495753002/diff/100001/ui/views/animation/ink_drop_animation.cc#newcode128 ui/views/animation/ink_drop_animation.cc:128: int kDurationTableInMs[] = { nit: I think kAnimationDurationInMs[idx] would ...
4 years, 10 months ago (2016-01-29 00:11:59 UTC) #10
bruthig
varkha@, sadrul@, PTAL https://codereview.chromium.org/1495753002/diff/100001/ui/views/animation/ink_drop_animation.cc File ui/views/animation/ink_drop_animation.cc (right): https://codereview.chromium.org/1495753002/diff/100001/ui/views/animation/ink_drop_animation.cc#newcode128 ui/views/animation/ink_drop_animation.cc:128: int kDurationTableInMs[] = { On 2016/01/29 ...
4 years, 10 months ago (2016-01-29 15:27:10 UTC) #11
varkha
lgtm
4 years, 10 months ago (2016-01-29 19:14:47 UTC) #12
sadrul
lgtm
4 years, 10 months ago (2016-01-29 20:12:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1495753002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1495753002/120001
4 years, 10 months ago (2016-01-29 20:25:01 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-01-29 20:37:23 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 20:38:27 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6bf2a57d5965ced16eb8653aeb149bf194d5b4dc
Cr-Commit-Position: refs/heads/master@{#372406}

Powered by Google App Engine
This is Rietveld 408576698