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

Issue 2023133002: Use Event to render feedback animations. (Closed)

Created:
4 years, 6 months ago by Hzj_jie
Modified:
4 years, 6 months ago
Reviewers:
Lambros
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

[chromoting] Use Event to render feedback animations. This change moves FeedbackAnimator into a standalone class, with a startAnimation static function to register a SelfRemovableParameterRunnable into onPaint event of DesktopView. After animation finishes, the SelfRemovableParameterRunnable will be removed from onPaint event automatically. This change is part of Chromoting Android Client Refactor work. A design doc can be found at https://goo.gl/MA6zjx. BUG=615277 Committed: https://crrev.com/06d70696de0b8fac307927064bd36be2d486fe2a Cr-Commit-Position: refs/heads/master@{#397619}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -122 lines) Patch
M remoting/android/client_java_tmpl.gni View 1 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/DesktopView.java View 1 7 chunks +23 lines, -119 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java View 1 chunk +3 lines, -1 line 0 comments Download
A remoting/android/java/src/org/chromium/chromoting/FeedbackAnimator.java View 1 1 chunk +93 lines, -0 lines 0 comments Download
A remoting/android/java/src/org/chromium/chromoting/PaintEventParameter.java View 1 1 chunk +21 lines, -0 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java View 3 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Hzj_jie
4 years, 6 months ago (2016-06-01 03:47:56 UTC) #5
Lambros
https://codereview.chromium.org/2023133002/diff/40001/remoting/android/java/src/org/chromium/chromoting/DesktopView.java File remoting/android/java/src/org/chromium/chromoting/DesktopView.java (right): https://codereview.chromium.org/2023133002/diff/40001/remoting/android/java/src/org/chromium/chromoting/DesktopView.java#newcode61 remoting/android/java/src/org/chromium/chromoting/DesktopView.java:61: private final Event.Raisable<EventParameters.Paint> mOnPaint = new Event.Raisable<>(); mOnPaint is ...
4 years, 6 months ago (2016-06-01 23:51:37 UTC) #6
Lambros
Just a general comment on CL descriptions: Since we're not working directly on Chrome, it ...
4 years, 6 months ago (2016-06-02 00:01:04 UTC) #7
Hzj_jie
On 2016/06/02 00:01:04, Lambros wrote: > Just a general comment on CL descriptions: > Since ...
4 years, 6 months ago (2016-06-02 00:37:07 UTC) #9
Hzj_jie
https://codereview.chromium.org/2023133002/diff/40001/remoting/android/java/src/org/chromium/chromoting/DesktopView.java File remoting/android/java/src/org/chromium/chromoting/DesktopView.java (right): https://codereview.chromium.org/2023133002/diff/40001/remoting/android/java/src/org/chromium/chromoting/DesktopView.java#newcode61 remoting/android/java/src/org/chromium/chromoting/DesktopView.java:61: private final Event.Raisable<EventParameters.Paint> mOnPaint = new Event.Raisable<>(); On 2016/06/01 ...
4 years, 6 months ago (2016-06-02 02:21:37 UTC) #11
Lambros
lgtm
4 years, 6 months ago (2016-06-02 18:39:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023133002/60001
4 years, 6 months ago (2016-06-02 21:15:17 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 6 months ago (2016-06-03 03:44:14 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 03:46:17 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/06d70696de0b8fac307927064bd36be2d486fe2a
Cr-Commit-Position: refs/heads/master@{#397619}

Powered by Google App Engine
This is Rietveld 408576698