setAnimDuration doesn't change the animation duration as there is a hardcoded duration of 1000 set inside setProgressValue. Please update.