Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
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()
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()
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()
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/
DAnalogClock.java64 private final float mDotRadius; field in AnalogClock
88 mDotRadius = a.getDimension(R.styleable.AnalogClock_jewelRadius, 0); in AnalogClock()
206 if (mDotRadius > 0f && mDotPaint != null) { in onDraw()
207 canvas.drawCircle(x, y - (h / 2) + mDotOffset, mDotRadius, mDotPaint); in onDraw()
DCircleTimerView.java33 private static float mDotRadius = 6; field in CircleTimerView
129 mDotRadius = dotDiameter / 2f; in init()
212 yCenter + (float) (radius * Math.sin(dotRadians)), mDotRadius, mFill); in drawRedDot()