Code example for DecelerateInterpolator

0
 * https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_XOgcRukSoKKjewFJZrKV0. 
 */ 
public class SquashAndStretch extends Activity {
 
    private static final AccelerateInterpolator sAccelerator = new AccelerateInterpolator();
    private static final DecelerateInterpolator sDecelerator = new DecelerateInterpolator();
 
    ViewGroup mContainer = null;
    private static final long BASE_DURATION = 300;
    private long sAnimatorScale = 1;
     
    @Override 
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
         
        mContainer = (ViewGroup) findViewById(R.id.container);
    } 
 
    @Override 
    public boolean onCreateOptionsMenu(Menu menu) {