summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/Surface.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-08-02 14:30:30 -0700
committerCraig Mautner <cmautner@google.com>2012-08-02 14:30:30 -0700
commit9de4936c99b979f6010440b043edc6d6142d1980 (patch)
treed8a17234255275c282eb3cf6cd9be3018e1c8816 /core/java/android/view/Surface.java
parent2a642a450a07dfdb94d897ef06d2348855dcc431 (diff)
downloadframeworks_base-9de4936c99b979f6010440b043edc6d6142d1980.zip
frameworks_base-9de4936c99b979f6010440b043edc6d6142d1980.tar.gz
frameworks_base-9de4936c99b979f6010440b043edc6d6142d1980.tar.bz2
Add features to DisplayManager.
Added Surface.setDisplayId(). Added callbacks to DisplayManagerService. Change-Id: Idd3f85f8ca1f1208962f1196efd6a3ab51c8c259
Diffstat (limited to 'core/java/android/view/Surface.java')
-rw-r--r--core/java/android/view/Surface.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/view/Surface.java b/core/java/android/view/Surface.java
index abab268..5f5d1f2 100644
--- a/core/java/android/view/Surface.java
+++ b/core/java/android/view/Surface.java
@@ -469,6 +469,8 @@ public class Surface implements Parcelable {
public native void setFlags(int flags, int mask);
/** @hide */
public native void setWindowCrop(Rect crop);
+ /** @hide */
+ public native void setDisplayId(int displayId);