/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 233 private int mCenterY; field in PreviewOverlay.ZoomProcessor 264 mCenterY = (b - t) / 2; in layout() 278 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 280 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 282 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 284 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 290 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 292 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 294 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 296 mCenterY + zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
|
D | ProgressOverlay.java | 34 private int mCenterY; field in ProgressOverlay 49 mCenterY = (bottom - top) / 2; in onLayout() 69 mProgressRenderer.onDraw(canvas, mCenterX, mCenterY); in onDraw()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ZoomRenderer.java | 43 private int mCenterY; field in ZoomRenderer 101 mCenterY = (b - t) / 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()
|
D | PieRenderer.java | 101 private int mCenterY; field in PieRenderer 215 setCenter(mCenterX, mCenterY); in showInCenter() 633 mCenterY = (b - t) / 2; in layout() 635 mFocusY = mCenterY; in layout() 638 setCenter(mCenterX, mCenterY); in layout() 776 mFocusY = mCenterY; in run()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
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()
|
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()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | VideoRecordingHints.java | 60 private int mCenterY = UNSET; field in VideoRecordingHints 203 mCenterY = (bottom - top) / 2; in onLayout() 204 mRotateArrows.setBounds(mCenterX - mRotateArrowsHalfSize, mCenterY - mRotateArrowsHalfSize, in onLayout() 205 mCenterX + mRotateArrowsHalfSize, mCenterY + mRotateArrowsHalfSize); in onLayout() 206 … mPhoneGraphic.setBounds(mCenterX - mPhoneGraphicHalfWidth, mCenterY - mPhoneGraphicHalfHeight, in onLayout() 207 mCenterX + mPhoneGraphicHalfWidth, mCenterY + mPhoneGraphicHalfHeight); in onLayout() 219 canvas.rotate(-mRotation, mCenterX, mCenterY); in draw() 224 canvas.rotate(90, mCenterX, mCenterY); in draw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterVignetteRepresentation.java | 34 private float mCenterY = .5f; field in FilterVignetteRepresentation 75 mCenterY = rep.mCenterY; in useParametersFrom() 95 return getName() + " : " + mCenterX + ", " + mCenterY + " radius: " + mRadiusX; in toString() 114 mCenterY = centerY; in setCenter() 124 return mCenterY; in getCenterY() 191 writer.value(mCenterY); in serializeRepresentation() 219 mCenterY = (float) sreader.nextDouble(); in deSerializeRepresentation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 112 protected int mCenterY; field in TileImageView 188 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in notifyModelInvalidated() 196 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); in onLayout() 343 distH = mImageHeight / 2 - mCenterY; in getImageCenter() 345 distW = mImageHeight / 2 - mCenterY; in getImageCenter() 356 if (mCenterX == centerX && mCenterY == centerY in setPosition() 359 mCenterY = centerY; in setPosition() 401 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in prepareTextures()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | CropView.java | 41 private float mCenterX, mCenterY; field in CropView 95 rendererCenter[1] = mCenterY - initialCenterY; in getEdgesHelper() 140 mCenterY = mRenderer.centerY; in setTileSource() 212 mRenderer.centerY = Math.round(mCenterY); in updateCenter() 278 mCenterY += point[1]; in onTouchEvent() 313 mCenterY += adjustment[1]; in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 109 protected int mCenterY; field in TiledImageRenderer 241 if (mCenterX == centerX && mCenterY == centerY in setPosition() 246 mCenterY = centerY; in setPosition() 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles() 285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles() 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 109 protected int mCenterY; field in TiledImageRenderer 241 if (mCenterX == centerX && mCenterY == centerY in setPosition() 246 mCenterY = centerY; in setPosition() 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles() 285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles() 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | EclipseControl.java | 34 private float mCenterY = 0; field in EclipseControl 74 mCenterY = y; in setCenter() 302 paintRadius(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); in draw() 303 fillHandles(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); in draw() 304 paintPoint(canvas, mCenterX, mCenterY); in draw()
|
D | ImageTinyPlanet.java | 40 private float mCenterY = 0; field in ImageTinyPlanet 96 float dY1 = mTouchCenterY - mCenterY; in getCurrentTouchAngle() 98 float dY2 = mCurrentY - mCenterY; in getCurrentTouchAngle() 112 mCenterY = getHeight() / 2; in onTouchEvent()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | PointCloud.java | 36 private float mCenterY; field in PointCloud 133 mCenterY = y; in setCenter() 207 canvas.scale(mScale, mScale, mCenterX, mCenterY); in draw() 213 final float py = point.y + mCenterY; in draw()
|
/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()
|