private float normalizeTime(int index){
  if (!mIsExiting)   return (float)mCurrentDuration[index] / mDuration;
 else   return 1f - (float)mCurrentDuration[index] / mDuration;
}

private float normalizeTime ( int index ) { if ( ! mIsExiting ) return ( float ) mCurrentDuration [ index ] / mDuration ; else return 1f - ( float ) mCurrentDuration [ index ] / mDuration ; }
normalize time to a 0 - 1 relation .
