Loading quickstep/src/com/android/launcher3/statehandlers/DepthController.java +1 −0 Original line number Diff line number Diff line Loading @@ -193,5 +193,6 @@ public class DepthController extends BaseDepthController implements StateHandler writer.println(prefix + "\tmIgnoreStateChangesDuringMultiWindowAnimation=" + mIgnoreStateChangesDuringMultiWindowAnimation); writer.println(prefix + "\tmPauseBlurs=" + mPauseBlurs); writer.println(prefix + "\tmWaitingOnSurfaceValidity=" + mWaitingOnSurfaceValidity); } } quickstep/src/com/android/quickstep/util/BaseDepthController.java +9 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.quickstep.util; import android.app.WallpaperManager; import android.os.IBinder; import android.util.FloatProperty; import android.util.Log; import android.view.AttachedSurfaceControl; import android.view.SurfaceControl; Loading Loading @@ -50,6 +51,9 @@ public class BaseDepthController { private static final int DEPTH_INDEX_WIDGET = 1; private static final int DEPTH_INDEX_COUNT = 2; // b/291401432 private static final String TAG = "BaseDepthController"; protected final Launcher mLauncher; /** Property to set the depth for state transition. */ public final MultiProperty stateDepth; Loading Loading @@ -88,7 +92,7 @@ public class BaseDepthController { */ protected boolean mInEarlyWakeUp; private boolean mWaitingOnSurfaceValidity; protected boolean mWaitingOnSurfaceValidity; public BaseDepthController(Launcher activity) { mLauncher = activity; Loading Loading @@ -133,9 +137,11 @@ public class BaseDepthController { return; } if (mSurface == null) { Log.d(TAG, "mSurface is null and mCurrentBlur is: " + mCurrentBlur); return; } if (!mSurface.isValid()) { Log.d(TAG, "mSurface is not valid"); mWaitingOnSurfaceValidity = true; onInvalidSurface(); return; Loading Loading @@ -186,6 +192,8 @@ public class BaseDepthController { protected void setSurface(SurfaceControl surface) { if (mSurface != surface || mWaitingOnSurfaceValidity) { mSurface = surface; Log.d(TAG, "setSurface:\n\tmWaitingOnSurfaceValidity: " + mWaitingOnSurfaceValidity + "\n\tmSurface: " + mSurface); applyDepthAndBlur(); } } Loading Loading
quickstep/src/com/android/launcher3/statehandlers/DepthController.java +1 −0 Original line number Diff line number Diff line Loading @@ -193,5 +193,6 @@ public class DepthController extends BaseDepthController implements StateHandler writer.println(prefix + "\tmIgnoreStateChangesDuringMultiWindowAnimation=" + mIgnoreStateChangesDuringMultiWindowAnimation); writer.println(prefix + "\tmPauseBlurs=" + mPauseBlurs); writer.println(prefix + "\tmWaitingOnSurfaceValidity=" + mWaitingOnSurfaceValidity); } }
quickstep/src/com/android/quickstep/util/BaseDepthController.java +9 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.quickstep.util; import android.app.WallpaperManager; import android.os.IBinder; import android.util.FloatProperty; import android.util.Log; import android.view.AttachedSurfaceControl; import android.view.SurfaceControl; Loading Loading @@ -50,6 +51,9 @@ public class BaseDepthController { private static final int DEPTH_INDEX_WIDGET = 1; private static final int DEPTH_INDEX_COUNT = 2; // b/291401432 private static final String TAG = "BaseDepthController"; protected final Launcher mLauncher; /** Property to set the depth for state transition. */ public final MultiProperty stateDepth; Loading Loading @@ -88,7 +92,7 @@ public class BaseDepthController { */ protected boolean mInEarlyWakeUp; private boolean mWaitingOnSurfaceValidity; protected boolean mWaitingOnSurfaceValidity; public BaseDepthController(Launcher activity) { mLauncher = activity; Loading Loading @@ -133,9 +137,11 @@ public class BaseDepthController { return; } if (mSurface == null) { Log.d(TAG, "mSurface is null and mCurrentBlur is: " + mCurrentBlur); return; } if (!mSurface.isValid()) { Log.d(TAG, "mSurface is not valid"); mWaitingOnSurfaceValidity = true; onInvalidSurface(); return; Loading Loading @@ -186,6 +192,8 @@ public class BaseDepthController { protected void setSurface(SurfaceControl surface) { if (mSurface != surface || mWaitingOnSurfaceValidity) { mSurface = surface; Log.d(TAG, "setSurface:\n\tmWaitingOnSurfaceValidity: " + mWaitingOnSurfaceValidity + "\n\tmSurface: " + mSurface); applyDepthAndBlur(); } } Loading