commit | ade96d0199c4cec4d259afe120a84e05c701d228 | [log] [tgz] |
---|---|---|
author | Artsiom Mitrokhin <amitrokhin@google.com> | Mon Oct 21 10:56:41 2024 -0400 |
committer | Artsiom Mitrokhin <amitrokhin@google.com> | Mon Oct 21 14:32:00 2024 -0400 |
tree | 7de382b3077d9a367f2ac966021f8d4c2e742346 | |
parent | 5d40236037e7cd7694341253038032e33c0f85f1 [diff] |
Update popup and arrow positioning logic 1) By default, it's centered relative to the event position https://screenshot.googleplex.com/5Wri2CX3vASCxWt 2) It becomes left or right aligned near edges of the screen https://screenshot.googleplex.com/9AEQxWcmYX63jTv https://screenshot.googleplex.com/39KMeG2eWKr2QC6 3) And never goes beyond the minimum padding https://screenshot.googleplex.com/5LiPHiXiJSyGdx5 https://screenshot.googleplex.com/86KQnKXa38NoYpM Bug: 297325541 Flag: com.android.launcher3.show_taskbar_pinning_popup_from_anywhere Test: manual, flip the flag, open popup from different positions Change-Id: I06cf0c0352da946da7a62413144c304623557216