summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-04-19 13:06:53 -0700
committerCraig Mautner <cmautner@google.com>2013-04-19 13:08:47 -0700
commitbdcc9a5811f9a037a3c4145b7469380d2dfe214b (patch)
tree3ae70d801ea90bb80a70d29369ac910d4cd76f0b /core/java/android
parent7f6fc12997d67ae80a044bc0b4cc17797d887911 (diff)
downloadframeworks_base-bdcc9a5811f9a037a3c4145b7469380d2dfe214b.zip
frameworks_base-bdcc9a5811f9a037a3c4145b7469380d2dfe214b.tar.gz
frameworks_base-bdcc9a5811f9a037a3c4145b7469380d2dfe214b.tar.bz2
Improve javadoc for rotationAnimation.
Clarified use of rotationAnimation. Did not add a comment for ROTATION_ANIMATION_CHANGED as that would be inconsistent with the other twelve <parameter>_CHANGED flags that it follows in the source code. Fixes bug 8657715. Change-Id: I03b5caf3d6a93ca0044f58485c94c7a600e835a8
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/WindowManager.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index 48630a4..9c1b7a0 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -1276,10 +1276,11 @@ public interface WindowManager extends ViewManager {
public static final int ROTATION_ANIMATION_JUMPCUT = 2;
/**
- * Define the animation used on this window for entry or exit following
- * a rotation. This only works if the incoming and outgoing topmost
+ * 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
- * by other windows.
+ * by other windows. All other situations default to the
+ * {@link #ROTATION_ANIMATION_ROTATE} behavior.
*
* @see #ROTATION_ANIMATION_ROTATE
* @see #ROTATION_ANIMATION_CROSSFADE
@@ -1364,7 +1365,7 @@ public interface WindowManager extends ViewManager {
/**
* Control special features of the input subsystem.
*
- * @see #INPUT_FEATURE_DISABLE_TOUCH_PAD_GESTURES
+ * @see #INPUT_FEATURE_DISABLE_POINTER_GESTURES
* @see #INPUT_FEATURE_NO_INPUT_CHANNEL
* @see #INPUT_FEATURE_DISABLE_USER_ACTIVITY
* @hide