summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2015-09-28 10:26:16 -0700
committerRob Carr <racarr@google.com>2015-10-15 22:35:48 +0000
commit6104dc95606b3399356dd011ca6d71fcd954154c (patch)
treee129b3e054c38034fc4bef1e79d84b205c6f18c1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent446433da24b7cfb7e7625675bb9dc4e17b05f3ba (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. Change-Id: Ic33915043380ab8cd9eb4920e224b35234ed867d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions