Loading packages/SystemUI/src/com/android/systemui/pip/PipTaskOrganizer.java +4 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,10 @@ public class PipTaskOrganizer extends TaskOrganizer { return new Rect(mLastReportedBounds); } public boolean isInPip() { return mInPip; } /** * Registers {@link PipTransitionCallback} to receive transition callbacks. */ Loading packages/SystemUI/src/com/android/systemui/pip/phone/PipMotionHelper.java +4 −1 Original line number Diff line number Diff line Loading @@ -168,8 +168,11 @@ public class PipMotionHelper implements PipAppOpsListener.Callback, void synchronizePinnedStackBounds() { cancelAnimations(); mBounds.set(mPipTaskOrganizer.getLastReportedBounds()); if (mPipTaskOrganizer.isInPip()) { mFloatingContentCoordinator.onContentMoved(this); } } /** * Synchronizes the current bounds with either the pinned stack, or the ongoing animation. This Loading Loading
packages/SystemUI/src/com/android/systemui/pip/PipTaskOrganizer.java +4 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,10 @@ public class PipTaskOrganizer extends TaskOrganizer { return new Rect(mLastReportedBounds); } public boolean isInPip() { return mInPip; } /** * Registers {@link PipTransitionCallback} to receive transition callbacks. */ Loading
packages/SystemUI/src/com/android/systemui/pip/phone/PipMotionHelper.java +4 −1 Original line number Diff line number Diff line Loading @@ -168,8 +168,11 @@ public class PipMotionHelper implements PipAppOpsListener.Callback, void synchronizePinnedStackBounds() { cancelAnimations(); mBounds.set(mPipTaskOrganizer.getLastReportedBounds()); if (mPipTaskOrganizer.isInPip()) { mFloatingContentCoordinator.onContentMoved(this); } } /** * Synchronizes the current bounds with either the pinned stack, or the ongoing animation. This Loading