summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-07-07 11:47:35 -0700
committerRiley Andrews <riandrews@google.com>2014-07-28 22:04:06 +0000
commit68eccdade2aad22b7eb34a28572c204dcd54f7b9 (patch)
tree9e967e1283ee29ddfe54864d2e43c593b52cded9 /core/java
parent03cab4cbe696cf6c5cfe58934c5aaf1c5533a2c5 (diff)
Add cursor flags into SpriteController to suppor async cursor updates.
- This is fairly blindly taken from nvidia's implementation. Change-Id: I825ecbd9cb4b394793dce079591b37efca546bbe
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/SurfaceControl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java
index bd46d0783837..191ad64cc8e8 100644
--- a/core/java/android/view/SurfaceControl.java
+++ b/core/java/android/view/SurfaceControl.java
@@ -157,6 +157,11 @@ public class SurfaceControl {
// 0x1000 is reserved for an independent DRM protected flag in framework
/**
+ * Surface creation flag: Window represents a cursor glyph.
+ */
+ public static final int CURSOR_WINDOW = 0x00002000;
+
+ /**
* Surface creation flag: Creates a normal surface.
* This is the default.
*