更换文件夹背景图标,更换指示器为圆,更换文件夹和图标大小一样

This commit is contained in:
2020-12-01 18:24:00 +08:00
parent d3af2efaa7
commit 707093b70d
6 changed files with 69 additions and 39 deletions

View File

@@ -47,7 +47,7 @@ public class IconNormalizer {
// Ratio of icon visible area to full icon size for a square shaped icon
private static final float MAX_SQUARE_AREA_FACTOR = 375.0f / 576;
// Ratio of icon visible area to full icon size for a circular shaped icon
private static final float MAX_CIRCLE_AREA_FACTOR = 380.0f / 576;
private static final float MAX_CIRCLE_AREA_FACTOR = 300.0f / 576;
private static final float CIRCLE_AREA_BY_RECT = (float) Math.PI / 4;