apkfuckery/com.discord/smali/androidx/constraintlayout/solver/SolverVariable.smali

695 lines
17 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/constraintlayout/solver/SolverVariable;
.super Ljava/lang/Object;
.source "SolverVariable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/constraintlayout/solver/SolverVariable$Type;
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final INTERNAL_DEBUG:Z = false
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final MAX_STRENGTH:I = 0x7
2019-07-24 11:27:29 +00:00
.field public static final STRENGTH_BARRIER:I = 0x7
.field public static final STRENGTH_EQUALITY:I = 0x5
.field public static final STRENGTH_FIXED:I = 0x6
.field public static final STRENGTH_HIGH:I = 0x3
.field public static final STRENGTH_HIGHEST:I = 0x4
.field public static final STRENGTH_LOW:I = 0x1
.field public static final STRENGTH_MEDIUM:I = 0x2
.field public static final STRENGTH_NONE:I = 0x0
2019-12-06 03:29:40 +00:00
.field public static uniqueConstantId:I = 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static uniqueErrorId:I = 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static uniqueId:I = 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static uniqueSlackId:I = 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static uniqueUnrestrictedId:I = 0x1
2019-07-24 11:27:29 +00:00
# instance fields
.field public computedValue:F
2019-12-06 03:29:40 +00:00
.field public definitionId:I
2019-07-24 11:27:29 +00:00
.field public id:I
2019-12-06 03:29:40 +00:00
.field public mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mClientEquationsCount:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mName:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mType:Landroidx/constraintlayout/solver/SolverVariable$Type;
2019-07-24 11:27:29 +00:00
.field public strength:I
2019-12-06 03:29:40 +00:00
.field public strengthVector:[F
2019-07-24 11:27:29 +00:00
.field public usageInRowCount:I
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.locals 0
return-void
.end method
.method public constructor <init>(Landroidx/constraintlayout/solver/SolverVariable$Type;Ljava/lang/String;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p2, -0x1
iput p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->id:I
iput p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->definitionId:I
const/4 p2, 0x0
iput p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->strength:I
const/4 v0, 0x7
new-array v0, v0, [F
iput-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
const/16 v0, 0x8
new-array v0, v0, [Landroidx/constraintlayout/solver/ArrayRow;
iput-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
iput p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
iput p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->usageInRowCount:I
iput-object p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mType:Landroidx/constraintlayout/solver/SolverVariable$Type;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Landroidx/constraintlayout/solver/SolverVariable$Type;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->id:I
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->definitionId:I
const/4 v0, 0x0
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->strength:I
const/4 v1, 0x7
new-array v1, v1, [F
iput-object v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
const/16 v1, 0x8
new-array v1, v1, [Landroidx/constraintlayout/solver/ArrayRow;
iput-object v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->usageInRowCount:I
iput-object p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mName:Ljava/lang/String;
iput-object p2, p0, Landroidx/constraintlayout/solver/SolverVariable;->mType:Landroidx/constraintlayout/solver/SolverVariable$Type;
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public static getUniqueName(Landroidx/constraintlayout/solver/SolverVariable$Type;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
if-eqz p1, :cond_0
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueErrorId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result p1
2019-07-24 11:27:29 +00:00
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v0, :cond_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x2
2019-07-24 11:27:29 +00:00
if-eq p1, v1, :cond_3
2019-12-06 03:29:40 +00:00
const/4 v1, 0x3
2019-07-24 11:27:29 +00:00
if-eq p1, v1, :cond_2
2019-12-06 03:29:40 +00:00
const/4 v1, 0x4
2019-07-24 11:27:29 +00:00
if-ne p1, v1, :cond_1
2019-12-06 03:29:40 +00:00
const-string p0, "V"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueId:I
add-int/2addr p1, v0
sput p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_1
new-instance p1, Ljava/lang/AssertionError;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Enum;->name()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p1
:cond_2
2019-12-06 03:29:40 +00:00
const-string p0, "e"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueErrorId:I
add-int/2addr p1, v0
sput p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueErrorId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_3
2019-12-06 03:29:40 +00:00
const-string p0, "S"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueSlackId:I
add-int/2addr p1, v0
sput p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueSlackId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_4
2019-12-06 03:29:40 +00:00
const-string p0, "C"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueConstantId:I
add-int/2addr p1, v0
sput p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueConstantId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_5
2019-12-06 03:29:40 +00:00
const-string p0, "U"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
sget p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueUnrestrictedId:I
add-int/2addr p1, v0
sput p1, Landroidx/constraintlayout/solver/SolverVariable;->uniqueUnrestrictedId:I
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
2019-12-06 03:29:40 +00:00
.method public static increaseErrorId()V
2019-07-24 11:27:29 +00:00
.locals 1
sget v0, Landroidx/constraintlayout/solver/SolverVariable;->uniqueErrorId:I
add-int/lit8 v0, v0, 0x1
sput v0, Landroidx/constraintlayout/solver/SolverVariable;->uniqueErrorId:I
return-void
.end method
# virtual methods
.method public final addToRow(Landroidx/constraintlayout/solver/ArrayRow;)V
.locals 3
const/4 v0, 0x0
:goto_0
iget v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
if-ge v0, v1, :cond_1
iget-object v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
aget-object v1, v1, v0
if-ne v1, p1, :cond_0
return-void
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
iget-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
array-length v2, v0
if-lt v1, v2, :cond_2
array-length v1, v0
mul-int/lit8 v1, v1, 0x2
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Landroidx/constraintlayout/solver/ArrayRow;
iput-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
:cond_2
iget-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
iget v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
aput-object p1, v0, v1
add-int/lit8 v1, v1, 0x1
iput v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public clearStrengths()V
2019-07-24 11:27:29 +00:00
.locals 3
const/4 v0, 0x0
:goto_0
const/4 v1, 0x7
if-ge v0, v1, :cond_0
iget-object v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
const/4 v2, 0x0
aput v2, v1, v0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public getName()Ljava/lang/String;
.locals 1
iget-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mName:Ljava/lang/String;
return-object v0
.end method
.method public final removeFromRow(Landroidx/constraintlayout/solver/ArrayRow;)V
.locals 5
iget v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_2
iget-object v3, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
aget-object v3, v3, v2
if-ne v3, p1, :cond_1
:goto_1
sub-int p1, v0, v2
add-int/lit8 p1, p1, -0x1
if-ge v1, p1, :cond_0
iget-object p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
add-int v3, v2, v1
add-int/lit8 v4, v3, 0x1
aget-object v4, p1, v4
aput-object v4, p1, v3
add-int/lit8 v1, v1, 0x1
goto :goto_1
:cond_0
iget p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
add-int/lit8 p1, p1, -0x1
iput p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
return-void
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
return-void
.end method
.method public reset()V
.locals 2
const/4 v0, 0x0
iput-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mName:Ljava/lang/String;
sget-object v0, Landroidx/constraintlayout/solver/SolverVariable$Type;->UNKNOWN:Landroidx/constraintlayout/solver/SolverVariable$Type;
iput-object v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mType:Landroidx/constraintlayout/solver/SolverVariable$Type;
const/4 v0, 0x0
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->strength:I
const/4 v1, -0x1
iput v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->id:I
iput v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->definitionId:I
const/4 v1, 0x0
iput v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->computedValue:F
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
iput v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->usageInRowCount:I
return-void
.end method
.method public setName(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mName:Ljava/lang/String;
return-void
.end method
.method public setType(Landroidx/constraintlayout/solver/SolverVariable$Type;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mType:Landroidx/constraintlayout/solver/SolverVariable$Type;
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public strengthsToString()Ljava/lang/String;
.locals 7
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "["
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
2019-12-06 03:29:40 +00:00
const/4 v3, 0x1
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
iget-object v4, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length v4, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ge v1, v4, :cond_4
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
iget-object v4, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
2019-12-06 03:29:40 +00:00
aget v4, v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v4, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget v5, v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v6, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmpl-float v5, v5, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-lez v5, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
goto :goto_1
:cond_0
2019-12-06 03:29:40 +00:00
aget v4, v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmpg-float v4, v4, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-gez v4, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
:cond_1
:goto_1
2019-12-06 03:29:40 +00:00
iget-object v4, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget v4, v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmpl-float v4, v4, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2019-07-24 11:27:29 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
iget-object v4, p0, Landroidx/constraintlayout/solver/SolverVariable;->strengthVector:[F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length v4, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/lit8 v4, v4, -0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ge v1, v4, :cond_3
2019-07-24 11:27:29 +00:00
const-string v4, ", "
2020-04-27 20:53:11 +00:00
invoke-static {v0, v4}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
goto :goto_2
:cond_3
const-string v4, "] "
2020-04-27 20:53:11 +00:00
invoke-static {v0, v4}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
:goto_2
2019-12-06 03:29:40 +00:00
add-int/lit8 v1, v1, 0x1
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_4
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_5
2019-07-24 11:27:29 +00:00
const-string v1, " (-)"
2020-04-27 20:53:11 +00:00
invoke-static {v0, v1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
:cond_5
2019-12-06 03:29:40 +00:00
if-eqz v3, :cond_6
2019-07-24 11:27:29 +00:00
const-string v1, " (*)"
2020-04-27 20:53:11 +00:00
invoke-static {v0, v1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
:cond_6
2019-12-06 03:29:40 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method
.method public toString()Ljava/lang/String;
.locals 2
2019-12-06 03:29:40 +00:00
const-string v0, ""
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
iget-object v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final updateReferencesWithNewDefinition(Landroidx/constraintlayout/solver/ArrayRow;)V
.locals 5
iget v0, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_0
iget-object v3, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquations:[Landroidx/constraintlayout/solver/ArrayRow;
2019-12-06 03:29:40 +00:00
aget-object v4, v3, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v4, v4, Landroidx/constraintlayout/solver/ArrayRow;->variables:Landroidx/constraintlayout/solver/ArrayLinkedVariables;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object v3, v3, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v4, v3, p1, v1}, Landroidx/constraintlayout/solver/ArrayLinkedVariables;->updateFromRow(Landroidx/constraintlayout/solver/ArrayRow;Landroidx/constraintlayout/solver/ArrayRow;Z)V
2019-07-24 11:27:29 +00:00
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
iput v1, p0, Landroidx/constraintlayout/solver/SolverVariable;->mClientEquationsCount:I
return-void
.end method