Code example for DecelerateInterpolator

 * This class is a container for a Drawable with multiple animated properties. 
public class DrawableHolder implements AnimatorListener {
    public static final DecelerateInterpolator EASE_OUT_INTERPOLATOR = new DecelerateInterpolator();
    private static final String TAG = "DrawableHolder";
    private static final boolean DBG = false;
    private float mX = 0.0f;
    private float mY = 0.0f;
    private float mScaleX = 1.0f;
    private float mScaleY = 1.0f;
    private BitmapDrawable mDrawable;
    private float mAlpha = 1f;
    private ArrayList<ObjectAnimator> mAnimators = new ArrayList<ObjectAnimator>();
    private ArrayList<ObjectAnimator> mNeedToStart = new ArrayList<ObjectAnimator>();
    public DrawableHolder(BitmapDrawable drawable) {
        this(drawable, 0.0f, 0.0f);
Experience pair programming with AI  Get Codota for Java