109 lines
3.8 KiB
Smali
109 lines
3.8 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;
|
|
.super Lj0/o/c/i;
|
|
.source "WidgetSettingsDeveloper.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/WidgetSettingsDeveloper;->setupNoticesSection()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/o/c/i;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Landroidx/recyclerview/widget/ItemTouchHelper;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/settings/WidgetSettingsDeveloper;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;->this$0:Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lj0/o/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke()Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
.locals 5
|
|
|
|
new-instance v0, Lcom/discord/utilities/views/SwipeableItemTouchHelper$SwipeRevealConfiguration;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;->this$0:Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
|
|
|
|
const v2, 0x7f06021c
|
|
|
|
invoke-static {v1, v2}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroidx/fragment/app/Fragment;I)I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;->this$0:Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
|
|
|
|
invoke-virtual {v2}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
const v3, 0x7f0802aa
|
|
|
|
invoke-static {v2, v3}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;->this$0:Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
|
|
|
|
invoke-virtual {v3}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v3
|
|
|
|
const v4, 0x7f0701ee
|
|
|
|
invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
move-result v3
|
|
|
|
float-to-int v3, v3
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lcom/discord/utilities/views/SwipeableItemTouchHelper$SwipeRevealConfiguration;-><init>(ILandroid/graphics/drawable/Drawable;I)V
|
|
|
|
new-instance v1, Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
new-instance v2, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1$1;
|
|
|
|
invoke-direct {v2, v0, v0, v0}, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1$1;-><init>(Lcom/discord/utilities/views/SwipeableItemTouchHelper$SwipeRevealConfiguration;Lcom/discord/utilities/views/SwipeableItemTouchHelper$SwipeRevealConfiguration;Lcom/discord/utilities/views/SwipeableItemTouchHelper$SwipeRevealConfiguration;)V
|
|
|
|
invoke-direct {v1, v2}, Landroidx/recyclerview/widget/ItemTouchHelper;-><init>(Landroidx/recyclerview/widget/ItemTouchHelper$Callback;)V
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/settings/WidgetSettingsDeveloper$setupNoticesSection$1;->invoke()Landroidx/recyclerview/widget/ItemTouchHelper;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|