335 lines
8.8 KiB
Smali
335 lines
8.8 KiB
Smali
.class public final Lcom/discord/utilities/media/AppSound;
|
|
.super Ljava/lang/Object;
|
|
.source "AppSound.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/utilities/media/AppSound$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lcom/discord/utilities/media/AppSound$Companion;
|
|
|
|
.field public static final SOUND_CALL_CALLING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
.field public static final SOUND_CALL_RINGING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
.field public static final SOUND_DEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
.field public static final SOUND_MUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
.field public static final SOUND_UNDEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
.field public static final SOUND_UNMUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
|
|
# instance fields
|
|
.field public final resId:I
|
|
|
|
.field public final shouldLoop:Z
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/utilities/media/AppSound$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->Companion:Lcom/discord/utilities/media/AppSound$Companion;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const v4, 0x7f110002
|
|
|
|
invoke-direct {v0, v4, v3, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_DEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const v4, 0x7f110be1
|
|
|
|
invoke-direct {v0, v4, v3, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_UNDEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const v4, 0x7f110bdf
|
|
|
|
invoke-direct {v0, v4, v3, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_MUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const v4, 0x7f110be2
|
|
|
|
invoke-direct {v0, v4, v3, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_UNMUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const v2, 0x7f110001
|
|
|
|
invoke-direct {v0, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZ)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_CALL_RINGING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
const/high16 v2, 0x7f110000
|
|
|
|
invoke-direct {v0, v2, v1}, Lcom/discord/utilities/media/AppSound;-><init>(IZ)V
|
|
|
|
sput-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_CALL_CALLING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(IZ)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
iput-boolean p2, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(IZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/utilities/media/AppSound;-><init>(IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_CALL_CALLING$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_CALL_CALLING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_CALL_RINGING$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_CALL_RINGING:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_DEAFEN$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_DEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_MUTE$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_MUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_UNDEAFEN$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_UNDEAFEN:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSOUND_UNMUTE$cp()Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/utilities/media/AppSound;->SOUND_UNMUTE:Lcom/discord/utilities/media/AppSound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/utilities/media/AppSound;IZILjava/lang/Object;)Lcom/discord/utilities/media/AppSound;
|
|
.locals 0
|
|
|
|
and-int/lit8 p4, p3, 0x1
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
iget p1, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
:cond_0
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
iget-boolean p2, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
:cond_1
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/media/AppSound;->copy(IZ)Lcom/discord/utilities/media/AppSound;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component2()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final copy(IZ)Lcom/discord/utilities/media/AppSound;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/utilities/media/AppSound;
|
|
|
|
invoke-direct {v0, p1, p2}, Lcom/discord/utilities/media/AppSound;-><init>(IZ)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/utilities/media/AppSound;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/utilities/media/AppSound;
|
|
|
|
iget v0, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
iget v1, p1, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
iget-boolean p1, p1, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getResId()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getShouldLoop()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
invoke-static {v0}, Lc;->a(I)I
|
|
|
|
move-result v0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_0
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "AppSound(resId="
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/discord/utilities/media/AppSound;->resId:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", shouldLoop="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/utilities/media/AppSound;->shouldLoop:Z
|
|
|
|
const-string v2, ")"
|
|
|
|
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|