commit | b11e4d517d5f80f26ceb22e79030aace712ff5e2 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri Jan 22 11:49:11 2021 -0800 |
committer | Tony Wickham <twickham@google.com> | Mon Feb 01 18:29:06 2021 -0800 |
tree | 5670c78070f37ff9af67788a72aa84b30c2380f0 | |
parent | 794fe4f58ea5dfa7f1e8e4e245f00ff9e951168d [diff] |
Delegate Taskbar touches to nearest view to ensure 48x48dp touch size In TaskbarView#onTouchEvent(), which is only reached if a Taskbar icon didn't already consuem the event, check each child to see if the event occurs within a 48x48dp bounding box, and delegate the event and subsequent events to it until UP or CANCEL. Bug: 171917176 Change-Id: I7afafe0835828ab9213ec6abfe4e88ad7b9af3c4