diff options
author | Chong Zhang <chz@google.com> | 2015-09-17 10:41:44 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-09-17 14:49:58 -0700 |
commit | 0275e397f482a1f25745a66c5db68c3a6c863951 (patch) | |
tree | fc2699b5e121595c9c432d5f059924c25de9d45c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4dc0c15a6ac0564b2e7d9d8b957795a373d05907 (diff) |
Place surface at screen't top-left when doing drag resizing
Instead of letting the client render to (0,0) and moving the surface
around, put the surface at a fixed location, and let the client render
to the screen position within the surface.
This fixes the window shaking problem when resizing by dragging window's
top-left corner. The frame rect used in last draw is lagging window
manager's latest bounds for the window, moving the surface's position
would make the window's bottom-right corner appears moving (while it's
supposed to be stationary).
bug: 23793966
Change-Id: Ideb152fc48502f8e9672235f10b044889235e7df
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions