File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
services/java/com/android/server/power Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,15 @@ final class DisplayPowerController {
100100
101101 // Brightness animation ramp rate in brightness units per second.
102102 private static final int BRIGHTNESS_RAMP_RATE_FAST = 200 ;
103- private static final int BRIGHTNESS_RAMP_RATE_SLOW = 50 ;
103+ private static final int BRIGHTNESS_RAMP_RATE_SLOW = 40 ;
104104
105105 // Filter time constant in milliseconds for computing a moving
106106 // average of light samples. Different constants are used
107107 // to calculate the average light level when adapting to brighter or
108108 // dimmer environments.
109109 // This parameter only controls the filtering of light samples.
110- private static final long BRIGHTENING_LIGHT_TIME_CONSTANT = 500 ;
111- private static final long DIMMING_LIGHT_TIME_CONSTANT = 2000 ;
110+ private static final long BRIGHTENING_LIGHT_TIME_CONSTANT = 600 ;
111+ private static final long DIMMING_LIGHT_TIME_CONSTANT = 4000 ;
112112
113113 // Stability requirements in milliseconds for accepting a new brightness
114114 // level. This is used for debouncing the light sensor. Different constants
You can’t perform that action at this time.
0 commit comments