diff options
| author | Jamie Gennis <jgennis@google.com> | 2012-10-15 19:52:04 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-15 19:52:05 -0700 |
| commit | 809bb404da66498f1723279542d2a7d1f4512052 (patch) | |
| tree | 732179c3ca4004019fca094e81bd42a234f1cafb /core/java/android/view | |
| parent | 69fbc3c089e3399ebd94cc3a7ba846f426a7b32d (diff) | |
| parent | b6ce6e42cc89864354c7ecb9ae80504a6c9dddcf (diff) | |
| download | frameworks_base-809bb404da66498f1723279542d2a7d1f4512052.zip frameworks_base-809bb404da66498f1723279542d2a7d1f4512052.tar.gz frameworks_base-809bb404da66498f1723279542d2a7d1f4512052.tar.bz2 | |
Merge "Flag window animation transactions as animations." into jb-mr1-dev
Diffstat (limited to 'core/java/android/view')
| -rw-r--r-- | core/java/android/view/Surface.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/Surface.java b/core/java/android/view/Surface.java index 07bb8f9..7ef6939 100644 --- a/core/java/android/view/Surface.java +++ b/core/java/android/view/Surface.java @@ -245,6 +245,7 @@ public class Surface implements Parcelable { private static native void nativeOpenTransaction(); private static native void nativeCloseTransaction(); + private static native void nativeSetAnimationTransaction(); private native void nativeSetLayer(int zorder); private native void nativeSetPosition(float x, float y); @@ -525,6 +526,11 @@ public class Surface implements Parcelable { nativeCloseTransaction(); } + /** flag the transaction as an animation @hide */ + public static void setAnimationTransaction() { + nativeSetAnimationTransaction(); + } + /** @hide */ public void setLayer(int zorder) { nativeSetLayer(zorder); |
