commit | ac492e181a21749858ebf30dc1f5bcb0ded4383c | [log] [tgz] |
---|---|---|
author | Cary Clark <cary@android.com> | Wed Oct 14 14:53:37 2009 -0400 |
committer | Cary Clark <cary@android.com> | Tue Oct 20 15:17:55 2009 -0400 |
tree | aca388f89adb2ef11983a1a8eb51000e4c24ff5d | |
parent | 5af4cf47b94383deb47648240036c7090f46fd41 [diff] |
tweak snap scroll WebView.mHeldMotionless should only be set to MOTIONLESS_FALSE if some scrolling occurs, even in the case where motion is discarded by snap-scroll mode. Refactoring the code allows the code to be smaller, and provides a single point where scrollBy() is called while dragging. This doesn't change the snap-scroll logic in any way. related to http://b/issue?id=2092446