Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java +9 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK; import static android.content.Intent.FLAG_ACTIVITY_NEW_DOCUMENT; import static android.view.Display.INVALID_DISPLAY; import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL; import static android.view.ViewRootImpl.sNewInsetsMode; import static com.android.systemui.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_EXPANDED_VIEW; import static com.android.systemui.bubbles.BubbleDebugConfig.TAG_BUBBLES; import static com.android.systemui.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME; Loading Loading @@ -338,9 +340,15 @@ public class BubbleExpandedView extends LinearLayout implements View.OnClickList ? insets.getDisplayCutout().getSafeInsetBottom() : 0); final int insetsBottom = Math.max(activityViewBottom - keyboardTop, 0); // TODO: Temporary hack to offset the view until we can properly inset Bubbles again. if (sNewInsetsMode == NEW_INSETS_MODE_FULL) { mStackView.animate().translationY(-insetsBottom); } else { mActivityView.setForwardedInsets(Insets.of(0, 0, 0, insetsBottom)); } } } void setStackView(BubbleStackView stackView) { mStackView = stackView; Loading services/core/java/com/android/server/wm/WindowContainer.java +1 −1 Original line number Diff line number Diff line Loading @@ -766,7 +766,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer< * {@see AnimationFlags#PARENTS} * {@see AnimationFlags#CHILDREN} */ final boolean isAnimating(int flags) { boolean isAnimating(int flags) { if (mSurfaceAnimator.isAnimating()) { return true; } Loading services/core/java/com/android/server/wm/WindowState.java +12 −0 Original line number Diff line number Diff line Loading @@ -4970,6 +4970,18 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP mWindowFrames.updateLastInsetValues(); } @Override boolean isAnimating(int flags) { // If we are an inset provider, all our animations are driven by the inset client, so we // aren't really animating. // TODO: Replace this with a proper animation type system. if (mControllableInsetProvider != null) { return false; } return super.isAnimating(flags); } void startAnimation(Animation anim) { // If we are an inset provider, all our animations are driven by the inset client. Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java +9 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK; import static android.content.Intent.FLAG_ACTIVITY_NEW_DOCUMENT; import static android.view.Display.INVALID_DISPLAY; import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL; import static android.view.ViewRootImpl.sNewInsetsMode; import static com.android.systemui.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_EXPANDED_VIEW; import static com.android.systemui.bubbles.BubbleDebugConfig.TAG_BUBBLES; import static com.android.systemui.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME; Loading Loading @@ -338,9 +340,15 @@ public class BubbleExpandedView extends LinearLayout implements View.OnClickList ? insets.getDisplayCutout().getSafeInsetBottom() : 0); final int insetsBottom = Math.max(activityViewBottom - keyboardTop, 0); // TODO: Temporary hack to offset the view until we can properly inset Bubbles again. if (sNewInsetsMode == NEW_INSETS_MODE_FULL) { mStackView.animate().translationY(-insetsBottom); } else { mActivityView.setForwardedInsets(Insets.of(0, 0, 0, insetsBottom)); } } } void setStackView(BubbleStackView stackView) { mStackView = stackView; Loading
services/core/java/com/android/server/wm/WindowContainer.java +1 −1 Original line number Diff line number Diff line Loading @@ -766,7 +766,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer< * {@see AnimationFlags#PARENTS} * {@see AnimationFlags#CHILDREN} */ final boolean isAnimating(int flags) { boolean isAnimating(int flags) { if (mSurfaceAnimator.isAnimating()) { return true; } Loading
services/core/java/com/android/server/wm/WindowState.java +12 −0 Original line number Diff line number Diff line Loading @@ -4970,6 +4970,18 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP mWindowFrames.updateLastInsetValues(); } @Override boolean isAnimating(int flags) { // If we are an inset provider, all our animations are driven by the inset client, so we // aren't really animating. // TODO: Replace this with a proper animation type system. if (mControllableInsetProvider != null) { return false; } return super.isAnimating(flags); } void startAnimation(Animation anim) { // If we are an inset provider, all our animations are driven by the inset client. Loading