StopLogic.smali
.class public Landroidx/constraintlayout/motion/utils/StopLogic;
.super Landroidx/constraintlayout/motion/widget/MotionInterpolator;
.source "SourceFile"
# instance fields
.field private mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
.field private mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
.field private mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
# direct methods
.method public constructor <init>()V
.registers 2
.line 32
invoke-direct {p0}, Landroidx/constraintlayout/motion/widget/MotionInterpolator;-><init>()V
.line 33
new-instance v0, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
invoke-direct {v0}, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;-><init>()V
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
.line 35
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
return-void
.end method
# virtual methods
.method public config(FFFFFF)V
.registers 14
.line 54
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mStopLogicEngine:Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;
iput-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
move v1, p1
move v2, p2
move v3, p3
move v4, p4
move v5, p5
move v6, p6
.line 55
invoke-virtual/range {v0 .. v6}, Landroidx/constraintlayout/core/motion/utils/StopLogicEngine;->config(FFFFFF)V
return-void
.end method
.method public debug(Ljava/lang/String;F)Ljava/lang/String;
.registers 4
.line 46
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
invoke-interface {v0, p1, p2}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->debug(Ljava/lang/String;F)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public getInterpolation(F)F
.registers 3
.line 87
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
invoke-interface {v0, p1}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getInterpolation(F)F
move-result p1
return p1
.end method
.method public getVelocity()F
.registers 2
.line 92
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
invoke-interface {v0}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getVelocity()F
move-result v0
return v0
.end method
.method public getVelocity(F)F
.registers 3
.line 50
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
invoke-interface {v0, p1}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->getVelocity(F)F
move-result p1
return p1
.end method
.method public isStopped()Z
.registers 2
.line 96
iget-object v0, p0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
invoke-interface {v0}, Landroidx/constraintlayout/core/motion/utils/StopEngine;->isStopped()Z
move-result v0
return v0
.end method
.method public springConfig(FFFFFFFI)V
.registers 20
move-object v0, p0
.line 78
iget-object v1, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
if-nez v1, :cond_c
.line 79
new-instance v1, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
invoke-direct {v1}, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;-><init>()V
iput-object v1, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
.line 81
:cond_c
iget-object v2, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mSpringStopEngine:Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;
iput-object v2, v0, Landroidx/constraintlayout/motion/utils/StopLogic;->mEngine:Landroidx/constraintlayout/core/motion/utils/StopEngine;
move v3, p1
move v4, p2
move v5, p3
move v6, p4
move/from16 v7, p5
move/from16 v8, p6
move/from16 v9, p7
move/from16 v10, p8
.line 82
invoke-virtual/range {v2 .. v10}, Landroidx/constraintlayout/core/motion/utils/SpringStopEngine;->springConfig(FFFFFFFI)V
return-void
.end method