Merge "Add shape detection logic only for circle icons" into ub-launcher3-qt-dev

This commit is contained in:
Hyunyoung Song
2019-06-03 22:34:02 +00:00
committed by Android (Google) Code Review
6 changed files with 139 additions and 16 deletions

View File

@@ -529,7 +529,8 @@ public class FloatingIconView extends View implements
bounds.inset(mBlurSizeOutline / 2, mBlurSizeOutline / 2);
try (LauncherIcons li = LauncherIcons.obtain(mLauncher)) {
Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null));
Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null,
null, null));
}
bounds.inset(