summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2021-10-18 15:03:36 +0800
committer Riddle Hsu <riddlehsu@google.com> 2021-10-19 02:10:40 +0800
commit443f9acda206bd7ed7e903e1ba548d6c2acb1529 (patch)
tree6baa95e7915b98b24f159eb3e9c9751adf90798f /cmds/bootanimation/BootAnimation.cpp
parent9c6e07a76f131c4d4ebb1690e2d2626449cdf70d (diff)
Compute surface position of scaled child window
This replaces the way commit df46fd5 did. The frames of child window are still calculated with scaling, but only the surface scale is ignored. So if the app calls getLocationOnScreen for a scaled child window, the coordinate base can be consistent with parent. Bug: 182362657 Test: atest WindowStateTests#testCompatOverrideScale Change-Id: I6d4f7dab4949feb488fbcb42ff687a520fe4ca70
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions