Searched refs:mMaxProgress (Results 1 – 4 of 4) sorted by relevance
31 private final long mMaxProgress; field in PlaybackProgress35 mMaxProgress = maxProgress; in PlaybackProgress()49 return mMaxProgress; in getMaxProgress()56 boolean showHours = TimeUnit.MILLISECONDS.toHours(mMaxProgress) > 0; in getCurrentTimeText()64 boolean showHours = TimeUnit.MILLISECONDS.toHours(mMaxProgress) > 0; in getMaxTimeText()65 return formatTime(mMaxProgress, showHours); in getMaxTimeText()72 return mMaxProgress > 0 && mProgress != PlaybackState.PLAYBACK_POSITION_UNKNOWN; in hasTime()
56 private final long mMaxProgress; field in ProgressLiveData69 mMaxProgress = maxProgress; in ProgressLiveData()74 setValue(new PlaybackProgress(getProgress(), mMaxProgress)); in updateProgress()92 return Math.min(posDiff + mPlaybackState.getPosition(), mMaxProgress); in getProgress()
35 private float mMaxProgress = 0; field in PanoProgressBar109 mMaxProgress = progress; in setMaxProgress()144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()
32 private float mMaxProgress = 0; field in PanoProgressBar104 mMaxProgress = progress; in setMaxProgress()139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()