apkfuckery/com.discord/smali/androidx/drawerlayout/widget/DrawerLayout$1.smali

64 lines
1.6 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/drawerlayout/widget/DrawerLayout$1;
2019-07-24 11:27:29 +00:00
.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;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;)V
2019-07-24 11:27:29 +00:00
.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