Loading quickstep/src/com/android/launcher3/statehandlers/DepthController.java +2 −10 Original line number Diff line number Diff line Loading @@ -158,11 +158,7 @@ public class DepthController implements StateHandler<LauncherState>, * Sets the specified app target surface to apply the blur to. */ public void setSurfaceToApp(RemoteAnimationTargetCompat target) { if (target != null) { setSurface(target.leash); } else { setActivityStarted(mLauncher.isStarted()); } setSurface(target == null ? null : target.leash); } private void setSurface(SurfaceControlCompat surface) { Loading @@ -170,9 +166,6 @@ public class DepthController implements StateHandler<LauncherState>, mSurface = surface; if (surface != null) { setDepth(mDepth); } else { // If there is no surface, then reset the ratio setDepth(0f); } } } Loading @@ -192,8 +185,7 @@ public class DepthController implements StateHandler<LauncherState>, @Override public void setStateWithAnimation(LauncherState toState, StateAnimationConfig config, PendingAnimation animation) { if (mSurface == null || config.hasAnimationFlag(SKIP_DEPTH_CONTROLLER) if (config.hasAnimationFlag(SKIP_DEPTH_CONTROLLER) || mIgnoreStateChangesDuringMultiWindowAnimation) { return; } Loading Loading
quickstep/src/com/android/launcher3/statehandlers/DepthController.java +2 −10 Original line number Diff line number Diff line Loading @@ -158,11 +158,7 @@ public class DepthController implements StateHandler<LauncherState>, * Sets the specified app target surface to apply the blur to. */ public void setSurfaceToApp(RemoteAnimationTargetCompat target) { if (target != null) { setSurface(target.leash); } else { setActivityStarted(mLauncher.isStarted()); } setSurface(target == null ? null : target.leash); } private void setSurface(SurfaceControlCompat surface) { Loading @@ -170,9 +166,6 @@ public class DepthController implements StateHandler<LauncherState>, mSurface = surface; if (surface != null) { setDepth(mDepth); } else { // If there is no surface, then reset the ratio setDepth(0f); } } } Loading @@ -192,8 +185,7 @@ public class DepthController implements StateHandler<LauncherState>, @Override public void setStateWithAnimation(LauncherState toState, StateAnimationConfig config, PendingAnimation animation) { if (mSurface == null || config.hasAnimationFlag(SKIP_DEPTH_CONTROLLER) if (config.hasAnimationFlag(SKIP_DEPTH_CONTROLLER) || mIgnoreStateChangesDuringMultiWindowAnimation) { return; } Loading