private void calculateAnimationProportions ( ) { TRANSLATION_Y = sHeight * buttonDistanceY ; TRANSLATION_X = sWidth * buttonDistanceX ; anticipation = new AnticipateInterpolator ( INTERPOLATOR_WEIGHT ) ; overshoot = new OvershootInterpolator ( INTERPOLATOR_WEIGHT ) ; }
Initialized animation properties