summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/power/DisplayPowerController.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-21 23:11:46 -0700
committerJeff Brown <jeffbrown@google.com>2012-08-22 00:06:09 -0700
commit00a8f4ff627584f4d9a8ae0cd83f87786005e16d (patch)
tree0bbd2f92496759a17a34cf740a72a8baa0d68349 /services/java/com/android/server/power/DisplayPowerController.java
parentaa202a6dc33d331cbd9e34a1bb5f74db6284dda6 (diff)
Make the electron beam animation shorter.
Now using about the same duration as it used to have when it was implemented in Surface Flinger. Change-Id: I09b28222379f4b6583f1f7b34188cc36c50509e9
Diffstat (limited to 'services/java/com/android/server/power/DisplayPowerController.java')
-rw-r--r--services/java/com/android/server/power/DisplayPowerController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/power/DisplayPowerController.java b/services/java/com/android/server/power/DisplayPowerController.java
index 80ad6121202d..5f917af174ef 100644
--- a/services/java/com/android/server/power/DisplayPowerController.java
+++ b/services/java/com/android/server/power/DisplayPowerController.java
@@ -106,8 +106,8 @@ final class DisplayPowerController {
// well after dusk.
private static final long TWILIGHT_ADJUSTMENT_TIME = DateUtils.HOUR_IN_MILLIS * 2;
- private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 300;
- private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600;
+ private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 250;
+ private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 450;
private static final int MSG_UPDATE_POWER_STATE = 1;
private static final int MSG_PROXIMITY_SENSOR_DEBOUNCED = 2;