Home | History | Annotate | Download | only in view

Lines Matching defs:radius

218             final float radius = circleRadius + mCircleBorderWidth +
224 mPaint.setShader(new RadialGradient(mOval.centerX(), mOval.centerY(), radius,
227 canvas.drawCircle(mOval.centerX(), mOval.centerY(), radius, mPaint);
307 final float radius = getCircleRadius() + mCircleBorderWidth +
309 float desiredWidth = radius * 2;
310 float desiredHeight = radius * 2;
422 float radius = mCircleRadius;
424 radius = Math.max(getMeasuredHeight(), getMeasuredWidth()) * mCircleRadiusPercent;
427 return radius - mRadiusInset;
435 float radius = mCircleRadiusPressed;
438 radius = Math.max(getMeasuredHeight(), getMeasuredWidth())
442 return radius - mRadiusInset;
457 * Sets the radius of the circle to be a percentage of the largest dimension of the view.
458 * @param circleRadiusPercent A {@code float} from 0 to 1 representing the radius percentage.
475 * Sets the radius of the circle to be a percentage of the largest dimension of the view when
477 * @param circleRadiusPressedPercent A {@code float} from 0 to 1 representing the radius