summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/OverScrollGlow.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-222/+0
| | | | | | | | | Delete all the Java classes used only by the old WebView implementation, and also sections of common classes that were only needed for the old WebView. Bug: 10427705 Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
* Refactor WebView to be a thin proxy classJonathan Dixon2012-03-021-4/+4
| | | | | | | | | | | | | | | | Splits interface and implementation; all client calls are forwarded to an abstract WebViewProvider interface, and the existing implementation moved into the WebViewClassic implementor of this interface. Originally taken from a snapshot from the development branch, by: git diff HEAD 9a4c328a54cc05e5 | git apply - but then rebased to keep up to date with master Interdepends on webkit and Browser changes: https://android-git.corp.google.com/g/158979 https://android-git.corp.google.com/g/167911 Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
* Make EdgeEffect public API.Adam Powell2011-08-311-12/+9
| | | | | | | | | | | This enables apps to make use of the system's visual edge effect used during overscroll in 2D content. Also un-@hide the getCurrVelocity methods from Scroller/OverScroller, without which it becomes cumbersome to obtain values to pass to the EdgeEffect#onAbsorb method. Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
* Make webview edges behave the same way abslistview overscroll edges do.Mindy Pereira2010-12-061-9/+9
| | | | | | | | | The assets are not scaled to start before the left or after the right edge of the view. For the top edge, start the canvas for rendering the glow after the title bar (if it is visible) or most of the glow gets cut off. Change-Id: Ia1a513fda4d1106d671919bb289aa83f8800c2c2
* Per designers, update the algorithm for when effect is clipped or stretched.Mindy Pereira2010-11-241-5/+7
| | | | | | | | | New algo is: 1) if view width < MIN_WIDTH (currently 300px), clip glow and edge to fit 2) else stretch glow and edge to fill width 3) make alpha and height of edge and glow 30% "more intense" Change-Id: I8f121bb165a8fb835bc33950dbedd1bc80c5df65
* Merge overscrolling from gingerbread.Adam Powell2010-11-231-0/+223
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f