alexandroid/decompiled/jadx/sources/androidx/constraintlayout/motion/utils/StopLogic.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

57 lines
2.1 KiB
Java

package androidx.constraintlayout.motion.utils;
import androidx.constraintlayout.core.motion.utils.SpringStopEngine;
import androidx.constraintlayout.core.motion.utils.StopEngine;
import androidx.constraintlayout.core.motion.utils.StopLogicEngine;
import androidx.constraintlayout.motion.widget.MotionInterpolator;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes13.dex */
public class StopLogic extends MotionInterpolator {
private StopEngine mEngine;
private SpringStopEngine mSpringStopEngine;
private StopLogicEngine mStopLogicEngine;
public StopLogic() {
StopLogicEngine stopLogicEngine = new StopLogicEngine();
this.mStopLogicEngine = stopLogicEngine;
this.mEngine = stopLogicEngine;
}
public void config(float f, float f2, float f3, float f4, float f5, float f6) {
StopLogicEngine stopLogicEngine = this.mStopLogicEngine;
this.mEngine = stopLogicEngine;
stopLogicEngine.config(f, f2, f3, f4, f5, f6);
}
public String debug(String str, float f) {
return this.mEngine.debug(str, f);
}
@Override // androidx.constraintlayout.motion.widget.MotionInterpolator, android.animation.TimeInterpolator
public float getInterpolation(float f) {
return this.mEngine.getInterpolation(f);
}
public float getVelocity(float f) {
return this.mEngine.getVelocity(f);
}
public boolean isStopped() {
return this.mEngine.isStopped();
}
public void springConfig(float f, float f2, float f3, float f4, float f5, float f6, float f7, int i) {
if (this.mSpringStopEngine == null) {
this.mSpringStopEngine = new SpringStopEngine();
}
SpringStopEngine springStopEngine = this.mSpringStopEngine;
this.mEngine = springStopEngine;
springStopEngine.springConfig(f, f2, f3, f4, f5, f6, f7, i);
}
@Override // androidx.constraintlayout.motion.widget.MotionInterpolator
public float getVelocity() {
return this.mEngine.getVelocity();
}
}