96 lines
2.3 KiB
Java
96 lines
2.3 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Build;
|
||
|
import android.view.DisplayCutout;
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
|
||
|
/* renamed from: o.daI, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C8935daI {
|
||
|
private final DisplayCutout d;
|
||
|
|
||
|
private C8935daI(DisplayCutout displayCutout) {
|
||
|
this.d = displayCutout;
|
||
|
}
|
||
|
|
||
|
public final int d() {
|
||
|
if (Build.VERSION.SDK_INT >= 28) {
|
||
|
return HBt.rn_(this.d);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public final int e() {
|
||
|
if (Build.VERSION.SDK_INT >= 28) {
|
||
|
return HBt.rk_(this.d);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public final int a() {
|
||
|
if (Build.VERSION.SDK_INT >= 28) {
|
||
|
return HBt.rl_(this.d);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public final int b() {
|
||
|
if (Build.VERSION.SDK_INT >= 28) {
|
||
|
return HBt.rm_(this.d);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (obj == null || getClass() != obj.getClass()) {
|
||
|
return false;
|
||
|
}
|
||
|
return ZEY.b(this.d, ((C8935daI) obj).d);
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
DisplayCutout displayCutout = this.d;
|
||
|
if (displayCutout == null) {
|
||
|
return 0;
|
||
|
}
|
||
|
return displayCutout.hashCode();
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
StringBuilder sb = new StringBuilder("DisplayCutoutCompat{");
|
||
|
sb.append(this.d);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public static C8935daI rj_(DisplayCutout displayCutout) {
|
||
|
if (displayCutout == null) {
|
||
|
return null;
|
||
|
}
|
||
|
return new C8935daI(displayCutout);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.daI$HBt */
|
||
|
/* loaded from: classes.dex */
|
||
|
static class HBt {
|
||
|
static int rn_(DisplayCutout displayCutout) {
|
||
|
return displayCutout.getSafeInsetTop();
|
||
|
}
|
||
|
|
||
|
static int rk_(DisplayCutout displayCutout) {
|
||
|
return displayCutout.getSafeInsetBottom();
|
||
|
}
|
||
|
|
||
|
static int rl_(DisplayCutout displayCutout) {
|
||
|
return displayCutout.getSafeInsetLeft();
|
||
|
}
|
||
|
|
||
|
static int rm_(DisplayCutout displayCutout) {
|
||
|
return displayCutout.getSafeInsetRight();
|
||
|
}
|
||
|
}
|
||
|
}
|