699 lines
18 KiB
Smali
699 lines
18 KiB
Smali
|
.class public Landroidx/core/view/WindowInsetsCompat;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "WindowInsetsCompat.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mInsets:Ljava/lang/Object;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/core/view/WindowInsetsCompat;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Landroid/view/WindowInsets;
|
||
|
|
||
|
iget-object p1, p1, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
|
||
|
|
||
|
check-cast p1, Landroid/view/WindowInsets;
|
||
|
|
||
|
invoke-direct {v0, p1}, Landroid/view/WindowInsets;-><init>(Landroid/view/WindowInsets;)V
|
||
|
|
||
|
move-object p1, v0
|
||
|
|
||
|
:goto_0
|
||
|
iput-object p1, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Ljava/lang/Object;)V
|
||
|
.locals 0
|
||
|
.param p1 # Ljava/lang/Object;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.annotation build Landroidx/annotation/RestrictTo;
|
||
|
value = {
|
||
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
||
|
.end annotation
|
||
|
|
||
|
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
|
||
|
.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}, 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
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.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
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
|
||
|
.locals 2
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.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
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.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/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
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
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 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getStableInsetLeft()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getStableInsetRight()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getStableInsetTop()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getStableInsets()Landroidx/core/graphics/Insets;
|
||
|
.locals 4
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
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
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
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 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getSystemWindowInsetLeft()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getSystemWindowInsetRight()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getSystemWindowInsetTop()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public getSystemWindowInsets()Landroidx/core/graphics/Insets;
|
||
|
.locals 4
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
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
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
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 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public hasStableInsets()Z
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public hasSystemWindowInsets()Z
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.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 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public isRound()Z
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public replaceSystemWindowInsets(IIII)Landroidx/core/view/WindowInsetsCompat;
|
||
|
.locals 2
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroidx/core/view/WindowInsetsCompat;
|
||
|
.locals 2
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
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
|
||
|
.end method
|
||
|
|
||
|
.method public toWindowInsets()Landroid/view/WindowInsets;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/annotation/RequiresApi;
|
||
|
value = 0x14
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
|
||
|
|
||
|
check-cast v0, Landroid/view/WindowInsets;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|