summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-01-22 16:30:39 -0800
committerChih-Chung Chang <chihchung@google.com>2010-01-22 16:30:39 -0800
commitac127dc31bd071ed522f5cd48a910065756c8ded (patch)
treecfeba59fe0f2680256e38fb95a906e8b3ca5680b /include
parent7c45147f3537bc777a04545a6f0bc70550df5269 (diff)
downloadframeworks_base-ac127dc31bd071ed522f5cd48a910065756c8ded.zip
frameworks_base-ac127dc31bd071ed522f5cd48a910065756c8ded.tar.gz
frameworks_base-ac127dc31bd071ed522f5cd48a910065756c8ded.tar.bz2
Add support for 180/270 degrees rotation.
Diffstat (limited to 'include')
-rw-r--r--include/ui/ISurface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ui/ISurface.h b/include/ui/ISurface.h
index b37a8ac..c7f181c 100644
--- a/include/ui/ISurface.h
+++ b/include/ui/ISurface.h
@@ -55,8 +55,11 @@ public:
class BufferHeap {
public:
enum {
- /* rotate source image 90 degrees */
+ /* rotate source image */
+ ROT_0 = 0,
ROT_90 = HAL_TRANSFORM_ROT_90,
+ ROT_180 = HAL_TRANSFORM_ROT_180,
+ ROT_270 = HAL_TRANSFORM_ROT_270,
};
BufferHeap();