apkfuckery/com.discord/smali/androidx/drawerlayout/widget/DrawerLayout$1.smali
2020-05-17 12:40:10 +00:00

63 lines
1.6 KiB
Smali

.class public Landroidx/drawerlayout/widget/DrawerLayout$1;
.super Ljava/lang/Object;
.source "DrawerLayout.java"
# interfaces
.implements Landroid/view/View$OnApplyWindowInsetsListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/drawerlayout/widget/DrawerLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
# direct methods
.method public constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;)V
.locals 0
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$1;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onApplyWindowInsets(Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets;
.locals 1
check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout;
invoke-virtual {p2}, Landroid/view/WindowInsets;->getSystemWindowInsetTop()I
move-result v0
if-lez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-virtual {p1, p2, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->setChildInsets(Ljava/lang/Object;Z)V
invoke-virtual {p2}, Landroid/view/WindowInsets;->consumeSystemWindowInsets()Landroid/view/WindowInsets;
move-result-object p1
return-object p1
.end method