WindowInsetsCompat.smali
.class public Landroid/support/v4/view/WindowInsetsCompat;
.super Ljava/lang/Object;
.source "WindowInsetsCompat.java"
# instance fields
.field private final mInsets:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Landroid/support/v4/view/WindowInsetsCompat;)V
.registers 5
.prologue
const/4 v0, 0x0
.line 43
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 44
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x14
if-lt v1, v2, :cond_1a
.line 45
if-nez p1, :cond_f
:goto_c
iput-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
.line 49
:goto_e
return-void
.line 45
:cond_f
new-instance v1, Landroid/view/WindowInsets;
iget-object v0, p1, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-direct {v1, v0}, Landroid/view/WindowInsets;-><init>(Landroid/view/WindowInsets;)V
move-object v0, v1
goto :goto_c
.line 47
:cond_1a
iput-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
goto :goto_e
.end method
.method private constructor <init>(Ljava/lang/Object;)V
.registers 2
.prologue
.line 34
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 35
iput-object p1, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
.line 36
return-void
.end method
.method static unwrap(Landroid/support/v4/view/WindowInsetsCompat;)Ljava/lang/Object;
.registers 2
.prologue
.line 368
if-nez p0, :cond_4
const/4 v0, 0x0
:goto_3
return-object v0
:cond_4
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
goto :goto_3
.end method
.method static wrap(Ljava/lang/Object;)Landroid/support/v4/view/WindowInsetsCompat;
.registers 2
.prologue
.line 364
if-nez p0, :cond_4
const/4 v0, 0x0
:goto_3
return-object v0
:cond_4
new-instance v0, Landroid/support/v4/view/WindowInsetsCompat;
invoke-direct {v0, p0}, Landroid/support/v4/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
goto :goto_3
.end method
# virtual methods
.method public consumeStableInsets()Landroid/support/v4/view/WindowInsetsCompat;
.registers 3
.prologue
.line 339
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_15
.line 340
new-instance v1, Landroid/support/v4/view/WindowInsetsCompat;
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->consumeStableInsets()Landroid/view/WindowInsets;
move-result-object v0
invoke-direct {v1, v0}, Landroid/support/v4/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
move-object v0, v1
.line 342
:goto_14
return-object v0
:cond_15
const/4 v0, 0x0
goto :goto_14
.end method
.method public consumeSystemWindowInsets()Landroid/support/v4/view/WindowInsetsCompat;
.registers 3
.prologue
.line 194
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_15
.line 195
new-instance v1, Landroid/support/v4/view/WindowInsetsCompat;
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->consumeSystemWindowInsets()Landroid/view/WindowInsets;
move-result-object v0
invoke-direct {v1, v0}, Landroid/support/v4/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
move-object v0, v1
.line 197
:goto_14
return-object v0
:cond_15
const/4 v0, 0x0
goto :goto_14
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 6
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 348
if-ne p0, p1, :cond_5
.line 355
:cond_4
:goto_4
return v0
.line 351
:cond_5
if-eqz p1, :cond_11
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_13
:cond_11
move v0, v1
.line 352
goto :goto_4
.line 354
:cond_13
check-cast p1, Landroid/support/v4/view/WindowInsetsCompat;
.line 355
iget-object v2, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
if-nez v2, :cond_1f
iget-object v2, p1, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
if-eqz v2, :cond_4
move v0, v1
goto :goto_4
:cond_1f
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
iget-object v1, p1, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
goto :goto_4
.end method
.method public getStableInsetBottom()I
.registers 3
.prologue
.line 307
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 308
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetBottom()I
move-result v0
.line 310
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getStableInsetLeft()I
.registers 3
.prologue
.line 268
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 269
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetLeft()I
move-result v0
.line 271
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getStableInsetRight()I
.registers 3
.prologue
.line 287
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 288
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetRight()I
move-result v0
.line 290
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getStableInsetTop()I
.registers 3
.prologue
.line 249
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 250
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getStableInsetTop()I
move-result v0
.line 252
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getSystemWindowInsetBottom()I
.registers 3
.prologue
.line 112
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 113
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetBottom()I
move-result v0
.line 115
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getSystemWindowInsetLeft()I
.registers 3
.prologue
.line 61
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 62
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetLeft()I
move-result v0
.line 64
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getSystemWindowInsetRight()I
.registers 3
.prologue
.line 95
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 96
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetRight()I
move-result v0
.line 98
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public getSystemWindowInsetTop()I
.registers 3
.prologue
.line 78
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 79
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->getSystemWindowInsetTop()I
move-result v0
.line 81
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public hasInsets()Z
.registers 3
.prologue
.line 142
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 143
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasInsets()Z
move-result v0
.line 145
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public hasStableInsets()Z
.registers 3
.prologue
.line 326
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 327
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasStableInsets()Z
move-result v0
.line 329
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public hasSystemWindowInsets()Z
.registers 3
.prologue
.line 129
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 130
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->hasSystemWindowInsets()Z
move-result v0
.line 132
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public hashCode()I
.registers 2
.prologue
.line 360
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
if-nez v0, :cond_6
const/4 v0, 0x0
:goto_5
return v0
:cond_6
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_5
.end method
.method public isConsumed()Z
.registers 3
.prologue
.line 163
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_f
.line 164
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->isConsumed()Z
move-result v0
.line 166
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public isRound()Z
.registers 3
.prologue
.line 181
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_f
.line 182
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
invoke-virtual {v0}, Landroid/view/WindowInsets;->isRound()Z
move-result v0
.line 184
:goto_e
return v0
:cond_f
const/4 v0, 0x0
goto :goto_e
.end method
.method public replaceSystemWindowInsets(IIII)Landroid/support/v4/view/WindowInsetsCompat;
.registers 7
.prologue
.line 212
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x14
if-lt v0, v1, :cond_15
.line 213
new-instance v1, Landroid/support/v4/view/WindowInsetsCompat;
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
.line 214
invoke-virtual {v0, p1, p2, p3, p4}, Landroid/view/WindowInsets;->replaceSystemWindowInsets(IIII)Landroid/view/WindowInsets;
move-result-object v0
invoke-direct {v1, v0}, Landroid/support/v4/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
move-object v0, v1
.line 216
:goto_14
return-object v0
:cond_15
const/4 v0, 0x0
goto :goto_14
.end method
.method public replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroid/support/v4/view/WindowInsetsCompat;
.registers 4
.prologue
.line 229
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_15
.line 230
new-instance v1, Landroid/support/v4/view/WindowInsetsCompat;
iget-object v0, p0, Landroid/support/v4/view/WindowInsetsCompat;->mInsets:Ljava/lang/Object;
check-cast v0, Landroid/view/WindowInsets;
.line 231
invoke-virtual {v0, p1}, Landroid/view/WindowInsets;->replaceSystemWindowInsets(Landroid/graphics/Rect;)Landroid/view/WindowInsets;
move-result-object v0
invoke-direct {v1, v0}, Landroid/support/v4/view/WindowInsetsCompat;-><init>(Ljava/lang/Object;)V
move-object v0, v1
.line 233
:goto_14
return-object v0
:cond_15
const/4 v0, 0x0
goto :goto_14
.end method