Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +6 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,12 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo * Scrim opacity when the phone is about to wake-up. */ public static final float WAKE_SENSOR_SCRIM_ALPHA = 0.6f; /** * Scrim opacity when bubbles are expanded. */ public static final float BUBBLE_SCRIM_ALPHA = 0.6f; /** * The default scrim under the shade and dialogs. * This should not be lower than 0.54, otherwise we won't pass GAR. Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +1 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public enum ScrimState { mFrontAlpha = 0f; mBehindAlpha = mDefaultScrimAlpha; mBubbleAlpha = mDefaultScrimAlpha; mBubbleAlpha = ScrimController.BUBBLE_SCRIM_ALPHA; mAnimationDuration = ScrimController.ANIMATION_DURATION; mBlankScreen = false; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +6 −0 Original line number Diff line number Diff line Loading @@ -113,6 +113,12 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo * Scrim opacity when the phone is about to wake-up. */ public static final float WAKE_SENSOR_SCRIM_ALPHA = 0.6f; /** * Scrim opacity when bubbles are expanded. */ public static final float BUBBLE_SCRIM_ALPHA = 0.6f; /** * The default scrim under the shade and dialogs. * This should not be lower than 0.54, otherwise we won't pass GAR. Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +1 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public enum ScrimState { mFrontAlpha = 0f; mBehindAlpha = mDefaultScrimAlpha; mBubbleAlpha = mDefaultScrimAlpha; mBubbleAlpha = ScrimController.BUBBLE_SCRIM_ALPHA; mAnimationDuration = ScrimController.ANIMATION_DURATION; mBlankScreen = false; Loading