public void setValue ( float value , boolean animation ) { value = Math . min ( mMaxValue , Math . max ( value , mMinValue ) ) ; setPosition ( ( value - mMinValue ) / ( mMaxValue - mMinValue ) , animation ) ; }
Set the selected value of this Slider .