Searched refs:progressRatio (Results 1 – 2 of 2) sorted by relevance
168 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int in setCurrentTime() local169 mProgressBar.setProgress((int)progressRatio); in setCurrentTime()180 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int in setSecondaryProgress() local181 mProgressBar.setSecondaryProgress((int) progressRatio); in setSecondaryProgress()
498 int progressRatio = 0; in setCurrentPosition() local502 progressRatio = (int) (ratio * Integer.MAX_VALUE); // Could safely cast to int in setCurrentPosition()504 mProgressBar.setProgress((int) progressRatio); in setCurrentPosition()512 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int in setBufferedPosition() local513 mProgressBar.setSecondaryProgress((int) progressRatio); in setBufferedPosition()