Lines Matching refs:bounds
47 public RippleComponent(RippleDrawable owner, Rect bounds) {
49 mBounds = bounds;
72 private static float getTargetRadius(Rect bounds) {
73 final float halfWidth = bounds.width() / 2.0f;
74 final float halfHeight = bounds.height() / 2.0f;
79 * Populates {@code bounds} with the maximum drawing bounds of the ripple
80 * relative to its center. The resulting bounds should be translated into
83 * @param bounds the rect to populate with drawing bounds
85 public void getBounds(Rect bounds) {
87 bounds.set(-r, -r, r, r);