174 lines
3.8 KiB
Smali
174 lines
3.8 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChatInputEmojiPicker.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getCategoryIconResId(Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;Lcom/discord/models/domain/emoji/EmojiCategory;)I
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;->getCategoryIconResId(Lcom/discord/models/domain/emoji/EmojiCategory;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$initCategoryIndices(Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;)Ljava/util/Map;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/chat/input/emoji/WidgetChatInputEmojiPicker$Companion;->initCategoryIndices()Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private final getCategoryIconResId(Lcom/discord/models/domain/emoji/EmojiCategory;)I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/AttrRes;
|
|
.end annotation
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p1
|
|
|
|
const v0, 0x7f0404eb
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
const v0, 0x7f0404f1
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
const v0, 0x7f0404ec
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
const v0, 0x7f0404f2
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
const v0, 0x7f0404ef
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
const v0, 0x7f0404f3
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
const v0, 0x7f0404ea
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
const v0, 0x7f0404ed
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_7
|
|
const v0, 0x7f0404ee
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_8
|
|
const v0, 0x7f0404f0
|
|
|
|
:goto_0
|
|
:pswitch_9
|
|
return v0
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_0
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private final initCategoryIndices()Ljava/util/Map;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Lcom/discord/models/domain/emoji/EmojiCategory;",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
invoke-static {}, Lcom/discord/models/domain/emoji/EmojiCategory;->values()[Lcom/discord/models/domain/emoji/EmojiCategory;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v2, v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v2, :cond_0
|
|
|
|
aget-object v4, v1, v3
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-interface {v0, v4, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|