summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRob Carr <racarr@google.com>2015-10-29 00:20:45 +0000
committerRob Carr <racarr@google.com>2015-10-30 21:23:28 +0000
commit64e516f5fa56d71bf6b5076e5620c30dc5810ba1 (patch)
tree60f39e65f6261309913c86fd412a26edde016c22 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentec034cdb6367923141233556b9d9bfa132afe08d (diff)
Sync SurfaceView position changes to parent render.
In order to provide pixel perfect movement of SurfaceViews 'within' other views (e.g. scrolling) we need to be able to synchronize the attached (parent window) painting with the movement of the SurfaceView (recall, SurfaceViews are positioned behind their attached windows and the parent must render a transparent region for the SurfaceView to appear). Provide a new WindowManager method to reposition an attaching window (that is to say, a window which has an attached window like SurfaceView) and defer the transaction until the parent frame. SurfaceView is hooked up to use this for movement. This is still 'racy' in the hardware accelerated case as the render thread could be on either side of dequeing the frame we are working on. Bug: 22802885 Change-Id: I025d2bdcbe15c1c11047cc0dbca2cf2b7d67c632
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions