From bdcc9a5811f9a037a3c4145b7469380d2dfe214b Mon Sep 17 00:00:00 2001 From: Craig Mautner Date: Fri, 19 Apr 2013 13:06:53 -0700 Subject: 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 _CHANGED flags that it follows in the source code. Fixes bug 8657715. Change-Id: I03b5caf3d6a93ca0044f58485c94c7a600e835a8 --- core/java/android/view/WindowManager.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/java/android') 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 -- cgit v1.1