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

Issue 2265053005: [Remoting Android] Use Material Design's Ripple Expansion Function for Touch Feedback (Closed)

Created:
4 years, 4 months ago by Yuwei
Modified:
4 years, 4 months ago
Reviewers:
joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remoting Android] Use Material Design's Ripple Expansion Function for Touch Feedback Currently the radius of the touch feedback animation is linear to time, making it spend the same amount of time when showing the large circle as when showing the smaller circle. This CL changes the radius-time function to a decelerating function as the material design spec suggested. This will make the animation looks more rapid given the same duration. This CL also increases the animation duration to 300ms, which is a balanced value for showing both simple touch and press-and-hold feedback. BUG=638317 Committed: https://crrev.com/cdc3c1395e8cc0795cf70d9fe552e12a1036285a Cr-Commit-Position: refs/heads/master@{#413666}

Patch Set 1 #

Patch Set 2 : Add comments #

Total comments: 6

Patch Set 3 : Reviewer's Feedback #

Total comments: 8

Patch Set 4 : Reviewer's Feedback #

Total comments: 2

Patch Set 5 : Reviewer's Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M remoting/client/gl_cursor_feedback.cc View 1 2 3 4 3 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
Yuwei
ptal
4 years, 4 months ago (2016-08-22 22:02:52 UTC) #3
joedow
https://codereview.chromium.org/2265053005/diff/20001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/20001/remoting/client/gl_cursor_feedback.cc#newcode20 remoting/client/gl_cursor_feedback.cc:20: const float kExpansionBase = 400.f; Perhaps there isn't a ...
4 years, 4 months ago (2016-08-22 22:22:22 UTC) #4
Yuwei
ptal https://codereview.chromium.org/2265053005/diff/20001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/20001/remoting/client/gl_cursor_feedback.cc#newcode20 remoting/client/gl_cursor_feedback.cc:20: const float kExpansionBase = 400.f; On 2016/08/22 22:22:21, ...
4 years, 4 months ago (2016-08-22 23:46:23 UTC) #7
joedow
https://codereview.chromium.org/2265053005/diff/80001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/80001/remoting/client/gl_cursor_feedback.cc#newcode22 remoting/client/gl_cursor_feedback.cc:22: // progress: [0, 1], indicating the progress of the ...
4 years, 4 months ago (2016-08-23 01:27:20 UTC) #12
Yuwei
ptal https://codereview.chromium.org/2265053005/diff/80001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/80001/remoting/client/gl_cursor_feedback.cc#newcode22 remoting/client/gl_cursor_feedback.cc:22: // progress: [0, 1], indicating the progress of ...
4 years, 4 months ago (2016-08-23 01:56:24 UTC) #13
joedow
lgtm https://codereview.chromium.org/2265053005/diff/100001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/100001/remoting/client/gl_cursor_feedback.cc#newcode86 remoting/client/gl_cursor_feedback.cc:86: layer_->Draw(1.f - progress); // linear fade-out. nit: move ...
4 years, 4 months ago (2016-08-23 01:58:42 UTC) #14
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/2265053005/100001
4 years, 4 months ago (2016-08-23 03:53:53 UTC) #16
Yuwei
https://codereview.chromium.org/2265053005/diff/100001/remoting/client/gl_cursor_feedback.cc File remoting/client/gl_cursor_feedback.cc (right): https://codereview.chromium.org/2265053005/diff/100001/remoting/client/gl_cursor_feedback.cc#newcode86 remoting/client/gl_cursor_feedback.cc:86: layer_->Draw(1.f - progress); // linear fade-out. On 2016/08/23 01:58:42, ...
4 years, 4 months ago (2016-08-23 04:02:52 UTC) #18
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/2265053005/120001
4 years, 4 months ago (2016-08-23 04:03:21 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 4 months ago (2016-08-23 04:46:45 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 04:48:46 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cdc3c1395e8cc0795cf70d9fe552e12a1036285a
Cr-Commit-Position: refs/heads/master@{#413666}

Powered by Google App Engine
This is Rietveld 408576698