Merge "Fix folder outline not matching the v28 radius." into sc-dev am: e76e1e564a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13844440 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If733164f03d2c28d5e66662c643c797bacc39175
This commit is contained in:
commit
172d3e8552
1 file changed
+1
-2
@@ -40,7 +40,6 @@ import androidx.core.graphics.ColorUtils;
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.CellLayout;
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.ResourceUtils;
|
||||
import com.android.launcher3.ShortcutAndWidgetContainer;
|
||||
import com.android.launcher3.Utilities;
|
||||
import com.android.launcher3.anim.PropertyResetListener;
|
||||
@@ -177,7 +176,7 @@ public class FolderAnimationManager {
|
||||
Math.round((totalOffsetX + initialSize)),
|
||||
Math.round((paddingOffsetY + initialSize)));
|
||||
Rect endRect = new Rect(0, 0, lp.width, lp.height);
|
||||
float finalRadius = ResourceUtils.pxFromDp(2, mContext.getResources().getDisplayMetrics());
|
||||
float finalRadius = mFolderBackground.getCornerRadius();
|
||||
|
||||
// Create the animators.
|
||||
AnimatorSet a = new AnimatorSet();
|
||||
|
||||
Reference in new issue
Block a user