Loading core/java/android/view/InsetsFrameProvider.java +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,10 @@ import java.util.Objects; * * The insets frame will by default as the window frame size. If the providers are set, the * calculation result based on the source size will be used as the insets frame. * * The InsetsFrameProvider should be self-contained. Nothing describing the window itself, such as * contentInsets, visibleInsets, etc. won't affect the insets providing to other windows when this * is set. * @hide */ public class InsetsFrameProvider implements Parcelable { Loading services/core/java/com/android/server/wm/DisplayPolicy.java +0 −1 Original line number Diff line number Diff line Loading @@ -1202,7 +1202,6 @@ public class DisplayPolicy { return null; } return (displayFrames, windowContainer, inOutFrame) -> { inOutFrame.inset(win.mGivenContentInsets); final LayoutParams lp = win.mAttrs.forRotation(displayFrames.mRotation); final InsetsFrameProvider ifp = lp.providedInsets[index]; InsetsFrameProvider.calculateInsetsFrame(displayFrames.mUnrestricted, Loading Loading
core/java/android/view/InsetsFrameProvider.java +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,10 @@ import java.util.Objects; * * The insets frame will by default as the window frame size. If the providers are set, the * calculation result based on the source size will be used as the insets frame. * * The InsetsFrameProvider should be self-contained. Nothing describing the window itself, such as * contentInsets, visibleInsets, etc. won't affect the insets providing to other windows when this * is set. * @hide */ public class InsetsFrameProvider implements Parcelable { Loading
services/core/java/com/android/server/wm/DisplayPolicy.java +0 −1 Original line number Diff line number Diff line Loading @@ -1202,7 +1202,6 @@ public class DisplayPolicy { return null; } return (displayFrames, windowContainer, inOutFrame) -> { inOutFrame.inset(win.mGivenContentInsets); final LayoutParams lp = win.mAttrs.forRotation(displayFrames.mRotation); final InsetsFrameProvider ifp = lp.providedInsets[index]; InsetsFrameProvider.calculateInsetsFrame(displayFrames.mUnrestricted, Loading