apkfuckery/com.discord/smali_classes2/com/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpG...

110 lines
3.3 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;
2020-09-09 19:21:20 +00:00
.super Lk0/n/c/j;
2020-07-08 16:44:49 +00:00
.source "WidgetCallFullscreen.kt"
2020-05-17 12:40:10 +00:00
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-07-08 16:44:49 +00:00
value = Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->setUpGridRecycler()V
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-09 19:21:20 +00:00
"Lk0/n/c/j;",
2020-05-17 12:40:10 +00:00
"Lkotlin/jvm/functions/Function0<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $layoutManagerOrientation:I
2020-07-08 16:44:49 +00:00
.field public final synthetic this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;I)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->$layoutManagerOrientation:I
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
2020-09-09 19:21:20 +00:00
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public final invoke()I
.locals 2
2020-07-08 16:44:49 +00:00
iget v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->$layoutManagerOrientation:I
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_1
const/4 v1, 0x1
if-ne v0, v1, :cond_0
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getVideoCallGridView$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Landroidx/recyclerview/widget/RecyclerView;
2020-05-17 12:40:10 +00:00
move-result-object v0
invoke-virtual {v0}, Landroid/view/ViewGroup;->getHeight()I
move-result v0
goto :goto_0
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
:cond_1
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;->access$getVideoCallGridView$p(Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen;)Landroidx/recyclerview/widget/RecyclerView;
2020-05-17 12:40:10 +00:00
move-result-object v0
invoke-virtual {v0}, Landroid/view/ViewGroup;->getWidth()I
move-result v0
:goto_0
return v0
.end method
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreen$setUpGridRecycler$layoutManager$1;->invoke()I
2020-05-17 12:40:10 +00:00
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
return-object v0
.end method