Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/ui/
DZoomController.java57 private float mRatios[]; field in ZoomController
83 int index = mRatios.length - 1 - (int) in onSliderMoved()
88 mZoomListener.onZoomChanged(mIndex, mRatios[mIndex], isMoving); in onSliderMoved()
115 mValueGap = (float) (height - margin) / (mRatios.length - 1); in onLayout()
126 float sy = mSliderTop + (mRatios.length - 1 - mIndex) * mValueGap in withInToleranceRange()
158 if (Arrays.equals(ratios, mRatios)) return; in setAvailableZoomRatios()
159 mRatios = ratios; in setAvailableZoomRatios()
195 int ratioCount = mRatios.length; in onMeasure()
246 for (int i = 0, n = mRatios.length; i < n; ++i) { in renderTicks()
263 (top + mValueGap * (mRatios.length - 1 - mIndex))); in renderSlider()
[all …]