summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2010-10-01 16:37:06 -0700
committerMindy Pereira <mindyp@google.com>2010-10-03 12:52:11 -0700
commite6c4747276cd4e7f0243bcd8ea50ad3e66609fef (patch)
tree1f901c5cf9a774d6608a0d17e2def1f790acd8c4 /graphics/java/android/renderscript/ProgramFragment.java
parent2942391801b79816c5eb77d7ac94c4a65f26af48 (diff)
DO NOT MERGE. Fix logic for switching between overscroll and scroll modes.
The issue here was originally that webview was showing twice as intense of an effect for edge glow as lists. The root cause was that abslistview was calling onPull half as often as webview. This occurred because every time an action_move came into the touch handler for abslistview when it was in overscroll, the mode was ALWAYS changed back to scroll mode. Therefore, half the action_move events were essentially being eating by the abslistview state machine. After fixing that issue, needed to decrease the intensity of the effect for webview and abslistview by halving the PULL_DISTANCE_GLOW_FACTOR. Change-Id: I5dbdf4f1219f3bb157a71d4fccf8fa42e2abe047
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions