granularity level: instruction
.class public Landroidx/core/view/WindowInsetsCompat;
.super Ljava/lang/Object;
.source "WindowInsetsCompat.java"
.field private final mInsets:Ljava/lang/Object;
.method public constructor <init>(Landroidx/core/view/WindowInsetsCompat;)V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v1, 0x0
const/16 v2, 0x14
if-lt v0, v2, :cond_1
if-nez p1, :cond_0
goto :goto_0
:cond_0
new-instance v1, Landroid/view/WindowInsets;
iget-object p1, p1, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast p1, Landroid/view/WindowInsets;
invoke-direct {v1, p1}, Landroid/view/WindowInsets;-><init>(Landroid/view/WindowInsets;)V
:goto_0
iput-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
goto :goto_1
:cond_1
iput-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
:goto_1
return-void
.end method
.method constructor <init>(Ljava/lang/Object;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
return-void
.end method
.method public static toWindowInsetsCompat(Landroid/view/WindowInsets;)Landroidx/core/view/WindowInsetsCompat;
.locals 1
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
invoke-static {p0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
.method public consumeDisplayCutout()Landroidx/core/view/WindowInsetsCompat;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v1, Landroid/view/WindowInsets;
invoke-virtual {v1}, Landroid/view/WindowInsets;->consumeDisplayCutout()Landroid/view/WindowInsets;
move-result-object v1
invoke-direct {v0, v1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
:cond_0
return-object p0
.end method
.method public consumeStableInsets()Landroidx/core/view/WindowInsetsCompat;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v1, Landroid/view/WindowInsets;
invoke-virtual {v1}, Landroid/view/WindowInsets;->consumeStableInsets()Landroid/view/WindowInsets;
move-result-object v1
invoke-direct {v0, v1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method
.method public consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v1, Landroid/view/WindowInsets;
invoke-virtual {v1}, Landroid/view/WindowInsets;->consumeSystemWindowInsets()Landroid/view/WindowInsets;
move-result-object v1
invoke-direct {v0, v1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
if-ne p0, p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
instance-of v0, p1, Landroidx/core/view/WindowInsetsCompat;
if-nez v0, :cond_1
const/4 p1, 0x0
return p1
:cond_1
check-cast p1, Landroidx/core/view/WindowInsetsCompat;
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
iget-object p1, p1, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
invoke-static {v0, p1}, Landroidx/core/util/ObjectsCompat;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public getDisplayCutout()Landroidx/core/view/DisplayCutoutCompat;
.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/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getDisplayCutout()Landroid/view/DisplayCutout;
move-result-object v0
invoke-static {v0}, Landroidx/core/view/DisplayCutoutCompat;->wrap(Ljava/lang/Object;)Landroidx/core/view/DisplayCutoutCompat;
move-result-object v0
return-object v0
:cond_0
const/4 v0, 0x0
return-object v0
.end method
.method public getMandatorySystemGestureInsets()Landroidx/core/graphics/Insets;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getMandatorySystemGestureInsets()Landroid/graphics/Insets;
move-result-object v0
invoke-static {v0}, Landroidx/core/graphics/Insets;->wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
:cond_0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getStableInsetBottom()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetBottom()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getStableInsetLeft()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetLeft()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getStableInsetRight()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetRight()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getStableInsetTop()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetTop()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getStableInsets()Landroidx/core/graphics/Insets;
.locals 4
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsets()Landroid/graphics/Insets;
move-result-object v0
invoke-static {v0}, Landroidx/core/graphics/Insets;->wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
:cond_0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsetLeft()I
move-result v0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsetTop()I
move-result v1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsetRight()I
move-result v2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsetBottom()I
move-result v3
invoke-static {v0, v1, v2, v3}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getSystemGestureInsets()Landroidx/core/graphics/Insets;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemGestureInsets()Landroid/graphics/Insets;
move-result-object v0
invoke-static {v0}, Landroidx/core/graphics/Insets;->wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
:cond_0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getSystemWindowInsetBottom()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetBottom()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSystemWindowInsetLeft()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetLeft()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSystemWindowInsetRight()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetRight()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSystemWindowInsetTop()I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetTop()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getSystemWindowInsets()Landroidx/core/graphics/Insets;
.locals 4
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsets()Landroid/graphics/Insets;
move-result-object v0
invoke-static {v0}, Landroidx/core/graphics/Insets;->wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
:cond_0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
move-result v0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
move-result v1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
move-result v2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
move-result v3
invoke-static {v0, v1, v2, v3}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getTappableElementInsets()Landroidx/core/graphics/Insets;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getTappableElementInsets()Landroid/graphics/Insets;
move-result-object v0
invoke-static {v0}, Landroidx/core/graphics/Insets;->wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
:cond_0
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public hasInsets()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasInsets()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public hasStableInsets()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasStableInsets()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public hasSystemWindowInsets()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasSystemWindowInsets()Z
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/WindowInsetsCompat;->mInsets: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 isConsumed()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->isConsumed()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public isRound()Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->isRound()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public replaceSystemWindowInsets(IIII)Landroidx/core/view/WindowInsetsCompat;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v1, Landroid/view/WindowInsets;
invoke-virtual {v1, p1, p2, p3, p4}, Landroid/view/WindowInsets;->replaceSystemWindowInsets(IIII)Landroid/view/WindowInsets;
move-result-object p1
invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroidx/core/view/WindowInsetsCompat;
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
iget-object v1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v1, Landroid/view/WindowInsets;
invoke-virtual {v1, p1}, Landroid/view/WindowInsets;->replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroid/view/WindowInsets;
move-result-object p1
invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
return-object v0
:cond_0
const/4 p1, 0x0
return-object p1
.end method
.method public toWindowInsets()Landroid/view/WindowInsets;
.locals 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
return-object v0
.end method