Fix bug where FloatingIconView did not use IconShape normalization scale.

This fix allows for a clean tradeoff between the FIV and the original icon
in all icon shapes.

Bug: 130292844
Change-Id: Ief2eec2673161e0f9d32d8710713a1f01880040d
This commit is contained in:
Jon Miranda
2019-05-16 14:21:28 -07:00
parent 5338e0540b
commit c2968da372
@@ -441,7 +441,8 @@ public class FloatingIconView extends View implements
}
if (!isFolderIcon) {
mStartRevealRect.inset(mBlurSizeOutline, mBlurSizeOutline);
Utilities.scaleRectAboutCenter(mStartRevealRect,
IconShape.getNormalizationScale());
}
float aspectRatio = mLauncher.getDeviceProfile().aspectRatio;