apkfuckery/com.discord/smali/androidx/constraintlayout/solver/Metrics.smali
2020-04-27 22:53:11 +02:00

409 lines
14 KiB
Smali

.class public Landroidx/constraintlayout/solver/Metrics;
.super Ljava/lang/Object;
.source "Metrics.java"
# instance fields
.field public additionalMeasures:J
.field public barrierConnectionResolved:J
.field public bfs:J
.field public centerConnectionResolved:J
.field public chainConnectionResolved:J
.field public constraints:J
.field public errors:J
.field public extravariables:J
.field public fullySolved:J
.field public graphOptimizer:J
.field public iterations:J
.field public lastTableSize:J
.field public matchConnectionResolved:J
.field public maxRows:J
.field public maxTableSize:J
.field public maxVariables:J
.field public measures:J
.field public minimize:J
.field public minimizeGoal:J
.field public nonresolvedWidgets:J
.field public oldresolvedWidgets:J
.field public optimize:J
.field public pivots:J
.field public problematicLayouts:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public resolutions:J
.field public resolvedWidgets:J
.field public simpleconstraints:J
.field public slackvariables:J
.field public tableSizeIncrease:J
.field public variables:J
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Landroidx/constraintlayout/solver/Metrics;->problematicLayouts:Ljava/util/ArrayList;
return-void
.end method
# virtual methods
.method public reset()V
.locals 2
const-wide/16 v0, 0x0
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->measures:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->resolutions:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->tableSizeIncrease:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->maxTableSize:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->lastTableSize:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->maxVariables:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->maxRows:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->minimize:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->minimizeGoal:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->constraints:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->simpleconstraints:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->optimize:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->iterations:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->pivots:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->bfs:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->variables:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->errors:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->slackvariables:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->extravariables:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->fullySolved:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->graphOptimizer:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->resolvedWidgets:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->oldresolvedWidgets:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->nonresolvedWidgets:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->centerConnectionResolved:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->matchConnectionResolved:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->chainConnectionResolved:J
iput-wide v0, p0, Landroidx/constraintlayout/solver/Metrics;->barrierConnectionResolved:J
iget-object v0, p0, Landroidx/constraintlayout/solver/Metrics;->problematicLayouts:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "\n*** Metrics ***\nmeasures: "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->measures:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nadditionalMeasures: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->additionalMeasures:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nresolutions passes: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->resolutions:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\ntable increases: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->tableSizeIncrease:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nmaxTableSize: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->maxTableSize:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nmaxVariables: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->maxVariables:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nmaxRows: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->maxRows:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\n\nminimize: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->minimize:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nminimizeGoal: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->minimizeGoal:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nconstraints: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->constraints:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nsimpleconstraints: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->simpleconstraints:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\noptimize: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->optimize:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\niterations: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->iterations:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\npivots: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->pivots:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nbfs: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->bfs:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nvariables: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->variables:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nerrors: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->errors:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nslackvariables: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->slackvariables:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nextravariables: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->extravariables:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nfullySolved: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->fullySolved:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\ngraphOptimizer: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->graphOptimizer:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nresolvedWidgets: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->resolvedWidgets:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\noldresolvedWidgets: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->oldresolvedWidgets:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nnonresolvedWidgets: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->nonresolvedWidgets:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\ncenterConnectionResolved: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->centerConnectionResolved:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nmatchConnectionResolved: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->matchConnectionResolved:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nchainConnectionResolved: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->chainConnectionResolved:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nbarrierConnectionResolved: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Landroidx/constraintlayout/solver/Metrics;->barrierConnectionResolved:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "\nproblematicsLayouts: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Landroidx/constraintlayout/solver/Metrics;->problematicLayouts:Ljava/util/ArrayList;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "\n"
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