diff options
author | Mark Renouf <mrenouf@google.com> | 2021-04-11 11:22:26 -0400 |
---|---|---|
committer | Mark Renouf <mrenouf@google.com> | 2021-04-16 17:01:27 -0400 |
commit | c14734d86537138ecdb5b05bc76e793e838320e0 (patch) | |
tree | 63d2aa600550fa0ea1b8a155606dbbf4f798477d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6304a5036545ee617052a7c3d08c6809c240e3a4 (diff) |
Account for padding in dispatchScrollCaptureSearch
When dispatching to self, ViewGroup is not applying padding
to localVisibleRect, only when dispatching to child views.
Also when deducting padding from the visible bounds,
it must be intersected with bounds, not subtracted.
Test: atest ViewGroupScrollCaptureTest
Bug: 185153400
Change-Id: Ib92e4c552fbe02fd863123f166878e19b8b1c952
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions