commit | c14734d86537138ecdb5b05bc76e793e838320e0 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Sun Apr 11 11:22:26 2021 -0400 |
committer | Mark Renouf <mrenouf@google.com> | Fri Apr 16 17:01:27 2021 -0400 |
tree | 63d2aa600550fa0ea1b8a155606dbbf4f798477d | |
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