summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-08-20 17:13:47 -0700
committerJohn Reck <jreck@google.com>2012-08-20 17:13:47 -0700
commitf2e6115404dbd211ddef223e2b380cefd999aac4 (patch)
tree00e31a9d5957eb36e08025f4951c20af9246d3ca /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbf5740e75efd87ae0213486e78e029403804c6f0 (diff)
Support scrolling layers with the mousewheel
Bug: 6635437 Fix onGenericAction to support scrolling layers. Calling startScrollingLayer detects if there is a layer under the mouse pointer, and if so switches to DRAG_LAYER_MODE. Then, calling doDrag will correctly handle scrolling the layer in DRAG_LAYER_MODE, switching out of DRAG_LAYER_MODE when we hit the end of a layer, and scrolling the page if there isn't a layer. It is the method used by the touch drag path. Change-Id: I00be09a63c40caa8fce94134c57db0894a62fef0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions