Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +10 −4 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public enum ScrimState { // to make sure correct color is returned before "prepare" is called @Override public int getBehindTint() { return Color.BLACK; return DEBUG_MODE ? DEBUG_BEHIND_TINT : Color.BLACK; } }, Loading Loading @@ -264,6 +264,12 @@ public enum ScrimState { } }; private static final boolean DEBUG_MODE = false; private static final int DEBUG_NOTIFICATIONS_TINT = Color.RED; private static final int DEBUG_FRONT_TINT = Color.GREEN; private static final int DEBUG_BEHIND_TINT = Color.BLUE; boolean mBlankScreen = false; long mAnimationDuration = ScrimController.ANIMATION_DURATION; int mFrontTint = Color.TRANSPARENT; Loading Loading @@ -323,15 +329,15 @@ public enum ScrimState { } public int getFrontTint() { return mFrontTint; return DEBUG_MODE ? DEBUG_FRONT_TINT : mFrontTint; } public int getBehindTint() { return mBehindTint; return DEBUG_MODE ? DEBUG_BEHIND_TINT : mBehindTint; } public int getNotifTint() { return mNotifTint; return DEBUG_MODE ? DEBUG_NOTIFICATIONS_TINT : mNotifTint; } public long getAnimationDuration() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +10 −4 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public enum ScrimState { // to make sure correct color is returned before "prepare" is called @Override public int getBehindTint() { return Color.BLACK; return DEBUG_MODE ? DEBUG_BEHIND_TINT : Color.BLACK; } }, Loading Loading @@ -264,6 +264,12 @@ public enum ScrimState { } }; private static final boolean DEBUG_MODE = false; private static final int DEBUG_NOTIFICATIONS_TINT = Color.RED; private static final int DEBUG_FRONT_TINT = Color.GREEN; private static final int DEBUG_BEHIND_TINT = Color.BLUE; boolean mBlankScreen = false; long mAnimationDuration = ScrimController.ANIMATION_DURATION; int mFrontTint = Color.TRANSPARENT; Loading Loading @@ -323,15 +329,15 @@ public enum ScrimState { } public int getFrontTint() { return mFrontTint; return DEBUG_MODE ? DEBUG_FRONT_TINT : mFrontTint; } public int getBehindTint() { return mBehindTint; return DEBUG_MODE ? DEBUG_BEHIND_TINT : mBehindTint; } public int getNotifTint() { return mNotifTint; return DEBUG_MODE ? DEBUG_NOTIFICATIONS_TINT : mNotifTint; } public long getAnimationDuration() { Loading