File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
services/java/com/android/server/power Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ final class DisplayPowerController {
106106 // well after dusk.
107107 private static final long TWILIGHT_ADJUSTMENT_TIME = DateUtils .HOUR_IN_MILLIS * 2 ;
108108
109- private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 300 ;
110- private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600 ;
109+ private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 250 ;
110+ private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 450 ;
111111
112112 private static final int MSG_UPDATE_POWER_STATE = 1 ;
113113 private static final int MSG_PROXIMITY_SENSOR_DEBOUNCED = 2 ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ final class ElectronBeam {
6060 // The relative proportion of the animation to spend performing
6161 // the horizontal stretch effect. The remainder is spent performing
6262 // the vertical stretch effect.
63- private static final float HSTRETCH_DURATION = 0.3f ;
63+ private static final float HSTRETCH_DURATION = 0.4f ;
6464 private static final float VSTRETCH_DURATION = 1.0f - HSTRETCH_DURATION ;
6565
6666 // Set to true when the animation context has been fully prepared.
You can’t perform that action at this time.
0 commit comments