Skip to content

Commit 3c0081b

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Use exactly the same timings for the ElectronBeam as JB." into jb-mr1-dev
2 parents 6918d9f + 3c584f2 commit 3c0081b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/java/com/android/server/power/DisplayPowerController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ final class DisplayPowerController {
110110
private static final long TWILIGHT_ADJUSTMENT_TIME = DateUtils.HOUR_IN_MILLIS * 2;
111111

112112
private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 250;
113-
private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 450;
113+
private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 400;
114114

115115
private static final int MSG_UPDATE_POWER_STATE = 1;
116116
private static final int MSG_PROXIMITY_SENSOR_DEBOUNCED = 2;

services/java/com/android/server/power/ElectronBeam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.4f;
63+
private static final float HSTRETCH_DURATION = 0.5f;
6464
private static final float VSTRETCH_DURATION = 1.0f - HSTRETCH_DURATION;
6565

6666
// Set to true when the animation context has been fully prepared.

0 commit comments

Comments
 (0)