private void initializeSweepAnimator ( ) { sweepAnimator = ObjectAnimator . ofFloat ( this , createSweepProperty ( ) , MAX_DEGREES - MIN_SWEEP_ANGLE * 2 ) ; sweepAnimator . setInterpolator ( new DecelerateInterpolator ( ) ) ; sweepAnimator . setDuration ( SWEEP_ANIMATION_DURATION ) ; sweepAnimator . setRepeatMode ( ValueAnimator . RESTART ) ; sweepAnimator . setRepeatCount ( ValueAnimator . INFINITE ) ; sweepAnimator . addListener ( createSweepAnimatorListener ( ) ) ; }
Initializes the sweep animator .