apkfuckery/com.discord/smali/androidx/core/view/WindowInsetsCompat.smali

853 lines
24 KiB
Smali

.class public Landroidx/core/view/WindowInsetsCompat;
.super Ljava/lang/Object;
.source "WindowInsetsCompat.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/view/WindowInsetsCompat$BuilderImpl29;,
Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;,
Landroidx/core/view/WindowInsetsCompat$BuilderImpl;,
Landroidx/core/view/WindowInsetsCompat$Builder;,
Landroidx/core/view/WindowInsetsCompat$Impl29;,
Landroidx/core/view/WindowInsetsCompat$Impl28;,
Landroidx/core/view/WindowInsetsCompat$Impl21;,
Landroidx/core/view/WindowInsetsCompat$Impl20;,
Landroidx/core/view/WindowInsetsCompat$Impl;
}
.end annotation
# static fields
.field public static final CONSUMED:Landroidx/core/view/WindowInsetsCompat;
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.end field
.field public static final TAG:Ljava/lang/String; = "WindowInsetsCompat"
# instance fields
.field public final mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Builder;
invoke-direct {v0}, Landroidx/core/view/WindowInsetsCompat$Builder;-><init>()V
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Builder;->build()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->consumeDisplayCutout()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->consumeStableInsets()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat;->consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
sput-object v0, Landroidx/core/view/WindowInsetsCompat;->CONSUMED:Landroidx/core/view/WindowInsetsCompat;
return-void
.end method
.method public constructor <init>(Landroid/view/WindowInsets;)V
.locals 2
.param p1 # Landroid/view/WindowInsets;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RequiresApi;
value = 0x14
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl29;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl29;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroid/view/WindowInsets;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_0
const/16 v1, 0x1c
if-lt v0, v1, :cond_1
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl28;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl28;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroid/view/WindowInsets;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_1
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl21;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl21;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroid/view/WindowInsets;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
:goto_0
return-void
.end method
.method public constructor <init>(Landroidx/core/view/WindowInsetsCompat;)V
.locals 2
.param p1 # Landroidx/core/view/WindowInsetsCompat;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_4
iget-object p1, p1, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
instance-of v0, p1, Landroidx/core/view/WindowInsetsCompat$Impl29;
if-eqz v0, :cond_0
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl29;
check-cast p1, Landroidx/core/view/WindowInsetsCompat$Impl29;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl29;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroidx/core/view/WindowInsetsCompat$Impl29;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_1
instance-of v0, p1, Landroidx/core/view/WindowInsetsCompat$Impl28;
if-eqz v0, :cond_1
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl28;
check-cast p1, Landroidx/core/view/WindowInsetsCompat$Impl28;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl28;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroidx/core/view/WindowInsetsCompat$Impl28;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_1
instance-of v0, p1, Landroidx/core/view/WindowInsetsCompat$Impl21;
if-eqz v0, :cond_2
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl21;
check-cast p1, Landroidx/core/view/WindowInsetsCompat$Impl21;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl21;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroidx/core/view/WindowInsetsCompat$Impl21;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_2
instance-of v0, p1, Landroidx/core/view/WindowInsetsCompat$Impl20;
if-eqz v0, :cond_3
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Impl20;
check-cast p1, Landroidx/core/view/WindowInsetsCompat$Impl20;
invoke-direct {v0, p0, p1}, Landroidx/core/view/WindowInsetsCompat$Impl20;-><init>(Landroidx/core/view/WindowInsetsCompat;Landroidx/core/view/WindowInsetsCompat$Impl20;)V
iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_3
new-instance p1, Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-direct {p1, p0}, Landroidx/core/view/WindowInsetsCompat$Impl;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
goto :goto_0
:cond_4
new-instance p1, Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-direct {p1, p0}, Landroidx/core/view/WindowInsetsCompat$Impl;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
:goto_0
return-void
.end method
.method public static insetInsets(Landroidx/core/graphics/Insets;IIII)Landroidx/core/graphics/Insets;
.locals 5
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
sub-int/2addr v0, p1
const/4 v1, 0x0
invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I
move-result v0
iget v2, p0, Landroidx/core/graphics/Insets;->top:I
sub-int/2addr v2, p2
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
move-result v2
iget v3, p0, Landroidx/core/graphics/Insets;->right:I
sub-int/2addr v3, p3
invoke-static {v1, v3}, Ljava/lang/Math;->max(II)I
move-result v3
iget v4, p0, Landroidx/core/graphics/Insets;->bottom:I
sub-int/2addr v4, p4
invoke-static {v1, v4}, Ljava/lang/Math;->max(II)I
move-result v1
if-ne v0, p1, :cond_0
if-ne v2, p2, :cond_0
if-ne v3, p3, :cond_0
if-ne v1, p4, :cond_0
return-object p0
:cond_0
invoke-static {v0, v2, v3, v1}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
move-result-object p0
return-object p0
.end method
.method public static toWindowInsetsCompat(Landroid/view/WindowInsets;)Landroidx/core/view/WindowInsetsCompat;
.locals 1
.param p0 # Landroid/view/WindowInsets;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/RequiresApi;
value = 0x14
.end annotation
new-instance v0, Landroidx/core/view/WindowInsetsCompat;
invoke-static {p0}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/view/WindowInsets;
invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsCompat;-><init>(Landroid/view/WindowInsets;)V
return-object v0
.end method
# virtual methods
.method public consumeDisplayCutout()Landroidx/core/view/WindowInsetsCompat;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->consumeDisplayCutout()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
return-object v0
.end method
.method public consumeStableInsets()Landroidx/core/view/WindowInsetsCompat;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->consumeStableInsets()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
return-object v0
.end method
.method public consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
move-result-object v0
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;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
iget-object p1, p1, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
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 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getDisplayCutout()Landroidx/core/view/DisplayCutoutCompat;
move-result-object v0
return-object v0
.end method
.method public getMandatorySystemGestureInsets()Landroidx/core/graphics/Insets;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getMandatorySystemGestureInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getStableInsetBottom()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->bottom:I
return v0
.end method
.method public getStableInsetLeft()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->left:I
return v0
.end method
.method public getStableInsetRight()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->right:I
return v0
.end method
.method public getStableInsetTop()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->top:I
return v0
.end method
.method public getStableInsets()Landroidx/core/graphics/Insets;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getSystemGestureInsets()Landroidx/core/graphics/Insets;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getSystemGestureInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getSystemWindowInsetBottom()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->bottom:I
return v0
.end method
.method public getSystemWindowInsetLeft()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->left:I
return v0
.end method
.method public getSystemWindowInsetRight()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->right:I
return v0
.end method
.method public getSystemWindowInsetTop()I
.locals 1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
iget v0, v0, Landroidx/core/graphics/Insets;->top:I
return v0
.end method
.method public getSystemWindowInsets()Landroidx/core/graphics/Insets;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public getTappableElementInsets()Landroidx/core/graphics/Insets;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->getTappableElementInsets()Landroidx/core/graphics/Insets;
move-result-object v0
return-object v0
.end method
.method public hasInsets()Z
.locals 2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->hasSystemWindowInsets()Z
move-result v0
if-nez v0, :cond_1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->hasStableInsets()Z
move-result v0
if-nez v0, :cond_1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getDisplayCutout()Landroidx/core/view/DisplayCutoutCompat;
move-result-object v0
if-nez v0, :cond_1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemGestureInsets()Landroidx/core/graphics/Insets;
move-result-object v0
sget-object v1, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
invoke-virtual {v0, v1}, Landroidx/core/graphics/Insets;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getMandatorySystemGestureInsets()Landroidx/core/graphics/Insets;
move-result-object v0
sget-object v1, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
invoke-virtual {v0, v1}, Landroidx/core/graphics/Insets;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getTappableElementInsets()Landroidx/core/graphics/Insets;
move-result-object v0
sget-object v1, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
invoke-virtual {v0, v1}, Landroidx/core/graphics/Insets;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
.method public hasStableInsets()Z
.locals 2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getStableInsets()Landroidx/core/graphics/Insets;
move-result-object v0
sget-object v1, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
invoke-virtual {v0, v1}, Landroidx/core/graphics/Insets;->equals(Ljava/lang/Object;)Z
move-result v0
xor-int/lit8 v0, v0, 0x1
return v0
.end method
.method public hasSystemWindowInsets()Z
.locals 2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsets()Landroidx/core/graphics/Insets;
move-result-object v0
sget-object v1, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
invoke-virtual {v0, v1}, Landroidx/core/graphics/Insets;->equals(Ljava/lang/Object;)Z
move-result v0
xor-int/lit8 v0, v0, 0x1
return v0
.end method
.method public hashCode()I
.locals 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->hashCode()I
move-result v0
:goto_0
return v0
.end method
.method public inset(IIII)Landroidx/core/view/WindowInsetsCompat;
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.param p2 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.param p3 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.param p4 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0, p1, p2, p3, p4}, Landroidx/core/view/WindowInsetsCompat$Impl;->inset(IIII)Landroidx/core/view/WindowInsetsCompat;
move-result-object p1
return-object p1
.end method
.method public inset(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat;
.locals 3
.param p1 # Landroidx/core/graphics/Insets;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget v0, p1, Landroidx/core/graphics/Insets;->left:I
iget v1, p1, Landroidx/core/graphics/Insets;->top:I
iget v2, p1, Landroidx/core/graphics/Insets;->right:I
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
invoke-virtual {p0, v0, v1, v2, p1}, Landroidx/core/view/WindowInsetsCompat;->inset(IIII)Landroidx/core/view/WindowInsetsCompat;
move-result-object p1
return-object p1
.end method
.method public isConsumed()Z
.locals 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->isConsumed()Z
move-result v0
return v0
.end method
.method public isRound()Z
.locals 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$Impl;->isRound()Z
move-result v0
return v0
.end method
.method public replaceSystemWindowInsets(IIII)Landroidx/core/view/WindowInsetsCompat;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Builder;
invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsCompat$Builder;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
invoke-static {p1, p2, p3, p4}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
move-result-object p1
invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$Builder;->setSystemWindowInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder;
move-result-object p1
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat$Builder;->build()Landroidx/core/view/WindowInsetsCompat;
move-result-object p1
return-object p1
.end method
.method public replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroidx/core/view/WindowInsetsCompat;
.locals 1
.param p1 # Landroid/graphics/Rect;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
new-instance v0, Landroidx/core/view/WindowInsetsCompat$Builder;
invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsCompat$Builder;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
invoke-static {p1}, Landroidx/core/graphics/Insets;->of(Landroid/graphics/Rect;)Landroidx/core/graphics/Insets;
move-result-object p1
invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$Builder;->setSystemWindowInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder;
move-result-object p1
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat$Builder;->build()Landroidx/core/view/WindowInsetsCompat;
move-result-object p1
return-object p1
.end method
.method public toWindowInsets()Landroid/view/WindowInsets;
.locals 2
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Landroidx/annotation/RequiresApi;
value = 0x14
.end annotation
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mImpl:Landroidx/core/view/WindowInsetsCompat$Impl;
instance-of v1, v0, Landroidx/core/view/WindowInsetsCompat$Impl20;
if-eqz v1, :cond_0
check-cast v0, Landroidx/core/view/WindowInsetsCompat$Impl20;
iget-object v0, v0, Landroidx/core/view/WindowInsetsCompat$Impl20;->mPlatformInsets:Landroid/view/WindowInsets;
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return-object v0
.end method