Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DMotionEventToZoomRatioConverter.java35 private float mCurrentZoomRatio = 1.0F; field in MotionEventToZoomRatioConverter
62 mCurrentZoomRatio = currentZoomRatio; in MotionEventToZoomRatioConverter()
79 mCurrentZoomRatio = zoomRatio; in setZoomRatio()
86 mCurrentZoomRatio = currZoomRatio; in reset()
91 mCurrentZoomRatio = Math.max(mZoomRatioRange.getLower(), in getAndUpdateScaledZoomRatio()
92 Math.min(mZoomRatioRange.getUpper(), mCurrentZoomRatio * scaleFactor)); in getAndUpdateScaledZoomRatio()
93 return mCurrentZoomRatio; in getAndUpdateScaledZoomRatio()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DZoomController.java126 private float mCurrentZoomRatio; field in ZoomController
264 mCurrentZoomRatio = 1.0f; in setSupportedZoomRatioRange()
314 if (mCurrentZoomRatio < (mDefaultMiddleStickyZoomRatio - 0.05f)) { in updateToggleOptionValues()
316 mCurrentLowStickyZoomRatio = mCurrentZoomRatio; in updateToggleOptionValues()
319 } else if (mCurrentZoomRatio >= (mDefaultMiddleStickyZoomRatio - 0.05f) in updateToggleOptionValues()
320 && mCurrentZoomRatio < (mDefaultHighStickyZoomRatio - 0.05f)) { in updateToggleOptionValues()
323 mCurrentMiddleStickyZoomRatio = mCurrentZoomRatio; in updateToggleOptionValues()
329 mCurrentHighStickyZoomRatio = mCurrentZoomRatio; in updateToggleOptionValues()
336 if (mCurrentZoomRatio < (mDefaultHighStickyZoomRatio - 0.05f)) { in updateToggleOptionValues()
338 mCurrentLowStickyZoomRatio = mCurrentZoomRatio; in updateToggleOptionValues()
[all …]