You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.6 KiB
94 lines
2.6 KiB
package p073z;
|
|
|
|
import android.graphics.Insets;
|
|
import android.graphics.Rect;
|
|
|
|
/* renamed from: z.g */
|
|
/* loaded from: classes.dex */
|
|
public final class C1877g {
|
|
|
|
/* renamed from: e */
|
|
public static final C1877g f4679e = new C1877g(0, 0, 0, 0);
|
|
|
|
/* renamed from: a */
|
|
public final int f4680a;
|
|
|
|
/* renamed from: b */
|
|
public final int f4681b;
|
|
|
|
/* renamed from: c */
|
|
public final int f4682c;
|
|
|
|
/* renamed from: d */
|
|
public final int f4683d;
|
|
|
|
/* renamed from: z.g$a */
|
|
/* loaded from: classes.dex */
|
|
public static class C1878a {
|
|
/* renamed from: a */
|
|
public static Insets m138a(int i, int i2, int i3, int i4) {
|
|
Insets of;
|
|
of = Insets.of(i, i2, i3, i4);
|
|
return of;
|
|
}
|
|
}
|
|
|
|
public C1877g(int i, int i2, int i3, int i4) {
|
|
this.f4680a = i;
|
|
this.f4681b = i2;
|
|
this.f4682c = i3;
|
|
this.f4683d = i4;
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public static C1877g m143a(C1877g c1877g, C1877g c1877g2) {
|
|
return m142b(Math.max(c1877g.f4680a, c1877g2.f4680a), Math.max(c1877g.f4681b, c1877g2.f4681b), Math.max(c1877g.f4682c, c1877g2.f4682c), Math.max(c1877g.f4683d, c1877g2.f4683d));
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public static C1877g m142b(int i, int i2, int i3, int i4) {
|
|
return (i == 0 && i2 == 0 && i3 == 0 && i4 == 0) ? f4679e : new C1877g(i, i2, i3, i4);
|
|
}
|
|
|
|
/* renamed from: c */
|
|
public static C1877g m141c(Rect rect) {
|
|
return m142b(rect.left, rect.top, rect.right, rect.bottom);
|
|
}
|
|
|
|
/* renamed from: d */
|
|
public static C1877g m140d(Insets insets) {
|
|
int i;
|
|
int i2;
|
|
int i3;
|
|
int i4;
|
|
i = insets.left;
|
|
i2 = insets.top;
|
|
i3 = insets.right;
|
|
i4 = insets.bottom;
|
|
return m142b(i, i2, i3, i4);
|
|
}
|
|
|
|
/* renamed from: e */
|
|
public Insets m139e() {
|
|
return C1878a.m138a(this.f4680a, this.f4681b, this.f4682c, this.f4683d);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || C1877g.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
C1877g c1877g = (C1877g) obj;
|
|
return this.f4683d == c1877g.f4683d && this.f4680a == c1877g.f4680a && this.f4682c == c1877g.f4682c && this.f4681b == c1877g.f4681b;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((this.f4680a * 31) + this.f4681b) * 31) + this.f4682c) * 31) + this.f4683d;
|
|
}
|
|
|
|
public String toString() {
|
|
return "Insets{left=" + this.f4680a + ", top=" + this.f4681b + ", right=" + this.f4682c + ", bottom=" + this.f4683d + '}';
|
|
}
|
|
} |