diff options
| author | 2009-03-25 23:18:56 -0700 | |
|---|---|---|
| committer | 2009-03-25 23:18:56 -0700 | |
| commit | ceff6e1874d760f4d5029b49b4da344b428555e5 (patch) | |
| tree | d4605e0b0c143acd8dffc1e0a995c3b2578e2545 /include | |
| parent | 262453cecb32ba418c9001bc9cc33dcc4f306b64 (diff) | |
Automated import from //branches/cupcake/...@142873,142873
Diffstat (limited to 'include')
| -rw-r--r-- | include/ui/ISurfaceComposer.h | 7 | ||||
| -rw-r--r-- | include/ui/SurfaceComposerClient.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ui/ISurfaceComposer.h b/include/ui/ISurfaceComposer.h index f9eeb30e1b..5c64b222bc 100644 --- a/include/ui/ISurfaceComposer.h +++ b/include/ui/ISurfaceComposer.h @@ -81,6 +81,11 @@ public: eOrientation270 = 3, eOrientationSwapMask = 0x01 }; + + // flags for setOrientation + enum { + eOrientationAnimationDisable = 0x00000001 + }; /* create connection with surface flinger, requires * ACCESS_SURFACE_FLINGER permission @@ -100,7 +105,7 @@ public: virtual status_t unfreezeDisplay(DisplayID dpy, uint32_t flags) = 0; /* Set display orientation. recquires ACCESS_SURFACE_FLINGER permission */ - virtual int setOrientation(DisplayID dpy, int orientation) = 0; + virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) = 0; /* signal that we're done booting. * recquires ACCESS_SURFACE_FLINGER permission diff --git a/include/ui/SurfaceComposerClient.h b/include/ui/SurfaceComposerClient.h index 5d9222d851..76a3b554ba 100644 --- a/include/ui/SurfaceComposerClient.h +++ b/include/ui/SurfaceComposerClient.h @@ -97,7 +97,7 @@ public: static status_t unfreezeDisplay(DisplayID dpy, uint32_t flags = 0); //! Set the orientation of the given display - static int setOrientation(DisplayID dpy, int orientation); + static int setOrientation(DisplayID dpy, int orientation, uint32_t flags); // Query the number of displays static ssize_t getNumberOfDisplays(); |