Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +5 −3 Original line number Diff line number Diff line Loading @@ -543,7 +543,8 @@ public class BubbleStackView extends FrameLayout { .setStiffness(SpringForce.STIFFNESS_LOW) .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY)); mExpandedViewYAnim.addEndListener((anim, cancelled, value, velocity) -> { if (mIsExpanded && mExpandedBubble != null) { if (mIsExpanded && mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateView(); } }); Loading @@ -562,7 +563,7 @@ public class BubbleStackView extends FrameLayout { // Update the insets after we're done translating otherwise position // calculation for them won't be correct. () -> { if (mExpandedBubble != null) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateInsets(insets); } }); Loading @@ -577,7 +578,7 @@ public class BubbleStackView extends FrameLayout { // Reposition & adjust the height for new orientation if (mIsExpanded) { mExpandedViewContainer.setTranslationY(getExpandedViewY()); if (mExpandedBubble != null) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateView(); } } Loading Loading @@ -1264,6 +1265,7 @@ public class BubbleStackView extends FrameLayout { void showExpandedViewContents(int displayId) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null && mExpandedBubble.getExpandedView().getVirtualDisplayId() == displayId) { mExpandedBubble.setContentVisibility(true); } Loading packages/SystemUI/src/com/android/systemui/bubbles/animation/PhysicsAnimationLayout.java +3 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,9 @@ public class PhysicsAnimationLayout extends FrameLayout { /** Immediately re-orders the view to the given index. */ public void reorderView(View view, int index) { if (view == null) { return; } final int oldIndex = indexOfChild(view); super.removeView(view); Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +5 −3 Original line number Diff line number Diff line Loading @@ -543,7 +543,8 @@ public class BubbleStackView extends FrameLayout { .setStiffness(SpringForce.STIFFNESS_LOW) .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY)); mExpandedViewYAnim.addEndListener((anim, cancelled, value, velocity) -> { if (mIsExpanded && mExpandedBubble != null) { if (mIsExpanded && mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateView(); } }); Loading @@ -562,7 +563,7 @@ public class BubbleStackView extends FrameLayout { // Update the insets after we're done translating otherwise position // calculation for them won't be correct. () -> { if (mExpandedBubble != null) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateInsets(insets); } }); Loading @@ -577,7 +578,7 @@ public class BubbleStackView extends FrameLayout { // Reposition & adjust the height for new orientation if (mIsExpanded) { mExpandedViewContainer.setTranslationY(getExpandedViewY()); if (mExpandedBubble != null) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) { mExpandedBubble.getExpandedView().updateView(); } } Loading Loading @@ -1264,6 +1265,7 @@ public class BubbleStackView extends FrameLayout { void showExpandedViewContents(int displayId) { if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null && mExpandedBubble.getExpandedView().getVirtualDisplayId() == displayId) { mExpandedBubble.setContentVisibility(true); } Loading
packages/SystemUI/src/com/android/systemui/bubbles/animation/PhysicsAnimationLayout.java +3 −0 Original line number Diff line number Diff line Loading @@ -356,6 +356,9 @@ public class PhysicsAnimationLayout extends FrameLayout { /** Immediately re-orders the view to the given index. */ public void reorderView(View view, int index) { if (view == null) { return; } final int oldIndex = indexOfChild(view); super.removeView(view); Loading