summaryrefslogtreecommitdiffstats
path: root/include/ui/DisplayInfo.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-01-02 16:37:43 -0800
committerJeff Brown <jeffbrown@google.com>2011-01-04 17:31:24 -0800
commit41250361577ce85d30b29ef530cfb7bea7d0604d (patch)
treeb0e3b03f4c7a311ec7a5747da70b7071815c68fb /include/ui/DisplayInfo.h
parentd95aaf398224fb547d00231836583cfb4c5cebc1 (diff)
downloadframeworks_native-41250361577ce85d30b29ef530cfb7bea7d0604d.zip
frameworks_native-41250361577ce85d30b29ef530cfb7bea7d0604d.tar.gz
frameworks_native-41250361577ce85d30b29ef530cfb7bea7d0604d.tar.bz2
Mouse pointer integration.
Added support for loading the pointer icon from a resource. Moved the system server related bits of the input manager out of libui and into libinput since they do not need to be linked into applications. Change-Id: Iec11e0725b3add2b905c51f8ea2c3b4b0d1a2d67
Diffstat (limited to 'include/ui/DisplayInfo.h')
-rw-r--r--include/ui/DisplayInfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h
index c419efe..edd28a6 100644
--- a/include/ui/DisplayInfo.h
+++ b/include/ui/DisplayInfo.h
@@ -37,6 +37,15 @@ struct DisplayInfo {
float ydpi;
};
+/* Display orientations as defined in Surface.java and ISurfaceComposer.h. */
+enum {
+ DISPLAY_ORIENTATION_0 = 0,
+ DISPLAY_ORIENTATION_90 = 1,
+ DISPLAY_ORIENTATION_180 = 2,
+ DISPLAY_ORIENTATION_270 = 3
+};
+
+
}; // namespace android
#endif // ANDROID_COMPOSER_DISPLAY_INFO_H