diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-01-22 16:30:39 -0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-01-22 16:30:39 -0800 |
commit | ac127dc31bd071ed522f5cd48a910065756c8ded (patch) | |
tree | cfeba59fe0f2680256e38fb95a906e8b3ca5680b /include | |
parent | 7c45147f3537bc777a04545a6f0bc70550df5269 (diff) | |
download | frameworks_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.h | 5 |
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(); |