diff options
| author | 2024-10-10 10:08:27 -0400 | |
|---|---|---|
| committer | 2024-10-15 19:20:59 +0000 | |
| commit | aec7dbd2e7f30bb87d42fa6354c53dcc645b6f56 (patch) | |
| tree | 88844092528ac3c9827907c68a351def272e1337 /libs/androidfw/StringPool.cpp | |
| parent | 3267e5259c7a15394a351b58880e06b08f340415 (diff) | |
Update drag-and-drop to support resizeable widgets
We updated the hit-detection to consider if the dragging item contains the center of any other item, instead of the other way around. We also keep track of the previous target item to prevent rapidly oscillating between two items.
Bug: 368056271
Test: UI update, manually on the device by dragging items of different
sizes
Flag: com.android.systemui.communal_widget_resizing
Change-Id: Ibf0c24cfde7a098d305443dd79c729d098ecbc42
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions