164 lines
3.6 KiB
Smali
164 lines
3.6 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetSettingsLanguageSelect.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Model"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model$Item;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;->INSTANCE:Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getLocales()Ljava/util/List;
|
|
.locals 29
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model$Item;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "da"
|
|
|
|
const-string v1, "de"
|
|
|
|
const-string v2, "en-GB"
|
|
|
|
const-string v3, "en-US"
|
|
|
|
const-string v4, "es-ES"
|
|
|
|
const-string v5, "fr"
|
|
|
|
const-string v6, "hr"
|
|
|
|
const-string v7, "it"
|
|
|
|
const-string v8, "lt"
|
|
|
|
const-string v9, "hu"
|
|
|
|
const-string v10, "nl"
|
|
|
|
const-string v11, "no"
|
|
|
|
const-string v12, "pl"
|
|
|
|
const-string v13, "pt-BR"
|
|
|
|
const-string v14, "ro"
|
|
|
|
const-string v15, "fi"
|
|
|
|
const-string v16, "sv-SE"
|
|
|
|
const-string v17, "vi"
|
|
|
|
const-string v18, "tr"
|
|
|
|
const-string v19, "cs"
|
|
|
|
const-string v20, "el"
|
|
|
|
const-string v21, "bg"
|
|
|
|
const-string v22, "ru"
|
|
|
|
const-string v23, "uk"
|
|
|
|
const-string v24, "ja"
|
|
|
|
const-string v25, "zh-TW"
|
|
|
|
const-string v26, "th"
|
|
|
|
const-string v27, "zh-CN"
|
|
|
|
const-string v28, "ko"
|
|
|
|
filled-new-array/range {v0 .. v28}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/h/a/f/e/n/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-static {v0, v2}, Lf/h/a/f/e/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
new-instance v3, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model$Item;
|
|
|
|
invoke-direct {v3, v2}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect$Model$Item;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v1
|
|
.end method
|