public static int calculateTranslationAnimationDuration(int distancePx){
  return calculateTranslationAnimationDuration(distancePx,100);
}

public static int calculateTranslationAnimationDuration ( int distancePx ) { return calculateTranslationAnimationDuration ( distancePx , 100 ) ; }
calculates a consistent animation duration ( ms ) for all animations depending on the movement of the object being animated .
