Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/ui/
DZoomRenderer.java44 private float mMaxCircle; field in ZoomRenderer
84 … mCircleSize = (int) (mMinCircle + index * (mMaxCircle - mMinCircle) / (mMaxZoom - mMinZoom)); in setZoom()
102 mMaxCircle = Math.min(getWidth(), getHeight()); in layout()
103 mMaxCircle = (mMaxCircle - mMinCircle) / 2; in layout()
114 canvas.drawCircle(mCenterX, mCenterY, mMaxCircle, mPaint); in onDraw()
116 mCenterX - mMaxCircle - 4, mCenterY, mPaint); in onDraw()
131 circle = Math.min(mMaxCircle, circle); in onScale()
134 … mMinZoom + (int) ((mCircleSize - mMinCircle) * (mMaxZoom - mMinZoom) / (mMaxCircle - mMinCircle)); in onScale()