Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +3 −1 Original line number Diff line number Diff line Loading @@ -949,7 +949,9 @@ public class BubbleExpandedView extends LinearLayout { if (mTaskView != null && mTaskView.getVisibility() == VISIBLE && mTaskView.isAttachedToWindow()) { mTaskView.onLocationChanged(); // post this to the looper, because if the device orientation just changed, we need to // let the current shell transition complete before updating the task view bounds. post(() -> mTaskView.onLocationChanged()); } if (mIsOverflow) { // post this to the looper so that the view has a chance to be laid out before it can Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +9 −8 Original line number Diff line number Diff line Loading @@ -1012,15 +1012,15 @@ public class BubbleStackView extends FrameLayout } if (mIsExpanded) { // Re-draw bubble row and pointer for new orientation. beforeExpandedViewAnimation(); // update the expanded view and pointer location for the new orientation. hideFlyoutImmediate(); mExpandedViewContainer.setAlpha(0f); updateExpandedView(); updateOverflowVisibility(); updatePointerPosition(false /* forIme */); mExpandedAnimationController.expandFromStack(() -> { afterExpandedViewAnimation(); mExpandedViewContainer.setVisibility(VISIBLE); updatePointerPosition(false); requestUpdate(); showManageMenu(mShowingManage); } /* after */); PointF p = mPositioner.getExpandedBubbleXY(getBubbleIndex(mExpandedBubble), getState()); final float translationY = mPositioner.getExpandedViewY(mExpandedBubble, Loading @@ -1029,6 +1029,7 @@ public class BubbleStackView extends FrameLayout mExpandedViewContainer.setTranslationY(translationY); mExpandedViewContainer.setAlpha(1f); } removeOnLayoutChangeListener(mOrientationChangedListener); }; final float maxDismissSize = getResources().getDimensionPixelSize( Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +3 −1 Original line number Diff line number Diff line Loading @@ -949,7 +949,9 @@ public class BubbleExpandedView extends LinearLayout { if (mTaskView != null && mTaskView.getVisibility() == VISIBLE && mTaskView.isAttachedToWindow()) { mTaskView.onLocationChanged(); // post this to the looper, because if the device orientation just changed, we need to // let the current shell transition complete before updating the task view bounds. post(() -> mTaskView.onLocationChanged()); } if (mIsOverflow) { // post this to the looper so that the view has a chance to be laid out before it can Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +9 −8 Original line number Diff line number Diff line Loading @@ -1012,15 +1012,15 @@ public class BubbleStackView extends FrameLayout } if (mIsExpanded) { // Re-draw bubble row and pointer for new orientation. beforeExpandedViewAnimation(); // update the expanded view and pointer location for the new orientation. hideFlyoutImmediate(); mExpandedViewContainer.setAlpha(0f); updateExpandedView(); updateOverflowVisibility(); updatePointerPosition(false /* forIme */); mExpandedAnimationController.expandFromStack(() -> { afterExpandedViewAnimation(); mExpandedViewContainer.setVisibility(VISIBLE); updatePointerPosition(false); requestUpdate(); showManageMenu(mShowingManage); } /* after */); PointF p = mPositioner.getExpandedBubbleXY(getBubbleIndex(mExpandedBubble), getState()); final float translationY = mPositioner.getExpandedViewY(mExpandedBubble, Loading @@ -1029,6 +1029,7 @@ public class BubbleStackView extends FrameLayout mExpandedViewContainer.setTranslationY(translationY); mExpandedViewContainer.setAlpha(1f); } removeOnLayoutChangeListener(mOrientationChangedListener); }; final float maxDismissSize = getResources().getDimensionPixelSize( Loading