summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-10-14 14:54:06 -0700
committerMathias Agopian <mathias@google.com>2010-10-14 14:57:34 -0700
commitabd671a08a41519a7ab3d438a500efe0ef0bfc1d (patch)
tree31479b1c4e2cecfbfe8fd24eebdd24e06d4f19f4 /include
parent63be8ccc942bd47c8cfdbe227f9cd4c1cdad7737 (diff)
downloadframeworks_native-abd671a08a41519a7ab3d438a500efe0ef0bfc1d.zip
frameworks_native-abd671a08a41519a7ab3d438a500efe0ef0bfc1d.tar.gz
frameworks_native-abd671a08a41519a7ab3d438a500efe0ef0bfc1d.tar.bz2
addresses parts of 3096779 and 3097475
3097475: Animation setting should control the screen on animation 3096779: CRT power-on animation can briefly show the top app instead of lockscreen There is now a parameter that controls wether the ON and/or OFF animation are performed. we also always clear the screen to black on power off, to make sure it won't briefly appear on power on. HOWEVER, 3096779 is not 100% fixed in the case where we're doing the animation because there is a race, where SF doesn't wait (b/c it doesn't know) for the framework to have redrawn the lockscreen. Change-Id: Ie0f02c9225fcdf24b1e8907e268eb7da2c5b0a03
Diffstat (limited to 'include')
-rw-r--r--include/surfaceflinger/ISurfaceComposer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/surfaceflinger/ISurfaceComposer.h b/include/surfaceflinger/ISurfaceComposer.h
index de447be..da4d56f 100644
--- a/include/surfaceflinger/ISurfaceComposer.h
+++ b/include/surfaceflinger/ISurfaceComposer.h
@@ -77,6 +77,11 @@ public:
eOrientationSwapMask = 0x01
};
+ enum {
+ eElectronBeamAnimationOn = 0x01,
+ eElectronBeamAnimationOff = 0x10
+ };
+
// flags for setOrientation
enum {
eOrientationAnimationDisable = 0x00000001