commit | 3557828b2bed07d82567adafd51699135de1db7f | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Tue May 17 04:48:31 2022 +0000 |
committer | Arthur Hung <arthurhung@google.com> | Wed May 18 12:55:47 2022 +0000 |
tree | 50e36ac705faab68813c33d2a35355926aa6aa7e | |
parent | 8235f35155fc03c0aee6ac201947963876b92cfa [diff] |
Correct the random select bounds to ensure the proper position The x, y of LayoutParams should indicate the offset from the given edge instead of the location of screen. We should calculate the proper select bounds by inseting the systembar and the untouchable regions. Bug: 232345961 Test: atest WindowInputTests#testMoveWindowAndTap --rerun-until-failure Change-Id: I38cdb23c1f2f9402fd2a536fbe43e8b66f03e429