granularity level: instruction
.class public final Landroidx/core/view/DisplayCutoutCompat;
.super Ljava/lang/Object;
.source "DisplayCutoutCompat.java"
.field private final mDisplayCutout:Ljava/lang/Object;
.method public constructor <init>(Landroid/graphics/Rect;Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Rect;",
"Ljava/util/List<",
"Landroid/graphics/Rect;",
">;)V"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
new-instance v0, Landroid/view/DisplayCutout;
invoke-direct {v0, p1, p2}, Landroid/view/DisplayCutout;-><init>(Landroid/graphics/Rect;Ljava/util/List;)V
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-direct {p0, v0}, Landroidx/core/view/DisplayCutoutCompat;-><init>(Ljava/lang/Object;)V
return-void
.end method
.method private constructor <init>(Ljava/lang/Object;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
return-void
.end method
.method static wrap(Ljava/lang/Object;)Landroidx/core/view/DisplayCutoutCompat;
.locals 1
if-nez p0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
new-instance v0, Landroidx/core/view/DisplayCutoutCompat;
invoke-direct {v0, p0}, Landroidx/core/view/DisplayCutoutCompat;-><init>(Ljava/lang/Object;)V
move-object p0, v0
:goto_0
return-object p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_4
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_1
goto :goto_1
:cond_1
check-cast p1, Landroidx/core/view/DisplayCutoutCompat;
iget-object v2, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
iget-object p1, p1, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
if-nez v2, :cond_3
if-nez p1, :cond_2
goto :goto_0
:cond_2
const/4 v0, 0x0
goto :goto_0
:cond_3
invoke-virtual {v2, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
:goto_0
return v0
:goto_1
:cond_4
return v1
.end method
.method public getBoundingRects()Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Landroid/graphics/Rect;",
">;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
check-cast v0, Landroid/view/DisplayCutout;
invoke-virtual {v0}, Landroid/view/DisplayCutout;->getBoundingRects()Ljava/util/List;
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method
.method public getSafeInsetBottom()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
check-cast v0, Landroid/view/DisplayCutout;
invoke-virtual {v0}, Landroid/view/DisplayCutout;->getSafeInsetBottom()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSafeInsetLeft()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
check-cast v0, Landroid/view/DisplayCutout;
invoke-virtual {v0}, Landroid/view/DisplayCutout;->getSafeInsetLeft()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSafeInsetRight()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
check-cast v0, Landroid/view/DisplayCutout;
invoke-virtual {v0}, Landroid/view/DisplayCutout;->getSafeInsetRight()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSafeInsetTop()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
check-cast v0, Landroid/view/DisplayCutout;
invoke-virtual {v0}, Landroid/view/DisplayCutout;->getSafeInsetTop()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public hashCode()I
.locals 1
iget-object v0, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
:goto_0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "DisplayCutoutCompat{"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Landroidx/core/view/DisplayCutoutCompat;->mDisplayCutout:Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method