summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MediaPlayerService.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-10-28 13:18:16 -0700
committerChet Haase <chet@google.com>2011-10-28 14:49:23 -0700
commita8e5a2bcd6a0d35893187c6df42425c03be005da (patch)
treef6ef550565e525e7b8262182a336eb40432915e9 /media/libmediaplayerservice/MediaPlayerService.cpp
parent48ba4139b9dc1f53f996b71f509a9d0c6fd2d72b (diff)
downloadframeworks_base-a8e5a2bcd6a0d35893187c6df42425c03be005da.zip
frameworks_base-a8e5a2bcd6a0d35893187c6df42425c03be005da.tar.gz
frameworks_base-a8e5a2bcd6a0d35893187c6df42425c03be005da.tar.bz2
Optimize handling of scrolled wallpapers
Swiping the home screen causes the WindowManagerService to do a bunch of work to keep the wallpapers in sync. First, it lays out and places all windows. Also, it notifies the SystemUI process that the wallpaper position has changed. The layout/place operation is too much work - we only need to set the position values for the wallpaper, not relayout the whole system. The notification mechanism must exist, but should be optional. Most wallpapers don't care (especially static ImageWallpapers). So we'll give them a new API (WallpaperService.Engine.setWantsOffsets()) to allow wallpapers to opt out of this process and avoid the performance overhead. Change-Id: I66c38375438937f14f6f5550565b28eb204b1e06
Diffstat (limited to 'media/libmediaplayerservice/MediaPlayerService.cpp')
0 files changed, 0 insertions, 0 deletions