OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mMaxCircle
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Camera/src/com/android/camera/ui/
ZoomRenderer.java
44
private float
mMaxCircle
;
84
mCircleSize = (int) (mMinCircle + index * (
mMaxCircle
- mMinCircle) / (mMaxZoom - mMinZoom));
102
mMaxCircle
= Math.min(getWidth(), getHeight());
103
mMaxCircle
= (
mMaxCircle
- mMinCircle) / 2;
114
canvas.drawCircle(mCenterX, mCenterY,
mMaxCircle
, mPaint);
116
mCenterX -
mMaxCircle
- 4, mCenterY, mPaint);
131
circle = Math.min(
mMaxCircle
, circle);
134
int zoom = mMinZoom + (int) ((mCircleSize - mMinCircle) * (mMaxZoom - mMinZoom) / (
mMaxCircle
- mMinCircle));
/packages/apps/Gallery2/src/com/android/camera/ui/
ZoomRenderer.java
44
private float
mMaxCircle
;
84
mCircleSize = (int) (mMinCircle + index * (
mMaxCircle
- mMinCircle) / (mMaxZoom - mMinZoom));
102
mMaxCircle
= Math.min(getWidth(), getHeight());
103
mMaxCircle
= (
mMaxCircle
- mMinCircle) / 2;
114
canvas.drawCircle(mCenterX, mCenterY,
mMaxCircle
, mPaint);
116
mCenterX -
mMaxCircle
- 4, mCenterY, mPaint);
131
circle = Math.min(
mMaxCircle
, circle);
134
int zoom = mMinZoom + (int) ((mCircleSize - mMinCircle) * (mMaxZoom - mMinZoom) / (
mMaxCircle
- mMinCircle));
Completed in 124 milliseconds