diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-01-22 18:08:23 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-22 18:08:23 -0800 |
commit | 703111327eac2f3228de1f165d23fa3bf86120ba (patch) | |
tree | 19b9bca89dc6aa5a4ed43b73a9d5ba35335d3e91 /include/ui | |
parent | 18b0997a7b743b57bbd22045ecc2ffb8d4a95db7 (diff) | |
parent | 5994a330ac949e7706540f22cd73d76d9f2a96cb (diff) | |
download | frameworks_native-703111327eac2f3228de1f165d23fa3bf86120ba.zip frameworks_native-703111327eac2f3228de1f165d23fa3bf86120ba.tar.gz frameworks_native-703111327eac2f3228de1f165d23fa3bf86120ba.tar.bz2 |
Merge "Add support for 180/270 degrees rotation."
Diffstat (limited to 'include/ui')
-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(); |