summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeremy Sim <jeremysim@google.com> 2025-02-04 15:15:56 -0800
committer Jeremy Sim <jeremysim@google.com> 2025-02-04 23:29:10 -0800
commit56a382bf1774b9810db9b92d80da8ec4cc84d507 (patch)
treed10fdebc89ae579d9b159cd87f1b9d068cd05431 /libs/androidfw/StringPool.cpp
parentf4f8f15fa15ce7c1fcc07f72eef5f16bd242c6e5 (diff)
Fix drag zone translations for offscreen apps
Adds a translateX and translateY to the visual drop zones for splitscreen, in cases where the split layout extends offscreen to the left or top. Without this, the drag zones' LinearLayout follows display bounds, so they are not aligned with the actual app bounds. I opted to use translation rather than mess with R.layout.global_drop_target, since these zones are only visual (the actual drop target follows app bounds correctly). Fixes: 391428468 Flag: com.android.wm.shell.enable_flexible_two_app_split Test: Visually correct when dragging icons over 10:90, 90:10, 50:50, and single app layouts Change-Id: I58566f89507e9e4c71147211b60989ca75e79a57
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions