Loading core/java/android/view/animation/Animation.java +28 −1 Original line number Diff line number Diff line Loading @@ -206,6 +206,8 @@ public abstract class Animation implements Cloneable { */ private boolean mDetachWallpaper = false; private boolean mShowWallpaper; private boolean mMore = true; private boolean mOneMoreTime = true; Loading Loading @@ -253,7 +255,10 @@ public abstract class Animation implements Cloneable { setBackgroundColor(a.getInt(com.android.internal.R.styleable.Animation_background, 0)); setDetachWallpaper(a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); setDetachWallpaper( a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); setShowWallpaper( a.getBoolean(com.android.internal.R.styleable.Animation_showWallpaper, false)); final int resID = a.getResourceId(com.android.internal.R.styleable.Animation_interpolator, 0); Loading Loading @@ -660,6 +665,18 @@ public abstract class Animation implements Cloneable { mDetachWallpaper = detachWallpaper; } /** * If this animation is run as a window animation, this will make the wallpaper visible behind * the animation. * * @param showWallpaper Whether the wallpaper should be shown during the animation. * @attr ref android.R.styleable#Animation_detachWallpaper * @hide */ public void setShowWallpaper(boolean showWallpaper) { mShowWallpaper = showWallpaper; } /** * Gets the acceleration curve type for this animation. * Loading Loading @@ -774,6 +791,16 @@ public abstract class Animation implements Cloneable { return mDetachWallpaper; } /** * @return If run as a window animation, returns whether the wallpaper will be shown behind * during the animation. * @attr ref android.R.styleable#Animation_showWallpaper * @hide */ public boolean getShowWallpaper() { return mShowWallpaper; } /** * <p>Indicates whether or not this animation will affect the transformation * matrix. For instance, a fade animation will not affect the matrix whereas Loading core/res/res/anim/task_close_enter.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading core/res/res/anim/task_close_exit.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> android:shareInterpolator="false" android:showWallpaper="true"> <alpha android:fromAlpha="1.0" Loading core/res/res/anim/task_open_enter.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ <!-- This should in sync with cross_profile_apps_thumbnail_enter.xml --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading core/res/res/anim/task_open_enter_cross_profile_apps.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ <!-- This should in sync with task_open_enter.xml --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading Loading
core/java/android/view/animation/Animation.java +28 −1 Original line number Diff line number Diff line Loading @@ -206,6 +206,8 @@ public abstract class Animation implements Cloneable { */ private boolean mDetachWallpaper = false; private boolean mShowWallpaper; private boolean mMore = true; private boolean mOneMoreTime = true; Loading Loading @@ -253,7 +255,10 @@ public abstract class Animation implements Cloneable { setBackgroundColor(a.getInt(com.android.internal.R.styleable.Animation_background, 0)); setDetachWallpaper(a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); setDetachWallpaper( a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); setShowWallpaper( a.getBoolean(com.android.internal.R.styleable.Animation_showWallpaper, false)); final int resID = a.getResourceId(com.android.internal.R.styleable.Animation_interpolator, 0); Loading Loading @@ -660,6 +665,18 @@ public abstract class Animation implements Cloneable { mDetachWallpaper = detachWallpaper; } /** * If this animation is run as a window animation, this will make the wallpaper visible behind * the animation. * * @param showWallpaper Whether the wallpaper should be shown during the animation. * @attr ref android.R.styleable#Animation_detachWallpaper * @hide */ public void setShowWallpaper(boolean showWallpaper) { mShowWallpaper = showWallpaper; } /** * Gets the acceleration curve type for this animation. * Loading Loading @@ -774,6 +791,16 @@ public abstract class Animation implements Cloneable { return mDetachWallpaper; } /** * @return If run as a window animation, returns whether the wallpaper will be shown behind * during the animation. * @attr ref android.R.styleable#Animation_showWallpaper * @hide */ public boolean getShowWallpaper() { return mShowWallpaper; } /** * <p>Indicates whether or not this animation will affect the transformation * matrix. For instance, a fade animation will not affect the matrix whereas Loading
core/res/res/anim/task_close_enter.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading
core/res/res/anim/task_close_exit.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> android:shareInterpolator="false" android:showWallpaper="true"> <alpha android:fromAlpha="1.0" Loading
core/res/res/anim/task_open_enter.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ <!-- This should in sync with cross_profile_apps_thumbnail_enter.xml --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading
core/res/res/anim/task_open_enter_cross_profile_apps.xml +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ <!-- This should in sync with task_open_enter.xml --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" android:zAdjustment="top"> android:zAdjustment="top" android:showWallpaper="true"> <alpha android:fromAlpha="1" Loading