364 lines
13 KiB
Smali
364 lines
13 KiB
Smali
.class public final enum Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
.super Ljava/lang/Enum;
|
|
.source "AccessibilityFeatureFlags.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $VALUES:[Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum BOLD_TEXT:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum CHAT_FONT_SCALE_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum CHAT_FONT_SCALE_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum DARK_SIDEBAR:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum GRAYSCALE:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum HIGH_CONTRAST:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum INVERT_COLORS:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum MESSAGE_GROUP_SPACING_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum MESSAGE_GROUP_SPACING_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum NONE:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum PREFERS_COLOR_SCHEME_DARK:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum PREFERS_COLOR_SCHEME_LIGHT:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum REDUCED_MOTION:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum REDUCED_TRANSPARENCY:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum SCREENREADER:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum ZOOM_LEVEL_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
.field public static final enum ZOOM_LEVEL_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
|
|
# instance fields
|
|
.field public final value:J
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const/16 v0, 0x11
|
|
|
|
new-array v0, v0, [Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-string v3, "NONE"
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->NONE:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "SCREENREADER"
|
|
|
|
const-wide/16 v4, 0x1
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->SCREENREADER:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const-string v3, "REDUCED_MOTION"
|
|
|
|
const-wide/16 v4, 0x2
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->REDUCED_MOTION:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const-string v3, "REDUCED_TRANSPARENCY"
|
|
|
|
const-wide/16 v4, 0x4
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->REDUCED_TRANSPARENCY:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const-string v3, "HIGH_CONTRAST"
|
|
|
|
const-wide/16 v4, 0x8
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->HIGH_CONTRAST:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
const-string v3, "BOLD_TEXT"
|
|
|
|
const-wide/16 v4, 0x10
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->BOLD_TEXT:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
const-string v3, "GRAYSCALE"
|
|
|
|
const-wide/16 v4, 0x20
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->GRAYSCALE:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/4 v2, 0x7
|
|
|
|
const-string v3, "INVERT_COLORS"
|
|
|
|
const-wide/16 v4, 0x40
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->INVERT_COLORS:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
const-string v3, "PREFERS_COLOR_SCHEME_LIGHT"
|
|
|
|
const-wide/16 v4, 0x80
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->PREFERS_COLOR_SCHEME_LIGHT:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0x9
|
|
|
|
const-string v3, "PREFERS_COLOR_SCHEME_DARK"
|
|
|
|
const-wide/16 v4, 0x100
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->PREFERS_COLOR_SCHEME_DARK:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
const-string v3, "CHAT_FONT_SCALE_INCREASED"
|
|
|
|
const-wide/16 v4, 0x200
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->CHAT_FONT_SCALE_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xb
|
|
|
|
const-string v3, "CHAT_FONT_SCALE_DECREASED"
|
|
|
|
const-wide/16 v4, 0x400
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->CHAT_FONT_SCALE_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xc
|
|
|
|
const-string v3, "ZOOM_LEVEL_INCREASED"
|
|
|
|
const-wide/16 v4, 0x800
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->ZOOM_LEVEL_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xd
|
|
|
|
const-string v3, "ZOOM_LEVEL_DECREASED"
|
|
|
|
const-wide/16 v4, 0x1000
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->ZOOM_LEVEL_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xe
|
|
|
|
const-string v3, "MESSAGE_GROUP_SPACING_INCREASED"
|
|
|
|
const-wide/16 v4, 0x2000
|
|
|
|
invoke-direct {v1, v3, v2, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->MESSAGE_GROUP_SPACING_INCREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const-string v2, "MESSAGE_GROUP_SPACING_DECREASED"
|
|
|
|
const/16 v3, 0xf
|
|
|
|
const-wide/16 v4, 0x4000
|
|
|
|
invoke-direct {v1, v2, v3, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->MESSAGE_GROUP_SPACING_DECREASED:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0xf
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const-string v2, "DARK_SIDEBAR"
|
|
|
|
const/16 v3, 0x10
|
|
|
|
const-wide/32 v4, 0x8000
|
|
|
|
invoke-direct {v1, v2, v3, v4, v5}, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;-><init>(Ljava/lang/String;IJ)V
|
|
|
|
sput-object v1, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->DARK_SIDEBAR:Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
const/16 v2, 0x10
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->$VALUES:[Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;IJ)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(J)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput-wide p3, p0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->value:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
.locals 1
|
|
|
|
const-class v0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->$VALUES:[Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
invoke-virtual {v0}, [Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getValue()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/utilities/accessibility/AccessibilityFeatureFlags;->value:J
|
|
|
|
return-wide v0
|
|
.end method
|