apkfuckery/com.discord/smali/androidx/transition/ImageViewUtils$1.smali

86 lines
2.7 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Landroidx/transition/ImageViewUtils$1;
2019-07-24 11:27:29 +00:00
.super Landroid/animation/AnimatorListenerAdapter;
.source "ImageViewUtils.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/transition/ImageViewUtils;->reserveEndAnimateTransform(Landroid/widget/ImageView;Landroid/animation/Animator;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x9
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic val$view:Landroid/widget/ImageView;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroid/widget/ImageView;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public onAnimationEnd(Landroid/animation/Animator;)V
2019-07-24 11:27:29 +00:00
.locals 4
iget-object v0, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
sget v1, Landroidx/transition/R$id;->save_scale_type:I
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->getTag(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/widget/ImageView$ScaleType;
iget-object v1, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
iget-object v1, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
sget v2, Landroidx/transition/R$id;->save_scale_type:I
const/4 v3, 0x0
invoke-virtual {v1, v2, v3}, Landroid/widget/ImageView;->setTag(ILjava/lang/Object;)V
sget-object v1, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;
if-ne v0, v1, :cond_0
iget-object v0, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
sget v1, Landroidx/transition/R$id;->save_image_matrix:I
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->getTag(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/graphics/Matrix;
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
iget-object v0, p0, Landroidx/transition/ImageViewUtils$1;->val$view:Landroid/widget/ImageView;
sget v1, Landroidx/transition/R$id;->save_image_matrix:I
invoke-virtual {v0, v1, v3}, Landroid/widget/ImageView;->setTag(ILjava/lang/Object;)V
:cond_0
invoke-virtual {p1, p0}, Landroid/animation/Animator;->removeListener(Landroid/animation/Animator$AnimatorListener;)V
return-void
.end method