Searched defs:radius (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DShadowGenerator.java141 public float radius; field in class:ShadowGenerator.Builder
154 radius = height / 2;
157 int centerY = Math.round(radius + shadowBlur + keyShadowDistance);
175 c.drawRoundRect(bounds, radius, radius, p);
180 c.drawRoundRect(bounds, radius, radius, p);
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DCircleView.java55 * A Property wrapper around the radius functionality handled by the
59 new Property<CircleView, Float>(Float.class, "radius") {
237 * @return the radius of the circle
244 * Sets the radius of the circle and invalidates only the affected area.
246 * @param radius the radius to use
250 public CircleView setRadius(float radius) { argument
252 if (oldRadius != radius) {
253 mRadius = radius;
257 if (radius > oldRadiu
277 invalidate(float centerX, float centerY, float radius) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterColorBorderRepresentation.java54 public FilterColorBorderRepresentation(int color, int size, int radius) { argument
64 mParamRadius.setValue(radius);
178 writer.name("radius");
192 } else if (name.equalsIgnoreCase("radius")) {
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h140 double radius; member in struct:__anon9
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlWheel.java93 double radius = Math.sqrt(dx * dx + dy * dy);
161 double radius, int color, int width) {
162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius),
163 (float) (mCenterX + radius), (float) (mCenterY + radius));
160 drawArc(Canvas canvas, int startAngle, int sweepAngle, double radius, int color, int width) argument
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
H A DSwipeButtonHelper.java331 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { argument
336 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius);
430 float radius = getRadiusFromTranslation(absTranslation);
436 radius,
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DPieRenderer.java542 // get angle and radius from x/y
675 private static void convertCart(int angle, int radius, Point out) { argument
677 out.x = (int) (radius * Math.cos(a) + 0.5);
678 out.y = (int) (radius * Math.sin(a) + 0.5);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieRenderer.java543 // get angle and radius from x/y
674 private static void convertCart(int angle, int radius, Point out) { argument
676 out.x = (int) (radius * Math.cos(a) + 0.5);
677 out.y = (int) (radius * Math.sin(a) + 0.5);

Completed in 525 milliseconds