summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorZhen Zhang <zzhen@google.com>2019-12-26 15:52:33 -0800
committerZhen Zhang <zzhen@google.com>2020-01-02 10:11:47 -0800
commita7cb697874b9afc8c8323d6325df52f24f997e9d (patch)
tree871dabd04fffe8d843b69ac0e0a4adb1587782da /rs/java/android/renderscript/ProgramStore.java
parent8e9583502a1344b1f8e8dc3ea1beb2337de9145b (diff)
Don't let RecyclerView consume fling action when there is no further space.
Before dispatch nested fling, check if there is any further space available in the requested direction. If yes, set consumed to true; otherwise, false. This can help list area in sharesheet responds to fling action to collapse. Bug: 145998887 Test: manually tests. Fling down list area will collapse sharesheet when list area reach its top edge; otherwise, the list area itself will fling. Change-Id: I060a1a91d6bdb0f3d6d0f825b065449223593bfc
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions