Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5004d4dd authored by Pat Manning's avatar Pat Manning Committed by Android (Google) Code Review
Browse files

Merge "Update focus indicator radius to match workspace drag indicator radius." into main

parents b6ebbb01 e06a23ed
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -29,8 +29,7 @@ import android.graphics.Rect;
import android.util.FloatProperty;
import android.view.View;

import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.util.Themes;
import com.android.launcher3.R;

/**
 * A helper class to draw background of a focused item.
@@ -103,9 +102,8 @@ public abstract class ItemFocusIndicatorHelper<T> implements AnimatorUpdateListe

        setAlpha(0);
        mShift = 0;
        if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()) {
            mRadius = Themes.getDialogCornerRadius(container.getContext());
        }
        mRadius = container.getResources().getDimensionPixelSize(
                R.dimen.grid_visualization_rounding_radius);
    }

    protected void setAlpha(float alpha) {