2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/app/AppScrollingViewBehavior;
|
|
|
|
.super Lcom/google/android/material/appbar/AppBarLayout$ScrollingViewBehavior;
|
|
|
|
.source "AppScrollingViewBehavior.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/app/AppScrollingViewBehavior$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final a:Lcom/discord/app/AppScrollingViewBehavior$a;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/google/android/material/appbar/AppBarLayout$ScrollingViewBehavior;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/app/AppScrollingViewBehavior$a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lcom/discord/app/AppScrollingViewBehavior$a;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppScrollingViewBehavior;->a:Lcom/discord/app/AppScrollingViewBehavior$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "attrs"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onApplyWindowInsets(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/utilities/display/DisplayUtils;->getNO_OP_WINDOW_INSETS_LISTENER()Landroidx/core/view/OnApplyWindowInsetsListener;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Landroidx/core/view/ViewCompat;->setOnApplyWindowInsetsListener(Landroid/view/View;Landroidx/core/view/OnApplyWindowInsetsListener;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/app/AppScrollingViewBehavior;->a:Lcom/discord/app/AppScrollingViewBehavior$a;
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2, p3}, Lcom/discord/app/AppScrollingViewBehavior$a;->onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
|
|
|
|
return-object p3
|
|
|
|
.end method
|