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

Issue 367173003: [Android] Implementation of overscroll effect for Android L (Closed)

Created:
6 years, 5 months ago by jdduke (slow)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, miu+watch_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, powei, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Implementation of overscroll effect for Android L Add an overscroll effect implementation that mimics that of Android L. The primary differences are the use of a single rasterized arc layer and the inclusion of motion orthogonal to overscroll in computing the effect offset. BUG=389744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290052

Patch Set 1 #

Patch Set 2 : Support displacement #

Patch Set 3 : Cleanup and testing with L device #

Patch Set 4 : Fix build #

Total comments: 3

Patch Set 5 : Rebase to SystemUIResourceManager #

Patch Set 6 : Rebase #

Patch Set 7 : Reduced and renamed #

Patch Set 8 : Rebased to https://codereview.chromium.org/463663002/ #

Patch Set 9 : Rebase #

Patch Set 10 : Write event location through DidOverscrollParams #

Total comments: 18

Patch Set 11 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+804 lines, -318 lines) Patch
M cc/input/input_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/android/edge_effect.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -42 lines 0 comments Download
M content/browser/android/edge_effect.cc View 1 2 3 4 5 6 7 8 9 10 19 chunks +55 lines, -97 lines 0 comments Download
A content/browser/android/edge_effect_base.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/android/edge_effect_l.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +81 lines, -0 lines 0 comments Download
A content/browser/android/edge_effect_l.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +268 lines, -0 lines 0 comments Download
M content/browser/android/overscroll_glow.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +24 lines, -22 lines 0 comments Download
M content/browser/android/overscroll_glow.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +95 lines, -66 lines 0 comments Download
M content/browser/android/system_ui_resource_manager_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/system_ui_resource_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +64 lines, -20 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +65 lines, -16 lines 0 comments Download
M content/common/input/did_overscroll_params.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download
A + content/common/input/did_overscroll_params.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -3 lines 0 comments Download
M content/common/input_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_proxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_proxy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_proxy_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +42 lines, -33 lines 0 comments Download
M ui/base/android/system_ui_resource_manager.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
jdduke (slow)
aelias@: PTAL. I should have sent this out for review earlier, but I failed to ...
6 years, 5 months ago (2014-07-17 16:05:38 UTC) #1
aelias_OOO_until_Jul13
Haven't looked in detail yet, but right, the bitmap size is a pretty big concern. ...
6 years, 5 months ago (2014-07-17 20:23:17 UTC) #2
jdduke (slow)
On 2014/07/17 20:23:17, aelias wrote: > Haven't looked in detail yet, but right, the bitmap ...
6 years, 5 months ago (2014-07-17 22:24:13 UTC) #3
jdduke (slow)
https://codereview.chromium.org/367173003/diff/60001/content/browser/android/edge_effect_l.cc File content/browser/android/edge_effect_l.cc (right): https://codereview.chromium.org/367173003/diff/60001/content/browser/android/edge_effect_l.cc#newcode98 content/browser/android/edge_effect_l.cc:98: const float radius = width * 0.75f / kSin; ...
6 years, 4 months ago (2014-08-11 19:51:10 UTC) #4
jdduke (slow)
OK, I've rebased to the GL_ALPHA patch. I also went ahead and rewired the DidOverscrollParams ...
6 years, 4 months ago (2014-08-14 19:40:50 UTC) #5
aelias_OOO_until_Jul13
https://codereview.chromium.org/367173003/diff/180001/content/browser/android/edge_effect_base.h File content/browser/android/edge_effect_base.h (right): https://codereview.chromium.org/367173003/diff/180001/content/browser/android/edge_effect_base.h#newcode32 content/browser/android/edge_effect_base.h:32: virtual void Pull(base::TimeTicks current_time, float delta_distance) = 0; This ...
6 years, 4 months ago (2014-08-14 22:54:20 UTC) #6
jdduke (slow)
https://codereview.chromium.org/367173003/diff/180001/content/browser/android/edge_effect_base.h File content/browser/android/edge_effect_base.h (right): https://codereview.chromium.org/367173003/diff/180001/content/browser/android/edge_effect_base.h#newcode32 content/browser/android/edge_effect_base.h:32: virtual void Pull(base::TimeTicks current_time, float delta_distance) = 0; On ...
6 years, 4 months ago (2014-08-15 19:15:06 UTC) #7
jdduke (slow)
PTAL for owner review, thanks. tsepez@: content/common/input_messages.h yfriedman@: ui/base/android
6 years, 4 months ago (2014-08-15 19:19:30 UTC) #8
Yaron
lgtm
6 years, 4 months ago (2014-08-15 19:28:49 UTC) #9
aelias_OOO_until_Jul13
lgtm
6 years, 4 months ago (2014-08-15 19:29:44 UTC) #10
Tom Sepez
Messages LGTM.
6 years, 4 months ago (2014-08-15 22:46:53 UTC) #11
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-15 22:47:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/367173003/240001
6 years, 4 months ago (2014-08-15 22:50:10 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 23:38:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #11 (240001) as 290052

Powered by Google App Engine
This is Rietveld 408576698