apkfuckery/com.discord/smali/androidx/transition/ChangeTransform$3.smali

174 lines
6.1 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/transition/ChangeTransform$3;
2019-07-24 11:27:29 +00:00
.super Landroid/animation/AnimatorListenerAdapter;
.source "ChangeTransform.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/transition/ChangeTransform;->createTransformAnimator(Landroidx/transition/TransitionValues;Landroidx/transition/TransitionValues;Z)Landroid/animation/ObjectAnimator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public mIsCanceled:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mTempMatrix:Landroid/graphics/Matrix;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/transition/ChangeTransform;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$finalEndMatrix:Landroid/graphics/Matrix;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$handleParentChange:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$pathAnimatorMatrix:Landroidx/transition/ChangeTransform$PathAnimatorMatrix;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$transforms:Landroidx/transition/ChangeTransform$Transforms;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic val$view:Landroid/view/View;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/transition/ChangeTransform;ZLandroid/graphics/Matrix;Landroid/view/View;Landroidx/transition/ChangeTransform$Transforms;Landroidx/transition/ChangeTransform$PathAnimatorMatrix;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/transition/ChangeTransform$3;->this$0:Landroidx/transition/ChangeTransform;
iput-boolean p2, p0, Landroidx/transition/ChangeTransform$3;->val$handleParentChange:Z
iput-object p3, p0, Landroidx/transition/ChangeTransform$3;->val$finalEndMatrix:Landroid/graphics/Matrix;
iput-object p4, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
iput-object p5, p0, Landroidx/transition/ChangeTransform$3;->val$transforms:Landroidx/transition/ChangeTransform$Transforms;
iput-object p6, p0, Landroidx/transition/ChangeTransform$3;->val$pathAnimatorMatrix:Landroidx/transition/ChangeTransform$PathAnimatorMatrix;
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
new-instance p1, Landroid/graphics/Matrix;
invoke-direct {p1}, Landroid/graphics/Matrix;-><init>()V
iput-object p1, p0, Landroidx/transition/ChangeTransform$3;->mTempMatrix:Landroid/graphics/Matrix;
return-void
.end method
.method private setCurrentMatrix(Landroid/graphics/Matrix;)V
.locals 2
iget-object v0, p0, Landroidx/transition/ChangeTransform$3;->mTempMatrix:Landroid/graphics/Matrix;
invoke-virtual {v0, p1}, Landroid/graphics/Matrix;->set(Landroid/graphics/Matrix;)V
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
sget v0, Landroidx/transition/R$id;->transition_transform:I
iget-object v1, p0, Landroidx/transition/ChangeTransform$3;->mTempMatrix:Landroid/graphics/Matrix;
invoke-virtual {p1, v0, v1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$transforms:Landroidx/transition/ChangeTransform$Transforms;
iget-object v0, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
invoke-virtual {p1, v0}, Landroidx/transition/ChangeTransform$Transforms;->restore(Landroid/view/View;)V
return-void
.end method
# virtual methods
.method public onAnimationCancel(Landroid/animation/Animator;)V
.locals 0
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/transition/ChangeTransform$3;->mIsCanceled:Z
return-void
.end method
.method public onAnimationEnd(Landroid/animation/Animator;)V
.locals 2
iget-boolean p1, p0, Landroidx/transition/ChangeTransform$3;->mIsCanceled:Z
const/4 v0, 0x0
if-nez p1, :cond_1
iget-boolean p1, p0, Landroidx/transition/ChangeTransform$3;->val$handleParentChange:Z
if-eqz p1, :cond_0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->this$0:Landroidx/transition/ChangeTransform;
iget-boolean p1, p1, Landroidx/transition/ChangeTransform;->mUseOverlay:Z
if-eqz p1, :cond_0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$finalEndMatrix:Landroid/graphics/Matrix;
invoke-direct {p0, p1}, Landroidx/transition/ChangeTransform$3;->setCurrentMatrix(Landroid/graphics/Matrix;)V
goto :goto_0
:cond_0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
sget v1, Landroidx/transition/R$id;->transition_transform:I
invoke-virtual {p1, v1, v0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
sget v1, Landroidx/transition/R$id;->parent_matrix:I
invoke-virtual {p1, v1, v0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V
:cond_1
:goto_0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
invoke-static {p1, v0}, Landroidx/transition/ViewUtils;->setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$transforms:Landroidx/transition/ChangeTransform$Transforms;
iget-object v0, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
invoke-virtual {p1, v0}, Landroidx/transition/ChangeTransform$Transforms;->restore(Landroid/view/View;)V
return-void
.end method
.method public onAnimationPause(Landroid/animation/Animator;)V
.locals 0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$pathAnimatorMatrix:Landroidx/transition/ChangeTransform$PathAnimatorMatrix;
invoke-virtual {p1}, Landroidx/transition/ChangeTransform$PathAnimatorMatrix;->getMatrix()Landroid/graphics/Matrix;
move-result-object p1
invoke-direct {p0, p1}, Landroidx/transition/ChangeTransform$3;->setCurrentMatrix(Landroid/graphics/Matrix;)V
return-void
.end method
.method public onAnimationResume(Landroid/animation/Animator;)V
.locals 0
iget-object p1, p0, Landroidx/transition/ChangeTransform$3;->val$view:Landroid/view/View;
invoke-static {p1}, Landroidx/transition/ChangeTransform;->setIdentityTransforms(Landroid/view/View;)V
return-void
.end method