summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-01-22 18:08:23 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-01-22 18:08:23 -0800
commit703111327eac2f3228de1f165d23fa3bf86120ba (patch)
tree19b9bca89dc6aa5a4ed43b73a9d5ba35335d3e91 /include/ui
parent18b0997a7b743b57bbd22045ecc2ffb8d4a95db7 (diff)
parent5994a330ac949e7706540f22cd73d76d9f2a96cb (diff)
downloadframeworks_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.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();