Home
last modified time | relevance | path

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

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DZoomControl.java41 private int mMaxProgress, mProgress; field in ZoomControl
63 mMaxProgress = 100; in ZoomControl()
96 mMaxProgress = max; in setMax()
158 progress = (int)((mMaxProgress / 2) - (alpha / mInterval)); in onTouchEvent()
162 progress = (int)((mMaxProgress / 2) - (alpha / mInterval)); in onTouchEvent()
170 progress = (int)(mMaxProgress - ((alpha - MAX_ANGLE) / mInterval)); in onTouchEvent()
236 if (mProgress <= mMaxProgress / 2) { in progressToPosition()
237 beta = ((mMaxProgress / 2) - mProgress) * mInterval; in progressToPosition()
239 beta = ((mMaxProgress - mProgress) * mInterval) + Math.PI + MAX_ANGLE; in progressToPosition()
266 mInterval = (Math.PI - MAX_ANGLE) / (mMaxProgress / 2); in computeInterval()
/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/Camera/src/com/android/camera/
DPanoProgressBar.java33 private float mMaxProgress = 0; field in PanoProgressBar
107 mMaxProgress = progress; in setMaxProgress()
142 mProgress = progress * mWidth / mMaxProgress + mProgressOffset; in setProgress()