alexandroid/decompiled/jadx/sources/androidx/constraintlayout/solver/widgets/ResolutionNode.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

59 lines
1.5 KiB
Java

package androidx.constraintlayout.solver.widgets;
import java.util.HashSet;
import java.util.Iterator;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes13.dex */
public class ResolutionNode {
public static final int REMOVED = 2;
public static final int RESOLVED = 1;
public static final int UNRESOLVED = 0;
HashSet<ResolutionNode> dependents = new HashSet<>(2);
int state = 0;
public void addDependent(ResolutionNode resolutionNode) {
this.dependents.add(resolutionNode);
}
public void didResolve() {
this.state = 1;
Iterator<ResolutionNode> it2 = this.dependents.iterator();
while (it2.hasNext()) {
it2.next().resolve();
}
}
public void invalidate() {
this.state = 0;
Iterator<ResolutionNode> it2 = this.dependents.iterator();
while (it2.hasNext()) {
it2.next().invalidate();
}
}
public void invalidateAnchors() {
if (this instanceof ResolutionAnchor) {
this.state = 0;
}
Iterator<ResolutionNode> it2 = this.dependents.iterator();
while (it2.hasNext()) {
it2.next().invalidateAnchors();
}
}
public boolean isResolved() {
return this.state == 1;
}
public void reset() {
this.state = 0;
this.dependents.clear();
}
public void resolve() {
}
public void remove(ResolutionDimension resolutionDimension) {
}
}