Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -29583,6 +29583,7 @@ package android.widget { public class ViewAnimator extends android.widget.FrameLayout { ctor public ViewAnimator(android.content.Context); ctor public ViewAnimator(android.content.Context, android.util.AttributeSet); method public boolean getAnimateFirstView(); method public android.view.View getCurrentView(); method public int getDisplayedChild(); method public android.view.animation.Animation getInAnimation(); core/java/android/widget/ViewAnimator.java +14 −1 Original line number Diff line number Diff line Loading @@ -328,9 +328,22 @@ public class ViewAnimator extends FrameLayout { setOutAnimation(AnimationUtils.loadAnimation(context, resourceID)); } /** * Returns whether the current View should be animated the first time the ViewAnimator * is displayed. * * @return true if the current View will be animated the first time it is displayed, * false otherwise. * * @see #setAnimateFirstView(boolean) */ public boolean getAnimateFirstView() { return mAnimateFirstTime; } /** * Indicates whether the current View should be animated the first time * the ViewAnimation is displayed. * the ViewAnimator is displayed. * * @param animate True to animate the current View the first time it is displayed, * false otherwise. Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -29583,6 +29583,7 @@ package android.widget { public class ViewAnimator extends android.widget.FrameLayout { ctor public ViewAnimator(android.content.Context); ctor public ViewAnimator(android.content.Context, android.util.AttributeSet); method public boolean getAnimateFirstView(); method public android.view.View getCurrentView(); method public int getDisplayedChild(); method public android.view.animation.Animation getInAnimation();
core/java/android/widget/ViewAnimator.java +14 −1 Original line number Diff line number Diff line Loading @@ -328,9 +328,22 @@ public class ViewAnimator extends FrameLayout { setOutAnimation(AnimationUtils.loadAnimation(context, resourceID)); } /** * Returns whether the current View should be animated the first time the ViewAnimator * is displayed. * * @return true if the current View will be animated the first time it is displayed, * false otherwise. * * @see #setAnimateFirstView(boolean) */ public boolean getAnimateFirstView() { return mAnimateFirstTime; } /** * Indicates whether the current View should be animated the first time * the ViewAnimation is displayed. * the ViewAnimator is displayed. * * @param animate True to animate the current View the first time it is displayed, * false otherwise. Loading