Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/ui/
DPieRenderer.java97 private int mCircleSize; field in PieRenderer
159 mCircleSize = mRadius - res.getDimensionPixelSize(R.dimen.focus_radius_offset); in init()
622 return 2 * mCircleSize; in getSize()
644 mCircle.set(cx - mCircleSize, cy - mCircleSize, in setCircle()
645 cx + mCircleSize, cy + mCircleSize); in setCircle()
646 mDial.set(cx - mCircleSize + mInnerOffset, cy - mCircleSize + mInnerOffset, in setCircle()
647 cx + mCircleSize - mInnerOffset, cy + mCircleSize - mInnerOffset); in setCircle()
653 canvas.drawCircle((float) mFocusX, (float) mFocusY, (float) mCircleSize, mFocusPaint); in drawFocus()
674 convertCart(angle, mCircleSize - mInnerOffset, mPoint1); in drawLine()
675 convertCart(angle, mCircleSize - mInnerOffset + mInnerOffset / 3, mPoint2); in drawLine()
DZoomRenderer.java41 private int mCircleSize; field in ZoomRenderer
84mCircleSize = (int) (mMinCircle + index * (mMaxCircle - mMinCircle) / (mMaxZoom - mMinZoom)); in setZoom()
119 (float) mCircleSize, mPaint); in onDraw()
129 float circle = (int) (mCircleSize * sf * sf); in onScale()
132 if (mListener != null && (int) circle != mCircleSize) { in onScale()
133 mCircleSize = (int) circle; in onScale()
134 …int zoom = mMinZoom + (int) ((mCircleSize - mMinCircle) * (mMaxZoom - mMinZoom) / (mMaxCircle - mM… in onScale()