summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-30 14:37:48 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-30 14:37:48 -0700
commite7f03253f915fea0672710899b7a4284bebd5124 (patch)
tree6ec2430c2fad115cc62ec64100f4861cc9a51f33 /include
parentb995b21d67cae4580ca0a01d8e5bea03bb1cfa6c (diff)
parent4ccee716f8c3b81deda211e51f6c82493302647f (diff)
downloadframeworks_base-e7f03253f915fea0672710899b7a4284bebd5124.zip
frameworks_base-e7f03253f915fea0672710899b7a4284bebd5124.tar.gz
frameworks_base-e7f03253f915fea0672710899b7a4284bebd5124.tar.bz2
Merge change 9070
* changes: Adding resizeInput and setAttributes for overlay
Diffstat (limited to 'include')
-rw-r--r--include/ui/Overlay.h6
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);