Loading api/current.xml +25 −1 Original line number Diff line number Diff line Loading @@ -233470,6 +233470,17 @@ visibility="protected" > </method> <method name="getBackgroundColor" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getDetachWallpaper" return="boolean" abstract="false" Loading Loading @@ -233755,6 +233766,19 @@ <parameter name="listener" type="android.view.animation.Animation.AnimationListener"> </parameter> </method> <method name="setBackgroundColor" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="bg" type="int"> </parameter> </method> <method name="setDetachWallpaper" return="void" abstract="false" Loading Loading @@ -266669,7 +266693,7 @@ deprecated="not deprecated" visibility="public" > <parameter name="t" type="T"> <parameter name="arg0" type="T"> </parameter> </method> </interface> core/java/android/view/animation/Animation.java +24 −0 Original line number Diff line number Diff line Loading @@ -180,6 +180,11 @@ public abstract class Animation implements Cloneable { */ private int mZAdjustment; /** * Desired background color behind animation. */ private int mBackgroundColor; /** * scalefactor to apply to pivot points, etc. during animation. Subclasses retrieve the * value via getScaleFactor(). Loading Loading @@ -236,6 +241,8 @@ public abstract class Animation implements Cloneable { setZAdjustment(a.getInt(com.android.internal.R.styleable.Animation_zAdjustment, ZORDER_NORMAL)); setBackgroundColor(a.getInt(com.android.internal.R.styleable.Animation_background, 0)); setDetachWallpaper(a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); ensureInterpolator(); Loading Loading @@ -567,6 +574,16 @@ public abstract class Animation implements Cloneable { mZAdjustment = zAdjustment; } /** * Set background behind animation. * * @param bg The background color. If 0, no background. Currently must * be black, with any desired alpha level. */ public void setBackgroundColor(int bg) { mBackgroundColor = bg; } /** * The scale factor is set by the call to <code>getTransformation</code>. Overrides of * {@link #getTransformation(long, Transformation, float)} will get this value Loading Loading @@ -689,6 +706,13 @@ public abstract class Animation implements Cloneable { return mZAdjustment; } /** * Returns the background color behind the animation. */ public int getBackgroundColor() { return mBackgroundColor; } /** * Return value of {@link #setDetachWallpaper(boolean)}. * @attr ref android.R.styleable#Animation_detachWallpaper Loading core/res/res/anim/task_close_enter.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale="0.95" android:toYScale="1.0" android:pivotX="50%p" android:pivotY="50%p" Loading core/res/res/anim/task_close_exit.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale="1.0" android:toYScale="0.0" android:pivotX="50%p" android:pivotY="50%p" Loading core/res/res/anim/task_open_enter.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale=".9" android:toYScale="1.0" android:pivotX="50%p" android:pivotY="50%p" Loading Loading
api/current.xml +25 −1 Original line number Diff line number Diff line Loading @@ -233470,6 +233470,17 @@ visibility="protected" > </method> <method name="getBackgroundColor" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getDetachWallpaper" return="boolean" abstract="false" Loading Loading @@ -233755,6 +233766,19 @@ <parameter name="listener" type="android.view.animation.Animation.AnimationListener"> </parameter> </method> <method name="setBackgroundColor" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="bg" type="int"> </parameter> </method> <method name="setDetachWallpaper" return="void" abstract="false" Loading Loading @@ -266669,7 +266693,7 @@ deprecated="not deprecated" visibility="public" > <parameter name="t" type="T"> <parameter name="arg0" type="T"> </parameter> </method> </interface>
core/java/android/view/animation/Animation.java +24 −0 Original line number Diff line number Diff line Loading @@ -180,6 +180,11 @@ public abstract class Animation implements Cloneable { */ private int mZAdjustment; /** * Desired background color behind animation. */ private int mBackgroundColor; /** * scalefactor to apply to pivot points, etc. during animation. Subclasses retrieve the * value via getScaleFactor(). Loading Loading @@ -236,6 +241,8 @@ public abstract class Animation implements Cloneable { setZAdjustment(a.getInt(com.android.internal.R.styleable.Animation_zAdjustment, ZORDER_NORMAL)); setBackgroundColor(a.getInt(com.android.internal.R.styleable.Animation_background, 0)); setDetachWallpaper(a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)); ensureInterpolator(); Loading Loading @@ -567,6 +574,16 @@ public abstract class Animation implements Cloneable { mZAdjustment = zAdjustment; } /** * Set background behind animation. * * @param bg The background color. If 0, no background. Currently must * be black, with any desired alpha level. */ public void setBackgroundColor(int bg) { mBackgroundColor = bg; } /** * The scale factor is set by the call to <code>getTransformation</code>. Overrides of * {@link #getTransformation(long, Transformation, float)} will get this value Loading Loading @@ -689,6 +706,13 @@ public abstract class Animation implements Cloneable { return mZAdjustment; } /** * Returns the background color behind the animation. */ public int getBackgroundColor() { return mBackgroundColor; } /** * Return value of {@link #setDetachWallpaper(boolean)}. * @attr ref android.R.styleable#Animation_detachWallpaper Loading
core/res/res/anim/task_close_enter.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale="0.95" android:toYScale="1.0" android:pivotX="50%p" android:pivotY="50%p" Loading
core/res/res/anim/task_close_exit.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale="1.0" android:toYScale="0.0" android:pivotX="50%p" android:pivotY="50%p" Loading
core/res/res/anim/task_open_enter.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:detachWallpaper="true" android:shareInterpolator="false"> android:background="#ff000000" android:shareInterpolator="false"> <scale android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale=".9" android:toYScale="1.0" android:pivotX="50%p" android:pivotY="50%p" Loading