private float calculateLinearOutFasterInY2(float velocity){
  float t=(velocity - mMinVelocityPxPerSecond) / (mHighVelocityPxPerSecond - mMinVelocityPxPerSecond);
  t=Math.max(0,Math.min(1,t));
  return (1 - t) * LINEAR_OUT_FASTER_IN_Y2_MIN + t * LINEAR_OUT_FASTER_IN_Y2_MAX;
}

private float calculateLinearOutFasterInY2 ( float velocity ) { float t = ( velocity - mMinVelocityPxPerSecond ) / ( mHighVelocityPxPerSecond - mMinVelocityPxPerSecond ) ; t = Math . max ( 0 , Math . min ( 1 , t ) ) ; return ( 1 - t ) * LINEAR_OUT_FASTER_IN_Y2_MIN + t * LINEAR_OUT_FASTER_IN_Y2_MAX ; }
calculates the y2 control point for a linear - out - faster - in path interpolator depending on the velocity . the faster the velocity , the more " linear " the interpolator gets .
