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

Issue 2869723007: [CRD iOS] Viewport fling animation (Closed)

Created:
3 years, 7 months ago by Yuwei
Modified:
3 years, 7 months ago
Reviewers:
nicholss, joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CRD iOS] Viewport fling animation This CL implements the viewport fling animation for iOS client. This re-impements Android client's FlingAnimationJob and impements a simplified version of Android's Scroller in C++. BUG=714193 Review-Url: https://codereview.chromium.org/2869723007 Cr-Commit-Position: refs/heads/master@{#471135} Committed: https://chromium.googlesource.com/chromium/src/+/4e32ad08870d1abc5752c1bfe8912a1f4c69dd57

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge branch 'master' into feat-fling-animation #

Total comments: 18

Patch Set 3 : Resolve some feedbacks / Add unittest #

Patch Set 4 : Resolve more feedback #

Patch Set 5 : Add some comments about the gestures #

Total comments: 4

Patch Set 6 : Rename time_delta to time_elapsed #

Patch Set 7 : Merge branch 'master' into feat-fling-animation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -21 lines) Patch
M remoting/client/BUILD.gn View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
A remoting/client/fling_animation.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A remoting/client/fling_animation.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/client/fling_animation_unittest.cc View 1 2 1 chunk +153 lines, -0 lines 0 comments Download
A remoting/client/fling_tracker.h View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A remoting/client/fling_tracker.cc View 1 2 3 4 5 1 chunk +109 lines, -0 lines 0 comments Download
M remoting/client/gesture_interpreter.h View 1 2 3 4 3 chunks +23 lines, -0 lines 0 comments Download
M remoting/client/gesture_interpreter.cc View 1 2 6 chunks +47 lines, -12 lines 0 comments Download
M remoting/ios/client_gestures.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/ios/client_gestures.mm View 1 2 3 4 4 chunks +28 lines, -5 lines 0 comments Download
M remoting/ios/display/gl_display_handler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/ios/display/gl_display_handler.mm View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/ios/session/remoting_client.mm View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
Yuwei
PTAL Thanks!
3 years, 7 months ago (2017-05-10 06:49:24 UTC) #9
Yuwei
https://codereview.chromium.org/2869723007/diff/120001/remoting/client/ios/client_gestures.mm File remoting/client/ios/client_gestures.mm (right): https://codereview.chromium.org/2869723007/diff/120001/remoting/client/ios/client_gestures.mm#newcode132 remoting/client/ios/client_gestures.mm:132: if ([sender state] == UIGestureRecognizerStateChanged) { Removed the |numberOfTouches| ...
3 years, 7 months ago (2017-05-10 06:53:03 UTC) #11
joedow
drive-by comment: Can we get some unit tests for the new functionality.
3 years, 7 months ago (2017-05-10 15:14:04 UTC) #13
Yuwei
On 2017/05/10 15:14:04, joedow wrote: > drive-by comment: Can we get some unit tests for ...
3 years, 7 months ago (2017-05-10 18:21:45 UTC) #14
nicholss
I have a couple questions and comments that would be easier in person. Lets have ...
3 years, 7 months ago (2017-05-10 19:34:05 UTC) #15
Yuwei
PTAL Thanks As discussed offline, I view the animation as interpolation of user's gesture while ...
3 years, 7 months ago (2017-05-10 23:28:24 UTC) #16
nicholss
LGTM It is a great start to fling animations and momentum tracking. https://codereview.chromium.org/2869723007/diff/200001/remoting/client/fling_animation.cc File remoting/client/fling_animation.cc ...
3 years, 7 months ago (2017-05-11 15:13:50 UTC) #17
Yuwei
Thanks! Checking-in https://codereview.chromium.org/2869723007/diff/200001/remoting/client/fling_animation.cc File remoting/client/fling_animation.cc (right): https://codereview.chromium.org/2869723007/diff/200001/remoting/client/fling_animation.cc#newcode31 remoting/client/fling_animation.cc:31: clock_->NowTicks() - fling_start_time_, &dx, &dy); On 2017/05/11 ...
3 years, 7 months ago (2017-05-11 18:26:27 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/2869723007/220001
3 years, 7 months ago (2017-05-11 18:27:30 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/176202)
3 years, 7 months ago (2017-05-11 19:59:02 UTC) #23
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/2869723007/240001
3 years, 7 months ago (2017-05-11 20:14:38 UTC) #28
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/2869723007/240001
3 years, 7 months ago (2017-05-11 23:17:49 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 00:17:01 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/4e32ad08870d1abc5752c1bfe891...

Powered by Google App Engine
This is Rietveld 408576698