Loading graphics/java/android/graphics/Rect.java +8 −4 Original line number Diff line number Diff line Loading @@ -69,11 +69,15 @@ public final class Rect implements Parcelable { * rectangle. */ public Rect(Rect r) { if (r == null) { left = top = right = bottom = 0; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } @Override public boolean equals(Object o) { Loading graphics/java/android/graphics/RectF.java +16 −8 Original line number Diff line number Diff line Loading @@ -66,18 +66,26 @@ public class RectF implements Parcelable { * rectangle. */ public RectF(RectF r) { if (r == null) { left = top = right = bottom = 0.0f; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } public RectF(Rect r) { if (r == null) { left = top = right = bottom = 0.0f; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } @Override public boolean equals(Object o) { Loading Loading
graphics/java/android/graphics/Rect.java +8 −4 Original line number Diff line number Diff line Loading @@ -69,11 +69,15 @@ public final class Rect implements Parcelable { * rectangle. */ public Rect(Rect r) { if (r == null) { left = top = right = bottom = 0; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } @Override public boolean equals(Object o) { Loading
graphics/java/android/graphics/RectF.java +16 −8 Original line number Diff line number Diff line Loading @@ -66,18 +66,26 @@ public class RectF implements Parcelable { * rectangle. */ public RectF(RectF r) { if (r == null) { left = top = right = bottom = 0.0f; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } public RectF(Rect r) { if (r == null) { left = top = right = bottom = 0.0f; } else { left = r.left; top = r.top; right = r.right; bottom = r.bottom; } } @Override public boolean equals(Object o) { Loading