Lines Matching defs:size
40 * @param size a non-{@code null} size
44 * @throws NullPointerException if {@code size} was {@code null}
46 public static Rect createRect(Size size) {
47 checkNotNull(size, "size must not be null");
49 return new Rect(/*left*/0, /*top*/0, size.getWidth(), size.getHeight());
58 * @param size a non-{@code null} rect
96 * Create a {@link Size} from a {@code Rect} by creating a new size whose width
101 * @return a {@code non-null} size