summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-06-07 14:45:34 -0700
committerJohn Reck <jreck@google.com>2012-06-07 14:45:34 -0700
commit919c89e2045357e028e633e8b60c9872edb4cb99 (patch)
tree78bf4e63953b1455702cfb1532fa24072291f893 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f (diff)
Stay in layer scroll if nothing to scroll
Bug: 6628376 The issue here is that contentX & contentY can both be 0 if we are scrolling slowly enough as they are adjusted by the page's scale and can thus round down. However, this would result in us falling out of layer drag mode even though we haven't tried to scroll past the edge of the layer. Detect this case, and stay in layer scroll mode. Change-Id: I3c655d0d03e8f89887abbe718bd24699c133ee1a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions