Home
last modified time | relevance | path

Searched refs:mDotRadius (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java77 private final float mDotRadius; field in PageIndicatorDots
113 mDotRadius = getResources().getDimension(R.dimen.page_indicator_dot_size) / 2; in PageIndicatorDots()
234 MeasureSpec.getSize(widthMeasureSpec) : (int) ((mNumPages * 3 + 2) * mDotRadius); in onMeasure()
236 MeasureSpec.getSize(heightMeasureSpec) : (int) (4 * mDotRadius); in onMeasure()
243 float circleGap = 3 * mDotRadius; in onDraw()
244 float startX = (getWidth() - mNumPages * circleGap + mDotRadius) / 2; in onDraw()
246 float x = startX + mDotRadius; in onDraw()
257 canvas.drawCircle(x, y, mDotRadius * mEntryAnimationRadiusFactors[i], mCirclePaint); in onDraw()
263 canvas.drawCircle(x, y, mDotRadius, mCirclePaint); in onDraw()
268 canvas.drawRoundRect(getActiveRect(), mDotRadius, mDotRadius, mCirclePaint); in onDraw() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorSaturationView.java51 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()
DColorOpacityView.java51 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()
DColorBrightnessView.java51 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()
DColorHueView.java49 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/
DTimerCircleView.kt44 private val mDotRadius: Float constant
68 mDotRadius = dotDiameter / 2f
147 canvas.drawCircle(dotX, dotY, mDotRadius, mFill) in onDraw()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintLocationAnimationView.java47 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/
DStopwatchCircleView.kt45 private val mDotRadius: Float constant
76 mDotRadius = dotDiameter / 2f
158 canvas.drawCircle(dotX, dotY, mDotRadius, mFill) in onDraw()