Loading libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java +1 −1 Original line number Diff line number Diff line Loading @@ -1884,7 +1884,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener, return; } final SurfaceControl.Transaction tx = mSurfaceControlTransactionFactory.getTransaction(); tx.setShadowRadius(mLeash, 0f); mSurfaceTransactionHelper.shadow(tx, mLeash, false /* applyShadowRadius */); tx.apply(); } Loading libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipTransition.java +4 −2 Original line number Diff line number Diff line Loading @@ -343,7 +343,8 @@ public class TvPipTransition extends PipTransitionController { final SurfaceControl.Transaction transaction = mTransactionFactory.getTransaction(); for (SurfaceControl leash : closeLeashes) { startTransaction.setShadowRadius(leash, 0f); mSurfaceTransactionHelper.shadow(startTransaction, leash, false /* applyShadowRadius */); } ValueAnimator closeFadeOutAnimator = createAnimator(); Loading @@ -361,7 +362,8 @@ public class TvPipTransition extends PipTransitionController { ProtoLog.v(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE, "%s: close animation: start", TAG); for (SurfaceControl leash : closeLeashes) { startTransaction.setShadowRadius(leash, 0f); mSurfaceTransactionHelper.shadow(startTransaction, leash, false /* applyShadowRadius */); } startTransaction.apply(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTaskOrganizer.java +1 −1 Original line number Diff line number Diff line Loading @@ -1884,7 +1884,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener, return; } final SurfaceControl.Transaction tx = mSurfaceControlTransactionFactory.getTransaction(); tx.setShadowRadius(mLeash, 0f); mSurfaceTransactionHelper.shadow(tx, mLeash, false /* applyShadowRadius */); tx.apply(); } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipTransition.java +4 −2 Original line number Diff line number Diff line Loading @@ -343,7 +343,8 @@ public class TvPipTransition extends PipTransitionController { final SurfaceControl.Transaction transaction = mTransactionFactory.getTransaction(); for (SurfaceControl leash : closeLeashes) { startTransaction.setShadowRadius(leash, 0f); mSurfaceTransactionHelper.shadow(startTransaction, leash, false /* applyShadowRadius */); } ValueAnimator closeFadeOutAnimator = createAnimator(); Loading @@ -361,7 +362,8 @@ public class TvPipTransition extends PipTransitionController { ProtoLog.v(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE, "%s: close animation: start", TAG); for (SurfaceControl leash : closeLeashes) { startTransaction.setShadowRadius(leash, 0f); mSurfaceTransactionHelper.shadow(startTransaction, leash, false /* applyShadowRadius */); } startTransaction.apply(); Loading