/packages/apps/Camera/src/com/android/camera/ |
D | CaptureAnimManager.java | 49 private float mCenterY; field in CaptureAnimManager 79 mCenterY = y + h / 2f; in startAnimation() 84 mCenterY = y + h + mHalfGap; in startAnimation() 93 mCenterY = y + h / 2f; in startAnimation() 98 mCenterY = y - mHalfGap; in startAnimation() 113 float centerY = mCenterY; in drawAnimation() 117 centerY = mCenterY + mCenterDelta * mSlideInterpolator.getInterpolation(fraction); in drawAnimation()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 58 private int mCenterX, mCenterY; field in ZoomControlWheel 107 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 142 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon() 165 mCenterY = (bottom - top) / 2; in onLayout() 168 mCenterY = bottom - top - Util.dpToPixel( in onLayout() 178 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius), in drawArc() 179 (float) (mCenterX + radius), (float) (mCenterY + radius)); in drawArc()
|
D | IndicatorControlWheelContainer.java | 58 private int mCenterX, mCenterY; field in IndicatorControlWheelContainer 91 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 125 mCenterY = (bottom - top) / 2; in onLayout() 127 mCenterY - shutterButtonHeight / 2, in onLayout() 129 mCenterY + shutterButtonHeight / 2); in onLayout() 132 mCenterY = bottom - top - Util.dpToPixel(WHEEL_CENTER_TO_SECANT); in onLayout()
|
D | IndicatorControlWheel.java | 106 private int mCenterX, mCenterY; field in IndicatorControlWheel 384 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 467 mCenterY = (bottom - top) / 2; in onLayout() 470 mCenterY = bottom - top - Util.dpToPixel( in onLayout() 498 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in onLayout() 593 mBackgroundRect.set(mCenterX - innerR, mCenterY - innerR, in onDraw() 594 mCenterX + innerR, mCenterY + innerR); in onDraw() 597 mBackgroundRect.set(mCenterX - outerR, mCenterY - outerR, in onDraw() 598 mCenterX + outerR, mCenterY + outerR); in onDraw() 620 (float)(mCenterY - mShutterButtonRadius), in onDraw() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 58 private int mCenterX, mCenterY; field in ZoomControlWheel 92 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 127 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon() 148 mCenterY = (bottom - top) / 2; in onLayout() 162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius), in drawArc() 163 (float) (mCenterX + radius), (float) (mCenterY + radius)); in drawArc()
|
D | IndicatorControlWheelContainer.java | 44 private int mCenterX, mCenterY; field in IndicatorControlWheelContainer 75 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 107 mCenterY = (bottom - top) / 2; in onLayout() 109 mCenterY - shutterButtonHeight / 2, in onLayout() 111 mCenterY + shutterButtonHeight - shutterButtonHeight / 2); in onLayout()
|
D | IndicatorControlWheel.java | 75 private int mCenterX, mCenterY; field in IndicatorControlWheel 260 double dy = mCenterY - event.getY(); in dispatchTouchEvent() 339 mCenterY = (bottom - top) / 2; in onLayout() 361 int y = mCenterY - (int)(mWheelRadius * Math.sin(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() 483 (float)(mCenterY - mShutterButtonRadius), in onDraw() 485 (float)(mCenterY + mShutterButtonRadius)); in onDraw()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
D | Visualization1.java | 62 private float mCenterY; field in Visualization1.CubeEngine 125 mCenterY = height/2.0f; in onSurfaceChanged() 197 c.drawPoint(i, mCenterY + mVizData[i], mPaint); in drawCube()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 113 protected int mCenterY; field in TileImageView 176 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in notifyModelInvalidated() 184 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); in onLayout() 330 distH = mImageHeight / 2 - mCenterY; in getImageCenter() 332 distW = mImageHeight / 2 - mCenterY; in getImageCenter() 343 if (mCenterX == centerX && mCenterY == centerY in setPosition() 346 mCenterY = centerY; in setPosition() 389 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in prepareTextures()
|