apkfuckery/com.discord/smali/androidx/transition/ChangeTransform$3.smali
2020-05-17 12:40:10 +00:00

173 lines
6.1 KiB
Smali

.class public Landroidx/transition/ChangeTransform$3;
.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;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public mIsCanceled:Z
.field public mTempMatrix:Landroid/graphics/Matrix;
.field public final synthetic this$0:Landroidx/transition/ChangeTransform;
.field public final synthetic val$finalEndMatrix:Landroid/graphics/Matrix;
.field public final synthetic val$handleParentChange:Z
.field public final synthetic val$pathAnimatorMatrix:Landroidx/transition/ChangeTransform$PathAnimatorMatrix;
.field public final synthetic val$transforms:Landroidx/transition/ChangeTransform$Transforms;
.field public final synthetic val$view:Landroid/view/View;
# direct methods
.method public constructor <init>(Landroidx/transition/ChangeTransform;ZLandroid/graphics/Matrix;Landroid/view/View;Landroidx/transition/ChangeTransform$Transforms;Landroidx/transition/ChangeTransform$PathAnimatorMatrix;)V
.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