Searched defs:mZoomMax (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Camera/src/com/android/camera/ui/
H A DZoomControl.java43 // is zero) and 1.0 (the index is mZoomMax).
48 protected int mZoomMax, mZoomIndex; field in class:ZoomControl
88 mZoomMax = zoomMax;
104 if (index < 0 || index > mZoomMax) {
112 int index = (int) (mZoomMax * zoomPercentage);
115 if (index > mZoomMax) index = mZoomMax;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControl.java54 // 0 (the index is zero) and 1.0 (the index is mZoomMax).
59 protected int mZoomMax, mZoomIndex; field in class:ZoomControl
112 mZoomMax = zoomMax;
128 if (index < 0 || index > mZoomMax) {
140 return (mZoomIndex == mZoomMax) ? false : changeZoomIndex(mZoomIndex + mStep);
181 mHandler.postDelayed(mRunnable, ZOOMING_INTERVAL / mZoomMax);
187 int index = (int) (mZoomMax * zoomPercentage);
196 if (((zoomType == ZOOM_IN) && (mZoomIndex != mZoomMax)) ||
201 if (index > mZoomMax) index = mZoomMax;
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DCamera.java119 private int mZoomMax; field in class:Camera
524 mZoomMax = mParameters.getMaxZoom();
527 mZoomControl.setZoomMax(mZoomMax);
H A DVideoCamera.java217 private int mZoomMax; field in class:VideoCamera
2322 mZoomMax = mParameters.getMaxZoom();
2325 mZoomControl.setZoomMax(mZoomMax);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCamera.java122 private int mZoomMax; field in class:Camera
474 Camera.this.onZoomValueChanged(mZoomMax);
491 mZoomMax = mParameters.getMaxZoom();
494 mZoomControl.setZoomMax(mZoomMax);
H A DVideoCamera.java265 private int mZoomMax; field in class:VideoCamera
2269 VideoCamera.this.onZoomValueChanged(mZoomMax);
2288 mZoomMax = mParameters.getMaxZoom();
2291 mZoomControl.setZoomMax(mZoomMax);

Completed in 81 milliseconds