59 lines
1.2 KiB
Smali
59 lines
1.2 KiB
Smali
.class Landroidx/core/view/WindowCompat$Api16Impl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/view/WindowCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Api16Impl"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 141
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setDecorFitsSystemWindows(Landroid/view/Window;Z)V
|
|
.locals 1
|
|
.param p0 # Landroid/view/Window;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 151
|
|
invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
|
|
|
|
move-result-object p0
|
|
|
|
.line 152
|
|
invoke-virtual {p0}, Landroid/view/View;->getSystemUiVisibility()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
and-int/lit16 p1, v0, -0x701
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
or-int/lit16 p1, v0, 0x700
|
|
|
|
.line 153
|
|
:goto_0
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->setSystemUiVisibility(I)V
|
|
|
|
return-void
|
|
.end method
|