Home
last modified time | relevance | path

Searched refs:mCurrentRatio (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java294 private float mCurrentRatio; field in PreviewOverlay.ZoomProcessor
323 mCurrentRatio = ratio; in setZoom()
351 float fillRatio = (mCurrentRatio - mMinRatio) / (mMaxRatio - mMinRatio); in draw()
366 mCurrentRatio = (0.33f + mCurrentRatio) * sf * sf - 0.33f; in onScale()
367 if (mCurrentRatio < mMinRatio) { in onScale()
368 mCurrentRatio = mMinRatio; in onScale()
370 if (mCurrentRatio > mMaxRatio) { in onScale()
371 mCurrentRatio = mMaxRatio; in onScale()
382 mZoomListener.onZoomValueChanged(mCurrentRatio); in onScale()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java1245 return mFilmRatio.mCurrentRatio; in getFilmRatio()
1790 public float mCurrentRatio, mFromRatio, mToRatio; field in PositionController.FilmRatio
1802 mFromRatio = mCurrentRatio; in doAnimation()
1813 mCurrentRatio = mToRatio; in interpolate()
1816 mCurrentRatio = mFromRatio + progress * (mToRatio - mFromRatio); in interpolate()
1817 return (mCurrentRatio == mToRatio); in interpolate()