Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 153c35c7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Enable and tune shadow generator." into sc-dev

parents 02f982e4 442d67ff
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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";