summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-02-21 20:27:35 -0600
committer Riddle Hsu <riddlehsu@google.com> 2024-02-21 15:54:50 +0000
commit6a5370a03b180bf73dbc5249e47f83f69b006c49 (patch)
tree50c482032c00c9656d3263959fc8f562308ab9fc /libs/hwui/FrameInfoVisualizer.cpp
parentce8d4a38b4c6a925a5c24c365187ba8f2e6f61f4 (diff)
Simplify finding wallpapers
Because mWallpaperTokens already contains all wallpaper windows, it is unnecessary to traverse all windows. Then it can be 10x faster. By making mWallpaperTokens follow z-order, that also improves the correctness of getTopVisibleWallpaper. Remove startWallpaperAnimation by the way as it is dead code for years. Bug: 163976519 Test: WallpaperControllerTests#testShowWhenLockedWallpaperTarget Change-Id: Ifa3bf54ebeee049ccc1952884d4a213a2ee9f39d
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions