OSDN Git Service

Update surface insets on window elevation changes.
authorWale Ogunwale <ogunwale@google.com>
Thu, 7 Apr 2016 21:12:44 +0000 (14:12 -0700)
committerWale Ogunwale <ogunwale@google.com>
Thu, 7 Apr 2016 22:22:49 +0000 (15:22 -0700)
commit246c209e4fe704c0745224be0ab05225e8431d11
treec48e8f22a87d4180c02ee14e797d4f6d144c65db
parent6bab4cf52d53074b7d353738ebd014c72366774d
Update surface insets on window elevation changes.

Window manager factors in the surface insets when calculating the
right crop for a window surface. Without the surface insets been
updated and new param forwarded to window manager, the window crop
will not be the right size and the window drop shadow might not show.

Bug: 27364161
Change-Id: Ieefeb8435543f3137672a065269cdeefca371111
core/java/android/view/ViewRootImpl.java
core/java/android/view/WindowManager.java
core/java/android/widget/PopupWindow.java
core/java/com/android/internal/policy/PhoneWindow.java
services/core/java/com/android/server/wm/WindowStateAnimator.java