title: How to apply easing animation function on view in Android
body: <p>I want to apply a translate <code>animation</code> on an Android <code>view</code> (button) using a custom <code>interpolator</code> where the easing function is:</p>
  
  <pre><code>public static float easeOut(float t,float b , float c, float d) {
      if ((t/=d) &lt; (1/2.75f)) {
         return c*(7.5625f*t*t) + b;
      } else if (t &lt; (2/2.75f)) {
         return c*(7.5625f*(t-=(1.5f/2.75f))*t + .75f) + b;
      } else if (t &lt; (2.5/2.75)) {
         return c*(7.5625f*(t-=(2.25f/2.75f))*t + .9375f) + b;
      } else {
         return c*(7.5625f*(t-=(2.625f/2.75f))*t + .984375f) + b;
      }
  }
  </code></pre>
  
  <p>I have an example that uses the custom interpolator like this: </p>
  
  <p>The interpolator is: </p>
  
  <pre><code>public class HesitateInterpolator implements Interpolator {
      public HesitateInterpolator() {
      }
  
      public float getInterpolation(float t) {
          float x = 2.0f * t - 1.0f;
          return 0.5f * (x * x * x + 1.0f);
      }
  }
  </code></pre>
  
  <p>and is used like this:</p>
  
  <pre><code>ScaleAnimation anim = new ScaleAnimation(0.0f, 1.0f, 0.0f, 1.0f);
  anim.setInterpolator(new HesitateInterpolator());
  </code></pre>
  
  <p>My question is: 
  What are these values <code>b</code>, <code>c</code>, <code>d</code> for?</p>