Lines Matching refs:bounds
39 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius,
42 final float innerWidth = bounds.width() - twoRadius - 1;
43 final float innerHeight = bounds.height() - twoRadius - 1;
50 canvas.translate(bounds.left + roundedCornerRadius,
51 bounds.top + roundedCornerRadius);
64 canvas.drawRect(bounds.left + roundedCornerRadius - 1f, bounds.top,
65 bounds.right - roundedCornerRadius + 1f,
66 bounds.top + roundedCornerRadius, paint);
68 canvas.drawRect(bounds.left + roundedCornerRadius - 1f,
69 bounds.bottom - roundedCornerRadius,
70 bounds.right - roundedCornerRadius + 1f, bounds.bottom, paint);
73 canvas.drawRect(bounds.left, bounds.top + cornerRadius,
74 bounds.right, bounds.bottom - cornerRadius , paint);