Loading src/com/android/launcher3/Hotseat.java +10 −10 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ import android.content.Context; import android.graphics.Canvas; import android.graphics.Rect; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; import android.view.LayoutInflater; import android.view.MotionEvent; Loading @@ -29,7 +28,6 @@ import android.view.ViewDebug; import android.view.ViewGroup; import android.widget.FrameLayout; import com.android.launcher3.folder.Folder; import com.android.launcher3.pageindicators.PageIndicatorDots; import androidx.annotation.NonNull; Loading @@ -56,6 +54,7 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { private boolean mSendTouchToWorkspace; private final View mQsb; public boolean drawBlur; public Hotseat(Context context) { this(context, null); Loading @@ -70,6 +69,7 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { mQsb = LayoutInflater.from(context).inflate(R.layout.search_container_hotseat, this, false); mBlurDelegate = new BlurViewDelegate(this, BlurWallpaperProvider.Companion.getBlurConfigDock(), null); drawBlur = true; setWillNotDraw(false); addView(mQsb); } Loading Loading @@ -145,6 +145,14 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { return false; } @Override protected void onDraw(Canvas canvas) { if (mBlurDelegate != null && drawBlur) { mBlurDelegate.draw(canvas); } super.onDraw(canvas); } @Override public boolean onTouchEvent(MotionEvent event) { // See comment in #onInterceptTouchEvent Loading Loading @@ -216,14 +224,6 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { return mQsb; } @Override protected void onDraw(Canvas canvas) { if (mBlurDelegate != null) { mBlurDelegate.draw(canvas); } super.onDraw(canvas); } public Workspace<?> getWorkspace() { return mWorkspace; } Loading src/com/android/launcher3/graphics/LauncherPreviewRenderer.java +1 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,7 @@ public class LauncherPreviewRenderer extends ContextWrapper mHotseat = mRootView.findViewById(R.id.hotseat); mHotseat.resetLayout(false); mHotseat.drawBlur = false; mLauncherWidgetSpanInfo = launcherWidgetSpanInfo == null ? new SparseArray<>() : launcherWidgetSpanInfo; Loading Loading
src/com/android/launcher3/Hotseat.java +10 −10 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ import android.content.Context; import android.graphics.Canvas; import android.graphics.Rect; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; import android.view.LayoutInflater; import android.view.MotionEvent; Loading @@ -29,7 +28,6 @@ import android.view.ViewDebug; import android.view.ViewGroup; import android.widget.FrameLayout; import com.android.launcher3.folder.Folder; import com.android.launcher3.pageindicators.PageIndicatorDots; import androidx.annotation.NonNull; Loading @@ -56,6 +54,7 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { private boolean mSendTouchToWorkspace; private final View mQsb; public boolean drawBlur; public Hotseat(Context context) { this(context, null); Loading @@ -70,6 +69,7 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { mQsb = LayoutInflater.from(context).inflate(R.layout.search_container_hotseat, this, false); mBlurDelegate = new BlurViewDelegate(this, BlurWallpaperProvider.Companion.getBlurConfigDock(), null); drawBlur = true; setWillNotDraw(false); addView(mQsb); } Loading Loading @@ -145,6 +145,14 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { return false; } @Override protected void onDraw(Canvas canvas) { if (mBlurDelegate != null && drawBlur) { mBlurDelegate.draw(canvas); } super.onDraw(canvas); } @Override public boolean onTouchEvent(MotionEvent event) { // See comment in #onInterceptTouchEvent Loading Loading @@ -216,14 +224,6 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { return mQsb; } @Override protected void onDraw(Canvas canvas) { if (mBlurDelegate != null) { mBlurDelegate.draw(canvas); } super.onDraw(canvas); } public Workspace<?> getWorkspace() { return mWorkspace; } Loading
src/com/android/launcher3/graphics/LauncherPreviewRenderer.java +1 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,7 @@ public class LauncherPreviewRenderer extends ContextWrapper mHotseat = mRootView.findViewById(R.id.hotseat); mHotseat.resetLayout(false); mHotseat.drawBlur = false; mLauncherWidgetSpanInfo = launcherWidgetSpanInfo == null ? new SparseArray<>() : launcherWidgetSpanInfo; Loading