summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Olivier St-Onge <ostonge@google.com> 2024-07-30 09:51:04 -0400
committer Olivier St-Onge <ostonge@google.com> 2024-08-15 11:12:01 -0400
commit54b0647db67eb6d24eadd22cfc30f811440bc0e5 (patch)
tree84971155c59b729e66ba30cb8de836c9258019d6 /libs/androidfw/StringPool.cpp
parent484792a145c1e4171d20f8b8ea612bfac3d4baac (diff)
Simplify the drag logic for edit mode.
The main changes here are: - Use a single drag listener for the grid instead of one per tile. This simplifies the code and makes it easier to detect if the user is aiming at the left or right side of a tile - Remove the tile list from the drag state and instead have the list listen to drag events - Add spacers to empty spaces of the row to enable users to move a tile in that spot Bug: 346991759 Flag: com.android.systemui.qs_ui_refactor Test: DragAndDropStateTest Test: EditTileListStateTest Test: DragAndDropTest Change-Id: I49cfdfe0f3c9a3513a4939867558be16d9ba9454
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions