Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControl.java59 protected int mZoomMax, mZoomIndex; field in ZoomControl
84 setZoomIndex(mZoomIndex); // Update the zoom index bar. in startZoomControl()
131 mZoomIndex = index; in setZoomIndex()
140 return (mZoomIndex == mZoomMax) ? false : changeZoomIndex(mZoomIndex + mStep); in zoomIn()
144 return (mZoomIndex == 0) ? false : changeZoomIndex(mZoomIndex - mStep); in zoomOut()
188 if (mZoomIndex == index) return; in performZoom()
195 int zoomType = (index < mZoomIndex) ? ZOOM_OUT : ZOOM_IN; in changeZoomIndex()
196 if (((zoomType == ZOOM_IN) && (mZoomIndex != mZoomMax)) || in changeZoomIndex()
197 ((zoomType == ZOOM_OUT) && (mZoomIndex != 0))) { in changeZoomIndex()
204 mZoomIndex = index; in changeZoomIndex()
DZoomControlBar.java137 sliderPosition = (int) ((double) mSliderLength * mZoomIndex / mZoomMax); in onLayout()
DZoomControlWheel.java157 (MAX_SLIDER_ANGLE - MIN_SLIDER_ANGLE) * mZoomIndex / mZoomMax); in getZoomIndexAngle()