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

Commit 8b01e05d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7414767 from 153c35c7 to sc-release

Change-Id: I6f53b1204aca2fbadda575c29a8aff22c6ce320f
parents c1d61830 153c35c7
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;

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