summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2013-05-21 03:02:30 +0900
committerJaewan Kim <jaewan@google.com>2013-05-21 05:08:38 +0900
commit49fc4dcd4c0d88b74084d6b2a2d843ad17b8a1eb (patch)
treea10cada31cea4dabd4ef02eba2a9acf3de415694 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente0fc1875492cf1e59fe3ae4e0b1a5020672962bb (diff)
Fix out-of-screen item can take focus issue
In case of a ListView has a item which takes more than 33% of its height (result from getMaxScrollAmount), scroll does not move enough to show all the item. In this case, consecutive arrow scroll moves selection everytime while scroll may not move that much. This fixes the issue by checking the visibility of current selection in advance. Bug: 8831751 Change-Id: Ic747bd5513c6734aaf1a1d08e497c1e3ef835004
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions