commit | 6231091feb616fb4cab1bdbf4c2e23a73df69454 | [log] [tgz] |
---|---|---|
author | Patrick Scott <phanna@android.com> | Mon Dec 06 17:44:50 2010 -0500 |
committer | Patrick Scott <phanna@android.com> | Tue Dec 07 13:12:44 2010 -0500 |
tree | 7928eef7295a3f4d3708214e4e2a35e1a71c694c | |
parent | 3b64772d18a0399cd03f1a03981b918391337921 [diff] |
Add fling to scrollable layers. Requires a change in external/webkit. Use the normal drag/fling pipeline but handle layers in each of the callbacks. Record the scrolling range for a layer and use it to compute the fling/drag ranges. If the user reaches the edge of a layer, switch to scrolling the main page unless the user switches direction. Change-Id: Ifedde8fcf4f76d533586164c75defcebffec16e9