Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControl.java59 protected int mZoomMax, mZoomIndex; field in ZoomControl
112 mZoomMax = zoomMax; in setZoomMax()
128 if (index < 0 || index > mZoomMax) { in setZoomIndex()
140 return (mZoomIndex == mZoomMax) ? false : changeZoomIndex(mZoomIndex + mStep); in zoomIn()
181 mHandler.postDelayed(mRunnable, ZOOMING_INTERVAL / mZoomMax); in performZoom()
187 int index = (int) (mZoomMax * zoomPercentage); in performZoom()
196 if (((zoomType == ZOOM_IN) && (mZoomIndex != mZoomMax)) || in changeZoomIndex()
201 if (index > mZoomMax) index = mZoomMax; in changeZoomIndex()
DZoomControlBar.java127 if (mZoomMax == 0) return; in onLayout()
137 sliderPosition = (int) ((double) mSliderLength * mZoomIndex / mZoomMax); in onLayout()
DZoomControlWheel.java155 if (mZoomMax == 0) return Math.PI; in getZoomIndexAngle()
157 (MAX_SLIDER_ANGLE - MIN_SLIDER_ANGLE) * mZoomIndex / mZoomMax); in getZoomIndexAngle()
/packages/apps/Camera2/src/com/android/camera/
DVideoUI.java57 private float mZoomMax; field in VideoUI
195 mZoomMax = capabilities.getMaxZoomRatio(); in initializeZoom()
199 mPreviewOverlay.setupZoom(mZoomMax, settings.getCurrentZoomRatio(), in initializeZoom()
DPhotoUI.java65 private float mZoomMax; field in PhotoUI
326 mZoomMax = capabilities.getMaxZoomRatio(); in initializeZoom()
330 mPreviewOverlay.setupZoom(mZoomMax, settings.getCurrentZoomRatio(), in initializeZoom()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java122 private int mZoomMax; field in Camera
474 Camera.this.onZoomValueChanged(mZoomMax); in onZoomStateChanged()
491 mZoomMax = mParameters.getMaxZoom(); in initializeZoom()
494 mZoomControl.setZoomMax(mZoomMax); in initializeZoom()
DVideoCamera.java265 private int mZoomMax; field in VideoCamera
2269 VideoCamera.this.onZoomValueChanged(mZoomMax); in onZoomStateChanged()
2288 mZoomMax = mParameters.getMaxZoom(); in initializeZoom()
2291 mZoomControl.setZoomMax(mZoomMax); in initializeZoom()