diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-07-24 19:25:30 -0500 |
---|---|---|
committer | Rebecca Schultz Zavin <rebecca@android.com> | 2009-07-29 17:53:38 -0700 |
commit | e56271109fe59e1c1f4958bdcdeb9a3a7f53eb28 (patch) | |
tree | 201db3370a39df777129ba4329aa42014944f7c8 /include | |
parent | e3772efdc5dacf9a580786b836daa77ce127cb6e (diff) | |
download | frameworks_native-e56271109fe59e1c1f4958bdcdeb9a3a7f53eb28.zip frameworks_native-e56271109fe59e1c1f4958bdcdeb9a3a7f53eb28.tar.gz frameworks_native-e56271109fe59e1c1f4958bdcdeb9a3a7f53eb28.tar.bz2 |
Adding resizeInput and setAttributes for overlay
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/Overlay.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/Overlay.h b/include/ui/Overlay.h index acc9bea..a9ae1c4 100644 --- a/include/ui/Overlay.h +++ b/include/ui/Overlay.h @@ -82,10 +82,16 @@ public: /* release the overlay buffer and post it */ status_t queueBuffer(overlay_buffer_t buffer); + /* change the width and height of the overlay */ + status_t resizeInput(uint32_t width, uint32_t height); + status_t setCrop(uint32_t x, uint32_t y, uint32_t w, uint32_t h) ; status_t getCrop(uint32_t* x, uint32_t* y, uint32_t* w, uint32_t* h) ; + /* set the buffer attributes */ + status_t setParameter(int param, int value); + /* returns the address of a given buffer if supported, NULL otherwise. */ void* getBufferAddress(overlay_buffer_t buffer); |