OSDN Git Service

Account for scaling of surfaceInset area in magnification.
authorRobert Carr <racarr@google.com>
Tue, 9 Aug 2016 20:08:01 +0000 (13:08 -0700)
committerRobert Carr <racarr@google.com>
Tue, 9 Aug 2016 23:49:23 +0000 (16:49 -0700)
commit298f9278fdcdbadf83f67f277992ff8b2fda8e99
tree5c7e7c445c22efc135e70cc6e7d64990d5a6ae4e
parentff38f6a699184102500b7c0c7a33b310cc4d8e38
Account for scaling of surfaceInset area in magnification.

We don't want to scale the actual size of the surface as we
were doing prior to ag/1101405 but we do need to adjust the top
and left corners so that the content will be at the same position
despite the inset area being scaled up.

Bug: 30399709
Change-Id: I30df4d3ef593d4f2869fdf378ee9bc3469619d5d
services/core/java/com/android/server/wm/WindowStateAnimator.java