/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | CircleView.kt | 48 private var mCenterY: Float variable 59 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f) 87 canvas.drawCircle(mCenterX, mCenterY, radius, mCirclePaint) in onDraw() 135 invalidate(mCenterX, mCenterY, radius) in setFillColor() 153 invalidate(oldCenterX, mCenterY, radius) in setCenterX() 154 invalidate(centerX, mCenterY, radius) in setCenterX() 171 val oldCenterY = mCenterY in setCenterY() 173 mCenterY = centerY in setCenterY() 199 invalidate(mCenterX, mCenterY, oldRadius) in setRadius() 201 invalidate(mCenterX, mCenterY, radius) in setRadius() [all …]
|
D | CircleView.java | 78 private float mCenterY; field in CircleView 97 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f); in CircleView() 128 canvas.drawCircle(mCenterX, mCenterY, mRadius, mCirclePaint); in onDraw() 185 invalidate(mCenterX, mCenterY, mRadius); in setFillColor() 203 invalidate(oldCenterX, mCenterY, mRadius); in setCenterX() 204 invalidate(centerX, mCenterY, mRadius); in setCenterX() 221 final float oldCenterY = mCenterY; in setCenterY() 223 mCenterY = centerY; in setCenterY() 256 invalidate(mCenterX, mCenterY, oldRadius); in setRadius() 258 invalidate(mCenterX, mCenterY, radius); in setRadius() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 298 private int mCenterY; field in PreviewOverlay.ZoomProcessor 328 mCenterY = (b + t) / 2; in layout() 342 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 346 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 354 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 356 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 358 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 360 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/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/Messaging/src/com/android/messaging/ui/ |
D | OrientedBitmapDrawable.java | 38 private int mCenterY; field in OrientedBitmapDrawable 86 mCenterY = mDstRect.centerY(); in draw() 89 matrix.setRotate(mOrientationParams.rotation, mCenterX, mCenterY); in draw() 99 canvas.scale(mOrientationParams.scaleX, mOrientationParams.scaleY, mCenterX, mCenterY); in draw() 100 canvas.rotate(mOrientationParams.rotation, mCenterX, mCenterY); in draw()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CropView.java | 40 private float mCenterX, mCenterY; field in CropView 94 rendererCenter[1] = mCenterY - initialCenterY; in getEdgesHelper() 139 mCenterY = mRenderer.centerY; in setTileSource() 222 mRenderer.centerY = Math.round(mCenterY); in updateCenter() 288 mCenterY += point[1]; in onTouchEvent() 323 mCenterY += adjustment[1]; in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
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()
|
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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 111 protected int mCenterY; field in TileImageView 187 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in notifyModelInvalidated() 195 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); in onLayout() 342 distH = mImageHeight / 2 - mCenterY; in getImageCenter() 344 distW = mImageHeight / 2 - mCenterY; in getImageCenter() 355 if (mCenterX == centerX && mCenterY == centerY in setPosition() 358 mCenterY = centerY; in setPosition() 400 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in prepareTextures()
|
/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/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/Camera2/src/com/android/camera/ui/focus/ |
D | FocusRingRenderer.java | 58 private int mCenterY; field in FocusRingRenderer 108 mCenterY = value; in setCenterY() 112 return mCenterY; in getCenterY()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoundLevels.java | 45 private int mCenterY; field in SoundLevels 126 mCenterY = getWidth() / 2; in onDraw() 141 canvas.drawCircle(mCenterX, mCenterY, radius * mMaximumLevelSize, mPrimaryLevelPaint); in onDraw()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 96 private int mCenterY; field in PieRenderer 210 setCenter(mCenterX, mCenterY); in showInCenter() 623 mCenterY = (b - t) / 2; in layout() 625 mFocusY = mCenterY; in layout() 628 setCenter(mCenterX, mCenterY); in layout() 776 mFocusY = mCenterY; in run()
|