/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 77 private final float mDotRadius; field in PageIndicatorDots 112 mDotRadius = getResources().getDimension(R.dimen.page_indicator_dot_size) / 2; in PageIndicatorDots() 232 MeasureSpec.getSize(widthMeasureSpec) : (int) ((mNumPages * 3 + 2) * mDotRadius); in onMeasure() 234 MeasureSpec.getSize(heightMeasureSpec) : (int) (4 * mDotRadius); in onMeasure() 241 float circleGap = 3 * mDotRadius; in onDraw() 242 float startX = (getWidth() - mNumPages * circleGap + mDotRadius) / 2; in onDraw() 244 float x = startX + mDotRadius; in onDraw() 255 canvas.drawCircle(x, y, mDotRadius * mEntryAnimationRadiusFactors[i], mCirclePaint); in onDraw() 261 canvas.drawCircle(x, y, mDotRadius, mCirclePaint); in onDraw() 266 canvas.drawRoundRect(getActiveRect(), mDotRadius, mDotRadius, mCirclePaint); in onDraw() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorOpacityView.java | 51 private float mDotRadius; field in ColorOpacityView 65 mDotRadius = DOT_SIZE * mDpToPix; in ColorOpacityView() 126 invalidate((int) (ox - mDotRadius), (int) (oy - mDotRadius), (int) (ox + mDotRadius), in onTouchEvent() 127 (int) (oy + mDotRadius)); in onTouchEvent() 129 (int) (mDotX - mDotRadius), (int) (mDotY - mDotRadius), (int) (mDotX + mDotRadius), in onTouchEvent() 130 (int) (mDotY + mDotRadius)); in onTouchEvent() 141 RadialGradient g = new RadialGradient(mDotX, mDotY, mDotRadius, colors3, new float[] { in setupButton() 175 canvas.drawCircle(mDotX, mDotY, mDotRadius, mDotPaint); in onDraw()
|
D | ColorSaturationView.java | 51 private float mDotRadius; field in ColorSaturationView 67 mDotRadius = DOT_SIZE * mDpToPix; in ColorSaturationView() 121 invalidate((int) (ox - mDotRadius), (int) (oy - mDotRadius), (int) (ox + mDotRadius), in onTouchEvent() 122 (int) (oy + mDotRadius)); in onTouchEvent() 124 (int) (mDotX - mDotRadius), (int) (mDotY - mDotRadius), (int) (mDotX + mDotRadius), in onTouchEvent() 125 (int) (mDotY + mDotRadius)); in onTouchEvent() 136 RadialGradient g = new RadialGradient(mDotX, mDotY, mDotRadius, colors3, new float[] { in setupButton() 174 canvas.drawCircle(mDotX, mDotY, mDotRadius, mDotPaint); in onDraw()
|
D | ColorBrightnessView.java | 51 private float mDotRadius; field in ColorBrightnessView 67 mDotRadius = DOT_SIZE * mDpToPix; in ColorBrightnessView() 121 invalidate((int) (ox - mDotRadius), (int) (oy - mDotRadius), (int) (ox + mDotRadius), in onTouchEvent() 122 (int) (oy + mDotRadius)); in onTouchEvent() 124 (int) (mDotX - mDotRadius), (int) (mDotY - mDotRadius), (int) (mDotX + mDotRadius), in onTouchEvent() 125 (int) (mDotY + mDotRadius)); in onTouchEvent() 136 RadialGradient g = new RadialGradient(mDotX, mDotY, mDotRadius, colors3, new float[] { in setupButton() 175 canvas.drawCircle(mDotX, mDotY, mDotRadius, mDotPaint); in onDraw()
|
D | ColorHueView.java | 49 private float mDotRadius; field in ColorHueView 68 mDotRadius = DOT_SIZE * mDpToPix; in ColorHueView() 153 RadialGradient g = new RadialGradient(mDotX, mDotY, mDotRadius, colors3, new float[]{ in setupButton() 183 canvas.drawCircle(mDotX, mDotY, mDotRadius, mDotPaint); in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.java | 39 private final float mDotRadius; field in TimerCircleView 70 mDotRadius = dotDiameter / 2f; in TimerCircleView() 145 canvas.drawCircle(dotX, dotY, mDotRadius, mFill); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintLocationAnimationView.java | 47 private final int mDotRadius; field in FingerprintLocationAnimationView 59 mDotRadius = getResources().getDimensionPixelSize(R.dimen.fingerprint_dot_radius); in FingerprintLocationAnimationView() 83 canvas.drawCircle(getCenterX(), getCenterY(), mDotRadius, mDotPaint); in drawDot() local
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 43 private final float mDotRadius; field in StopwatchCircleView 78 mDotRadius = dotDiameter / 2f; in StopwatchCircleView() 162 canvas.drawCircle(dotX, dotY, mDotRadius, mFill); in onDraw()
|