Home
last modified time | relevance | path

Searched refs:mMaxProgress (Results 1 – 5 of 5) 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiSeekBarDialogPreference.java57 private int mMaxProgress = 100; field in CarUiSeekBarDialogPreference
113 setMaxProgress(mMaxProgress); in onBindDialogView()
266 return mMaxProgress; in getMaxProgress()
274 mMaxProgress = maxProgress; in setMaxProgress()
/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()
/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()