Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DZoomController.java118 private float mMinZoomRatio; field in ZoomController
262 mMinZoomRatio = zoomRatioRange.getLower(); in setSupportedZoomRatioRange()
267 mDefaultLowStickyZoomRatio = mMinZoomRatio; in setSupportedZoomRatioRange()
271 if (mMinZoomRatio < 0.95f && mMaxZoomRatio >= 2.05f) { in setSupportedZoomRatioRange()
322 mCurrentLowStickyZoomRatio = roundZoomRatio(mMinZoomRatio); in updateToggleOptionValues()
327 mCurrentLowStickyZoomRatio = roundZoomRatio(mMinZoomRatio); in updateToggleOptionValues()
393 Math.max(mMinZoomRatio, Math.min(zoomRatio, mMaxZoomRatio))); in setZoomRatioInternal()
611 + (mMaxZoomRatio - mMinZoomRatio) * (event.getX() - mPreviousXPosition) in updateSeekBarProgressByMotionEvent()
613 zoomRatio = Math.max(mMinZoomRatio, Math.min(zoomRatio, mMaxZoomRatio)); in updateSeekBarProgressByMotionEvent()
639 mMinZoomRatio + (mMaxZoomRatio - mMinZoomRatio) * progress / MAX_ZOOM_PROGRESS); in convertProgressToZoomRatio()
[all …]