Searched refs:durationInSeconds (Results 1 – 2 of 2) sorted by relevance
95 int durationInSeconds = (int) (durationInMilliSeconds / 1000); in getDownloadRate() local96 return (mBytesCount / durationInSeconds); in getDownloadRate()
432 final float durationInSeconds = Math.abs(deltaPosition / velocity); in calculateTranslationDuration() local433 return Math.min((int) (durationInSeconds * UNIT_SECONDS), mMaxTranslationAnimationDuration); in calculateTranslationDuration()