Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/ui/
DZoomRenderer.java42 private int mCenterX; field in ZoomRenderer
100 mCenterX = (r - l) / 2; in layout()
113 canvas.drawCircle(mCenterX, mCenterY, mMinCircle, mPaint); in onDraw()
114 canvas.drawCircle(mCenterX, mCenterY, mMaxCircle, mPaint); in onDraw()
115 canvas.drawLine(mCenterX - mMinCircle, mCenterY, in onDraw()
116 mCenterX - mMaxCircle - 4, mCenterY, mPaint); in onDraw()
118 canvas.drawCircle((float) mCenterX, (float) mCenterY, in onDraw()
122 canvas.drawText(txt, mCenterX - mTextBounds.centerX(), mCenterY - mTextBounds.centerY(), in onDraw()
DPieRenderer.java100 private int mCenterX; field in PieRenderer
215 setCenter(mCenterX, mCenterY); in showInCenter()
632 mCenterX = (r - l) / 2; in layout()
634 mFocusX = mCenterX; in layout()
638 setCenter(mCenterX, mCenterY); in layout()
775 mFocusX = mCenterX; in run()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageTinyPlanet.java31 private float mCenterX = 0; field in ImageTinyPlanet
51 float dX1 = mTouchCenterX - mCenterX; in getCurrentTouchAngle()
53 float dX2 = mCurrentX - mCenterX; in getCurrentTouchAngle()
68 mCenterX = getWidth() / 2; in onTouchEvent()
DImageGeometry.java42 protected float mCenterX; field in ImageGeometry
96 float dX1 = mTouchCenterX - mCenterX; in getCurrentTouchAngle()
98 float dX2 = mCurrentX - mCenterX; in getCurrentTouchAngle()
121 mCenterX = displayWidth / 2; in calculateLocalScalingFactorAndOffset()
DImageCrop.java236 m.postScale(zoom, zoom, mCenterX, mCenterY); in getCropBoundDisplayMatrix()
254 m.setScale(zoom, zoom, mCenterX, mCenterY); in getCropBoundsDisplayed()
692 canvas.rotate(rotation, mCenterX, mCenterY); in drawShape()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlWheel.java58 private int mCenterX, mCenterY; field in ZoomControlWheel
91 double dx = event.getX() - mCenterX; in dispatchTouchEvent()
126 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in layoutIcon()
146 mCenterX = right - left - Util.dpToPixel( in onLayout()
162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius), in drawArc()
163 (float) (mCenterX + radius), (float) (mCenterY + radius)); in drawArc()
DIndicatorControlWheel.java75 private int mCenterX, mCenterY; field in IndicatorControlWheel
259 double dx = event.getX() - mCenterX; in dispatchTouchEvent()
337 mCenterX = right - left - Util.dpToPixel( in onLayout()
360 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in onLayout()
456 mBackgroundRect.set(mCenterX - innerR, mCenterY - innerR, in onDraw()
457 mCenterX + innerR, mCenterY + innerR); in onDraw()
460 mBackgroundRect.set(mCenterX - outerR, mCenterY - outerR, in onDraw()
461 mCenterX + outerR, mCenterY + outerR); in onDraw()
482 mBackgroundRect.set((float)(mCenterX - mShutterButtonRadius), in onDraw()
484 (float)(mCenterX + mShutterButtonRadius), in onDraw()
DIndicatorControlWheelContainer.java44 private int mCenterX, mCenterY; field in IndicatorControlWheelContainer
74 double dx = event.getX() - mCenterX; in dispatchTouchEvent()
106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS); in onLayout()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DSliderController.java26 private float mCenterX; field in SliderController
118 return mCenterX; in getCenterX()
126 mCenterX = x; in setActionDown()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DPointCloud.java35 private float mCenterX; field in PointCloud
132 mCenterX = x; in setCenter()
207 canvas.scale(mScale, mScale, mCenterX, mCenterY); in draw()
212 final float px = point.x + mCenterX; in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java113 protected int mCenterX; field in TileImageView
189 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in notifyModelInvalidated()
197 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); in onLayout()
343 distW = mImageWidth / 2 - mCenterX; in getImageCenter()
347 distH = mImageWidth / 2 - mCenterX; in getImageCenter()
357 if (mCenterX == centerX && mCenterY == centerY in setPosition()
359 mCenterX = centerX; in setPosition()
403 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in prepareTextures()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/
DVisualization1.java61 private float mCenterX; field in Visualization1.CubeEngine
124 mCenterX = width/2.0f; in onSurfaceChanged()