summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2016-08-16 01:21:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-08-16 01:21:57 +0000
commitb14543d9d8d3128774fdc745783e58c23d1cb68d (patch)
treecf5ef1a8096d7de840ccae3451e807943d1fe7f3 /core/java
parentf5e51cf7a9417e1c06dbbb9547020c20ff7517f8 (diff)
parent57d9fbd17f32b19a7c5c1ccedcb9cd1428db5986 (diff)
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/WindowManager.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index 1b37ed47c392..eb6b17e08f46 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -1581,6 +1581,15 @@ public interface WindowManager extends ViewManager {
public static final int ROTATION_ANIMATION_JUMPCUT = 2;
/**
+ * Value for {@link #rotationAnimation} to specify seamless rotation mode.
+ * This works like JUMPCUT but will fall back to CROSSFADE if rotation
+ * can't be applied without pausing the screen.
+ *
+ * @hide
+ */
+ public static final int ROTATION_ANIMATION_SEAMLESS = 3;
+
+ /**
* Define the exit and entry animations used on this window when the device is rotated.
* This only has an affect if the incoming and outgoing topmost
* opaque windows have the #FLAG_FULLSCREEN bit set and are not covered