Loading iconloaderlib/src/com/android/launcher3/icons/ShadowGenerator.java +4 −4 Original line number Diff line number Diff line Loading @@ -33,16 +33,16 @@ import android.graphics.RectF; */ public class ShadowGenerator { public static final boolean ENABLE_SHADOWS = false; public static final boolean ENABLE_SHADOWS = true; public static final float BLUR_FACTOR = 0.5f/48; public static final float BLUR_FACTOR = 1.5f/48; // Percent of actual icon size public static final float KEY_SHADOW_DISTANCE = 1f/48; private static final int KEY_SHADOW_ALPHA = 61; private static final int KEY_SHADOW_ALPHA = 10; // Percent of actual icon size private static final float HALF_DISTANCE = 0.5f; private static final int AMBIENT_SHADOW_ALPHA = 30; private static final int AMBIENT_SHADOW_ALPHA = 7; private final int mIconSize; Loading iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java +2 −2 Original line number Diff line number Diff line Loading @@ -286,8 +286,8 @@ public class ThemedIconDrawable extends FastBitmapDrawable { Resources res = context.getResources(); int[] colors = new int[2]; if ((res.getConfiguration().uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES) { colors[0] = res.getColor(android.R.color.system_neutral1_800); colors[1] = res.getColor(android.R.color.system_neutral2_200); colors[0] = GraphicsUtils.getAttrColor(context, android.R.attr.colorBackgroundFloating); colors[1] = GraphicsUtils.getAttrColor(context, android.R.attr.colorAccent); } else { colors[0] = res.getColor(android.R.color.system_accent1_100); colors[1] = res.getColor(android.R.color.system_neutral2_700); Loading iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java +1 −1 Original line number Diff line number Diff line Loading @@ -510,7 +510,7 @@ public abstract class BaseIconCache { * Cache class to store the actual entries on disk */ public static final class IconDB extends SQLiteCacheHelper { private static final int RELEASE_VERSION = 29; private static final int RELEASE_VERSION = 30; public static final String TABLE_NAME = "icons"; public static final String COLUMN_ROWID = "rowid"; Loading Loading
iconloaderlib/src/com/android/launcher3/icons/ShadowGenerator.java +4 −4 Original line number Diff line number Diff line Loading @@ -33,16 +33,16 @@ import android.graphics.RectF; */ public class ShadowGenerator { public static final boolean ENABLE_SHADOWS = false; public static final boolean ENABLE_SHADOWS = true; public static final float BLUR_FACTOR = 0.5f/48; public static final float BLUR_FACTOR = 1.5f/48; // Percent of actual icon size public static final float KEY_SHADOW_DISTANCE = 1f/48; private static final int KEY_SHADOW_ALPHA = 61; private static final int KEY_SHADOW_ALPHA = 10; // Percent of actual icon size private static final float HALF_DISTANCE = 0.5f; private static final int AMBIENT_SHADOW_ALPHA = 30; private static final int AMBIENT_SHADOW_ALPHA = 7; private final int mIconSize; Loading
iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java +2 −2 Original line number Diff line number Diff line Loading @@ -286,8 +286,8 @@ public class ThemedIconDrawable extends FastBitmapDrawable { Resources res = context.getResources(); int[] colors = new int[2]; if ((res.getConfiguration().uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES) { colors[0] = res.getColor(android.R.color.system_neutral1_800); colors[1] = res.getColor(android.R.color.system_neutral2_200); colors[0] = GraphicsUtils.getAttrColor(context, android.R.attr.colorBackgroundFloating); colors[1] = GraphicsUtils.getAttrColor(context, android.R.attr.colorAccent); } else { colors[0] = res.getColor(android.R.color.system_accent1_100); colors[1] = res.getColor(android.R.color.system_neutral2_700); Loading
iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java +1 −1 Original line number Diff line number Diff line Loading @@ -510,7 +510,7 @@ public abstract class BaseIconCache { * Cache class to store the actual entries on disk */ public static final class IconDB extends SQLiteCacheHelper { private static final int RELEASE_VERSION = 29; private static final int RELEASE_VERSION = 30; public static final String TABLE_NAME = "icons"; public static final String COLUMN_ROWID = "rowid"; Loading