Merge "Fix surfaceInset adjustment." into nyc-dev
am: 663330a325
* commit '663330a325c4b324eb19cdb4f83189f342e01060':
Fix surfaceInset adjustment.
Change-Id: I648b66bc468cb7d9e48126a69ca44af3c9116614
This commit is contained in:
@@ -829,8 +829,8 @@ class WindowStateAnimator {
|
||||
// Adjust for surface insets.
|
||||
mTmpSize.left -= scale * attrs.surfaceInsets.left;
|
||||
mTmpSize.top -= scale * attrs.surfaceInsets.top;
|
||||
mTmpSize.right += scale * (attrs.surfaceInsets.left + attrs.surfaceInsets.right);
|
||||
mTmpSize.bottom += scale * (attrs.surfaceInsets.top + attrs.surfaceInsets.bottom);
|
||||
mTmpSize.right += scale * attrs.surfaceInsets.right;
|
||||
mTmpSize.bottom += scale * attrs.surfaceInsets.bottom;
|
||||
}
|
||||
|
||||
boolean hasSurface() {
|
||||
|
||||
Reference in New Issue
Block a user