summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2024-10-31 12:19:43 -0400
committer Mark Renouf <mrenouf@google.com> 2024-11-21 11:14:38 -0500
commit7f071b9888baf8b7e63fc0750f80bb22b9329fb0 (patch)
tree8fa40864d1683835f8ca244292e0f6d98f014294 /libs/input/PointerController.cpp
parentc96bfc49fa7411479efb31c164f579ebe00599e4 (diff)
Scroll capture search: reject covered scroll containers
This change ensures Views are visited in drawing order, respecting custom drawing order and View z-values. Then, when selecting the best target, any scrolling view is rejected if any other scrolling view is drawn over it. This handles the case where a slightly smaller scroll container is created atop a larger one, such as when user navigation creates a new set of interface which is added to the top of the window, leaving the previous UI in place below. Bug: 365969802 Bug: 189827634 Fix: 365969802 Test: atest ScrollCaptureSearchResultsTest ViewGroupScrollCaptureTest Flag: android.view.flags.scroll_capture_target_z_order_fix Change-Id: I2341266a63d46c0bd68bb5325449bc06681816e0
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions