359 lines
6.9 KiB
Smali
359 lines
6.9 KiB
Smali
.class public final Lcom/facebook/drawee/generic/d;
|
|
.super Ljava/lang/Object;
|
|
.source "RoundingParams.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/facebook/drawee/generic/d$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field Km:F
|
|
|
|
.field Kn:I
|
|
|
|
.field Ko:Z
|
|
|
|
.field Kv:I
|
|
|
|
.field LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
.field LC:Z
|
|
|
|
.field LD:[F
|
|
|
|
.field mPadding:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sget-object v0, Lcom/facebook/drawee/generic/d$a;->LF:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
iput-object v0, p0, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/facebook/drawee/generic/d;->LC:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
iput v0, p0, Lcom/facebook/drawee/generic/d;->Kv:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Lcom/facebook/drawee/generic/d;->Km:F
|
|
|
|
iput v0, p0, Lcom/facebook/drawee/generic/d;->Kn:I
|
|
|
|
iput v1, p0, Lcom/facebook/drawee/generic/d;->mPadding:F
|
|
|
|
iput-boolean v0, p0, Lcom/facebook/drawee/generic/d;->Ko:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static gR()Lcom/facebook/drawee/generic/d;
|
|
.locals 2
|
|
|
|
new-instance v0, Lcom/facebook/drawee/generic/d;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/drawee/generic/d;-><init>()V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lcom/facebook/drawee/generic/d;->LC:Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static l(F)Lcom/facebook/drawee/generic/d;
|
|
.locals 2
|
|
|
|
new-instance v0, Lcom/facebook/drawee/generic/d;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/drawee/generic/d;-><init>()V
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/drawee/generic/d;->gQ()[F
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, p0}, Ljava/util/Arrays;->fill([FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final W(I)Lcom/facebook/drawee/generic/d;
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
|
|
iput p1, p0, Lcom/facebook/drawee/generic/d;->Kv:I
|
|
|
|
sget-object p1, Lcom/facebook/drawee/generic/d$a;->LE:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
iput-object p1, p0, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final a(Lcom/facebook/drawee/generic/d$a;)Lcom/facebook/drawee/generic/d;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_9
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
check-cast p1, Lcom/facebook/drawee/generic/d;
|
|
|
|
iget-boolean v1, p0, Lcom/facebook/drawee/generic/d;->LC:Z
|
|
|
|
iget-boolean v2, p1, Lcom/facebook/drawee/generic/d;->LC:Z
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
return v0
|
|
|
|
:cond_2
|
|
iget v1, p0, Lcom/facebook/drawee/generic/d;->Kv:I
|
|
|
|
iget v2, p1, Lcom/facebook/drawee/generic/d;->Kv:I
|
|
|
|
if-eq v1, v2, :cond_3
|
|
|
|
return v0
|
|
|
|
:cond_3
|
|
iget v1, p1, Lcom/facebook/drawee/generic/d;->Km:F
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->Km:F
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
return v0
|
|
|
|
:cond_4
|
|
iget v1, p0, Lcom/facebook/drawee/generic/d;->Kn:I
|
|
|
|
iget v2, p1, Lcom/facebook/drawee/generic/d;->Kn:I
|
|
|
|
if-eq v1, v2, :cond_5
|
|
|
|
return v0
|
|
|
|
:cond_5
|
|
iget v1, p1, Lcom/facebook/drawee/generic/d;->mPadding:F
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->mPadding:F
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
return v0
|
|
|
|
:cond_6
|
|
iget-object v1, p0, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
iget-object v2, p1, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
if-eq v1, v2, :cond_7
|
|
|
|
return v0
|
|
|
|
:cond_7
|
|
iget-boolean v1, p0, Lcom/facebook/drawee/generic/d;->Ko:Z
|
|
|
|
iget-boolean v2, p1, Lcom/facebook/drawee/generic/d;->Ko:Z
|
|
|
|
if-eq v1, v2, :cond_8
|
|
|
|
return v0
|
|
|
|
:cond_8
|
|
iget-object v0, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
iget-object p1, p1, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
invoke-static {v0, p1}, Ljava/util/Arrays;->equals([F[F)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_9
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method final gQ()[F
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/16 v0, 0x8
|
|
|
|
new-array v0, v0, [F
|
|
|
|
iput-object v0, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/facebook/drawee/generic/d;->LB:Lcom/facebook/drawee/generic/d$a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/drawee/generic/d$a;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/facebook/drawee/generic/d;->LC:Z
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/facebook/drawee/generic/d;->LD:[F
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-static {v2}, Ljava/util/Arrays;->hashCode([F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->Kv:I
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->Km:F
|
|
|
|
const/4 v3, 0x0
|
|
|
|
cmpl-float v4, v2, v3
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->Kn:I
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/facebook/drawee/generic/d;->mPadding:F
|
|
|
|
cmpl-float v3, v2, v3
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v1
|
|
|
|
:cond_3
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/facebook/drawee/generic/d;->Ko:Z
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|