Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +18 −9 Original line number Diff line number Diff line Loading @@ -655,7 +655,9 @@ public class BubbleStackView extends FrameLayout } else { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onDown: isCollapsed"); WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onDown: isCollapsed magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); // If we're collapsed, prepare to drag the stack. Cancel active animations, set the // animation controller, and hide the flyout. mStackAnimationController.cancelStackPositionAnimations(); Loading Loading @@ -762,10 +764,10 @@ public class BubbleStackView extends FrameLayout // released in the target or flung out of it, and we should ignore the event. if (!passEventToMagnetizedObject(ev)) { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object not handling" + " event"); + " event magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); if (mBubbleData.isExpanded()) { mExpandedAnimationController.snapBubbleBack(v, velX, velY); Loading @@ -786,15 +788,16 @@ public class BubbleStackView extends FrameLayout // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: hide dismiss view"); "BubbleStackView.bubbleDrag.onUp: hide dismissView(%d)", mDismissView.hashCode()); mDismissView.hide(); } else { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object handling up"); ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object handling up " + "magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); } onDraggingEnded(); // Hide the stack after a delay, if needed. Loading Loading @@ -1413,6 +1416,8 @@ public class BubbleStackView extends FrameLayout private void setUpDismissView() { if (mDismissView != null) { // TODO(b/417749498): Delete debug log ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.setUpDismissView remove previous"); removeView(mDismissView); } mDismissView = new DismissView(getContext()); Loading @@ -1430,6 +1435,10 @@ public class BubbleStackView extends FrameLayout // MagnetizedObjects when the dismiss view gets shown. mMagneticTarget = new MagnetizedObject.MagneticTarget( mDismissView.getCircle(), dismissRadius); // TODO(b/417749498): Delete debug log ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.setUpDismissView create new dismissView(%d) magneticTarget(%d)", mDismissView.hashCode(), mMagneticTarget.hashCode()); mBubbleContainer.bringToFront(); } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +18 −9 Original line number Diff line number Diff line Loading @@ -655,7 +655,9 @@ public class BubbleStackView extends FrameLayout } else { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onDown: isCollapsed"); WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onDown: isCollapsed magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); // If we're collapsed, prepare to drag the stack. Cancel active animations, set the // animation controller, and hide the flyout. mStackAnimationController.cancelStackPositionAnimations(); Loading Loading @@ -762,10 +764,10 @@ public class BubbleStackView extends FrameLayout // released in the target or flung out of it, and we should ignore the event. if (!passEventToMagnetizedObject(ev)) { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object not handling" + " event"); + " event magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); if (mBubbleData.isExpanded()) { mExpandedAnimationController.snapBubbleBack(v, velX, velY); Loading @@ -786,15 +788,16 @@ public class BubbleStackView extends FrameLayout // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: hide dismiss view"); "BubbleStackView.bubbleDrag.onUp: hide dismissView(%d)", mDismissView.hashCode()); mDismissView.hide(); } else { // TODO(b/417749498): Delete debug log ProtoLog.v( WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object handling up"); ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.bubbleDrag.onUp: magnetized object handling up " + "magneticTarget(%d)", (mMagneticTarget != null ? mMagneticTarget.hashCode() : -1)); } onDraggingEnded(); // Hide the stack after a delay, if needed. Loading Loading @@ -1413,6 +1416,8 @@ public class BubbleStackView extends FrameLayout private void setUpDismissView() { if (mDismissView != null) { // TODO(b/417749498): Delete debug log ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.setUpDismissView remove previous"); removeView(mDismissView); } mDismissView = new DismissView(getContext()); Loading @@ -1430,6 +1435,10 @@ public class BubbleStackView extends FrameLayout // MagnetizedObjects when the dismiss view gets shown. mMagneticTarget = new MagnetizedObject.MagneticTarget( mDismissView.getCircle(), dismissRadius); // TODO(b/417749498): Delete debug log ProtoLog.v(WM_SHELL_BUBBLES_NOISY, "BubbleStackView.setUpDismissView create new dismissView(%d) magneticTarget(%d)", mDismissView.hashCode(), mMagneticTarget.hashCode()); mBubbleContainer.bringToFront(); } Loading