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

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

No files matched your search

@@ -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(