commit | 8593d068cb4073fcd6dc460cd77477bb5a6a70f7 | [log] [tgz] |
---|---|---|
author | undefined <undefined@codebug.es> | Mon Nov 17 18:59:57 2014 +0100 |
committer | Patrick Graber <pjgraber03@gmail.com> | Thu Apr 07 09:41:12 2016 -0700 |
tree | c5d650bf2ac136df319efaad664ae99dd451ca58 | |
parent | 8220014a6cf37b13a717adb3510b73a1d2de62ef [diff] |
Improve scrolling cache Scrolling cache helps make short scrolls/flings smooth but will cause stutter when long flings are made. This patch disables scrolling cache when long flings are made. This patch also fixes a related bug where scrolling cache will not be enabled properly when transitioning from flinging to scrolling. Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park) Credits: Pawit Pornkitprasan Change-Id: Iad52a35120212c871ffd35df6184aeb678ee44aa