summaryrefslogtreecommitdiffstats
path: root/libs/ui
diff options
context:
space:
mode:
authorBenny Wong <Benny.Wong@motorola.com>2009-07-24 19:25:30 -0500
committerRebecca Schultz Zavin <rebecca@android.com>2009-07-29 17:53:38 -0700
commit4ccee716f8c3b81deda211e51f6c82493302647f (patch)
tree9ad0bedc766c26d45b891c9867eebe885220b26b /libs/ui
parentafa7d85b43c6c2058cbde61ff287ff5776d76d2a (diff)
downloadframeworks_base-4ccee716f8c3b81deda211e51f6c82493302647f.zip
frameworks_base-4ccee716f8c3b81deda211e51f6c82493302647f.tar.gz
frameworks_base-4ccee716f8c3b81deda211e51f6c82493302647f.tar.bz2
Adding resizeInput and setAttributes for overlay
Diffstat (limited to 'libs/ui')
-rw-r--r--libs/ui/Overlay.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ui/Overlay.cpp b/libs/ui/Overlay.cpp
index 4854d6a..3aa8950 100644
--- a/libs/ui/Overlay.cpp
+++ b/libs/ui/Overlay.cpp
@@ -59,6 +59,18 @@ status_t Overlay::queueBuffer(overlay_buffer_t buffer)
return mOverlayData->queueBuffer(mOverlayData, buffer);
}
+status_t Overlay::resizeInput(uint32_t width, uint32_t height)
+{
+ if (mStatus != NO_ERROR) return mStatus;
+ return mOverlayData->resizeInput(mOverlayData, width, height);
+}
+
+status_t Overlay::setParameter(int param, int value)
+{
+ if (mStatus != NO_ERROR) return mStatus;
+ return mOverlayData->setParameter(mOverlayData, param, value);
+}
+
status_t Overlay::setCrop(uint32_t x, uint32_t y, uint32_t w, uint32_t h)
{
if (mStatus != NO_ERROR) return mStatus;