FileDocCategorySizeDatePackage
ViewPropertyAnimatorCompatICS.javaAPI DocAndroid 5.1 API4466Thu Mar 12 22:22:56 GMT 2015android.support.v4.view

ViewPropertyAnimatorCompatICS

public class ViewPropertyAnimatorCompatICS extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidalpha(android.view.View view, float value)

        view.animate().alpha(value);
    
public static voidalphaBy(android.view.View view, float value)

        view.animate().alphaBy(value);
    
public static voidcancel(android.view.View view)

        view.animate().cancel();
    
public static longgetDuration(android.view.View view)

        return view.animate().getDuration();
    
public static longgetStartDelay(android.view.View view)

        return view.animate().getStartDelay();
    
public static voidrotation(android.view.View view, float value)

        view.animate().rotation(value);
    
public static voidrotationBy(android.view.View view, float value)

        view.animate().rotationBy(value);
    
public static voidrotationX(android.view.View view, float value)

        view.animate().rotationX(value);
    
public static voidrotationXBy(android.view.View view, float value)

        view.animate().rotationXBy(value);
    
public static voidrotationY(android.view.View view, float value)

        view.animate().rotationY(value);
    
public static voidrotationYBy(android.view.View view, float value)

        view.animate().rotationYBy(value);
    
public static voidscaleX(android.view.View view, float value)

        view.animate().scaleX(value);
    
public static voidscaleXBy(android.view.View view, float value)

        view.animate().scaleXBy(value);
    
public static voidscaleY(android.view.View view, float value)

        view.animate().scaleY(value);
    
public static voidscaleYBy(android.view.View view, float value)

        view.animate().scaleYBy(value);
    
public static voidsetDuration(android.view.View view, long value)

        view.animate().setDuration(value);
    
public static voidsetInterpolator(android.view.View view, android.view.animation.Interpolator value)

        view.animate().setInterpolator(value);
    
public static voidsetListener(android.view.View view, ViewPropertyAnimatorListener listener)

        if (listener != null) {
            view.animate().setListener(new AnimatorListenerAdapter() {
                @Override
                public void onAnimationCancel(Animator animation) {
                    listener.onAnimationCancel(view);
                }

                @Override
                public void onAnimationEnd(Animator animation) {
                    listener.onAnimationEnd(view);
                }

                @Override
                public void onAnimationStart(Animator animation) {
                    listener.onAnimationStart(view);
                }
            });
        } else {
            view.animate().setListener(null);
        }
    
public static voidsetStartDelay(android.view.View view, long value)

        view.animate().setStartDelay(value);
    
public static voidstart(android.view.View view)

        view.animate().start();
    
public static voidtranslationX(android.view.View view, float value)

        view.animate().translationX(value);
    
public static voidtranslationXBy(android.view.View view, float value)

        view.animate().translationXBy(value);
    
public static voidtranslationY(android.view.View view, float value)

        view.animate().translationY(value);
    
public static voidtranslationYBy(android.view.View view, float value)

        view.animate().translationYBy(value);
    
public static voidx(android.view.View view, float value)

        view.animate().x(value);
    
public static voidxBy(android.view.View view, float value)

        view.animate().xBy(value);
    
public static voidy(android.view.View view, float value)

        view.animate().y(value);
    
public static voidyBy(android.view.View view, float value)

        view.animate().yBy(value);