64 lines
1.6 KiB
Smali
64 lines
1.6 KiB
Smali
|
.class 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 = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method 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
|