Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/AuxEffectInfo.smali
2024-05-21 17:08:36 -04:00

115 lines
2 KiB
Smali

.class public final Landroidx/media3/common/AuxEffectInfo;
.super Ljava/lang/Object;
.source "AuxEffectInfo.java"
# static fields
.field public static final NO_AUX_EFFECT_ID:I
# instance fields
.field public final effectId:I
.field public final sendLevel:F
# direct methods
.method public constructor <init>(IF)V
.locals 0
.line 62
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Landroidx/media3/common/AuxEffectInfo;->effectId:I
iput p2, p0, Landroidx/media3/common/AuxEffectInfo;->sendLevel:F
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_3
.line 72
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_1
goto :goto_1
.line 75
:cond_1
check-cast p1, Landroidx/media3/common/AuxEffectInfo;
iget v2, p0, Landroidx/media3/common/AuxEffectInfo;->effectId:I
.line 76
iget v3, p1, Landroidx/media3/common/AuxEffectInfo;->effectId:I
if-ne v2, v3, :cond_2
iget p1, p1, Landroidx/media3/common/AuxEffectInfo;->sendLevel:F
iget p0, p0, Landroidx/media3/common/AuxEffectInfo;->sendLevel:F
.line 77
invoke-static {p1, p0}, Ljava/lang/Float;->compare(FF)I
move-result p0
if-nez p0, :cond_2
goto :goto_0
:cond_2
move v0, v1
:goto_0
return v0
:cond_3
:goto_1
return v1
.end method
.method public hashCode()I
.locals 2
const/16 v0, 0x20f
iget v1, p0, Landroidx/media3/common/AuxEffectInfo;->effectId:I
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget p0, p0, Landroidx/media3/common/AuxEffectInfo;->sendLevel:F
.line 84
invoke-static {p0}, Ljava/lang/Float;->floatToIntBits(F)I
move-result p0
add-int/2addr v0, p0
return v0
.end method