Merge "Changing the scale factor for square icons" into ub-launcher3-calgary

am: e7217a5

* commit 'e7217a5329fab3a8974d9bd9b8f096ad01ffef46':
  Changing the scale factor for square icons

Change-Id: If73405ec99923dddd6877c11ccd068874ff5dc9c
This commit is contained in:
Sunny Goyal
2016-04-07 23:55:55 +00:00
committed by android-build-merger
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -802,7 +802,7 @@ public class IconCache {
}
private static final class IconDB extends SQLiteCacheHelper {
private final static int DB_VERSION = 8;
private final static int DB_VERSION = 9;
private final static int RELEASE_VERSION = DB_VERSION +
(FeatureFlags.LAUNCHER3_DISABLE_ICON_NORMALIZATION ? 0 : 1);
@@ -28,7 +28,7 @@ import java.nio.ByteBuffer;
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 = 359.0f / 576;
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;