Lines Matching refs:mDuration
44 , mDuration(300)
75 mDuration = duration;
130 : mDuration;
144 mPlayTime = mPlayState == PlayState::Reversing ? 0 : mDuration;
194 // current time - mStartTime = stagingPlayTime (or mDuration -stagingPlayTime in the
200 mStartTime = currentFrameTime - (mDuration - mPlayTime);
232 if (mDuration < 0) {
233 ALOGW("Your duration is strange and confusing: %" PRId64, mDuration);
247 updatePlayTime(mDuration);
266 mPlayTime = mPlayState == PlayState::Reversing ? mDuration - playTime : playTime;
278 if ((mPlayState == PlayState::Running || mPlayState == PlayState::Reversing) && mDuration > 0) {
279 fraction = mPlayTime / (float)mDuration;
286 return playTime >= mDuration;
290 return mPlayState == PlayState::Reversing ? mPlayTime : mDuration - mPlayTime;