Home
last modified time | relevance | path

Searched refs:mMaxProgress (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackProgress.java31 private final long mMaxProgress; field in PlaybackProgress
35 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()
DProgressLiveData.java56 private final long mMaxProgress; field in ProgressLiveData
69 mMaxProgress = maxProgress; in ProgressLiveData()
74 setValue(new PlaybackProgress(getProgress(), mMaxProgress)); in updateProgress()
92 return Math.min(posDiff + mPlaybackState.getPosition(), mMaxProgress); in getProgress()
/packages/apps/Camera2/src/com/android/camera/
DPanoProgressBar.java35 private float mMaxProgress = 0; field in PanoProgressBar
109 mMaxProgress = progress; in setMaxProgress()
144 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java32 private float mMaxProgress = 0; field in PanoProgressBar
104 mMaxProgress = progress; in setMaxProgress()
139 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()