PhotoViewer$45.smali
.class Lim/tpelyyftgw/ui/PhotoViewer$45;
.super Landroid/animation/AnimatorListenerAdapter;
.source "PhotoViewer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/PhotoViewer;->showQualityView(Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.field final synthetic val$show:Z
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/PhotoViewer;Z)V
.registers 3
.param p1, "this$0" # Lim/tpelyyftgw/ui/PhotoViewer;
.line 9841
iput-object p1, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
iput-boolean p2, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->val$show:Z
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
return-void
.end method
# virtual methods
.method public onAnimationCancel(Landroid/animation/Animator;)V
.registers 4
.param p1, "animation" # Landroid/animation/Animator;
.line 9880
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
const/4 v1, 0x0
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16502(Lim/tpelyyftgw/ui/PhotoViewer;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;
.line 9881
return-void
.end method
.method public onAnimationEnd(Landroid/animation/Animator;)V
.registers 12
.param p1, "animation" # Landroid/animation/Animator;
.line 9844
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_d
.line 9845
return-void
.line 9847
:cond_d
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
new-instance v1, Landroid/animation/AnimatorSet;
invoke-direct {v1}, Landroid/animation/AnimatorSet;-><init>()V
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16502(Lim/tpelyyftgw/ui/PhotoViewer;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;
.line 9848
iget-boolean v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->val$show:Z
const/high16 v1, 0x42400000 # 48.0f
const/4 v2, 0x2
const/4 v3, 0x3
const/4 v4, 0x0
const/4 v5, 0x1
const/4 v6, 0x0
if-eqz v0, :cond_7c
.line 9849
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16600(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/PhotoViewer$QualityChooseView;
move-result-object v0
invoke-virtual {v0, v6}, Lim/tpelyyftgw/ui/PhotoViewer$QualityChooseView;->setVisibility(I)V
.line 9850
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16700(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/components/PickerBottomLayoutViewer;
move-result-object v0
invoke-virtual {v0, v6}, Lim/tpelyyftgw/ui/components/PickerBottomLayoutViewer;->setVisibility(I)V
.line 9851
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
new-array v3, v3, [Landroid/animation/Animator;
iget-object v7, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9852
invoke-static {v7}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16600(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/PhotoViewer$QualityChooseView;
move-result-object v7
sget-object v8, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v9, v5, [F
aput v4, v9, v6
invoke-static {v7, v8, v9}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v7
aput-object v7, v3, v6
iget-object v7, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9853
invoke-static {v7}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16700(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/components/PickerBottomLayoutViewer;
move-result-object v7
sget-object v8, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v9, v5, [F
aput v4, v9, v6
invoke-static {v7, v8, v9}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v4
aput-object v4, v3, v5
iget-object v4, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9854
invoke-static {v4}, Lim/tpelyyftgw/ui/PhotoViewer;->access$5600(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/widget/FrameLayout;
move-result-object v4
sget-object v7, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v5, v5, [F
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
neg-int v1, v1
int-to-float v1, v1
aput v1, v5, v6
invoke-static {v4, v7, v5}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v1
aput-object v1, v3, v2
.line 9851
invoke-virtual {v0, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
goto :goto_d6
.line 9857
:cond_7c
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16600(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/PhotoViewer$QualityChooseView;
move-result-object v0
const/4 v7, 0x4
invoke-virtual {v0, v7}, Lim/tpelyyftgw/ui/PhotoViewer$QualityChooseView;->setVisibility(I)V
.line 9858
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16700(Lim/tpelyyftgw/ui/PhotoViewer;)Lim/tpelyyftgw/ui/components/PickerBottomLayoutViewer;
move-result-object v0
invoke-virtual {v0, v7}, Lim/tpelyyftgw/ui/components/PickerBottomLayoutViewer;->setVisibility(I)V
.line 9859
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
new-array v3, v3, [Landroid/animation/Animator;
iget-object v7, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9860
invoke-static {v7}, Lim/tpelyyftgw/ui/PhotoViewer;->access$5000(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/widget/FrameLayout;
move-result-object v7
sget-object v8, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v9, v5, [F
aput v4, v9, v6
invoke-static {v7, v8, v9}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v7
aput-object v7, v3, v6
iget-object v7, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9861
invoke-static {v7}, Lim/tpelyyftgw/ui/PhotoViewer;->access$5400(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/widget/ImageView;
move-result-object v7
sget-object v8, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v9, v5, [F
aput v4, v9, v6
invoke-static {v7, v8, v9}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v4
aput-object v4, v3, v5
iget-object v4, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
.line 9862
invoke-static {v4}, Lim/tpelyyftgw/ui/PhotoViewer;->access$5600(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/widget/FrameLayout;
move-result-object v4
sget-object v7, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v5, v5, [F
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
neg-int v1, v1
int-to-float v1, v1
aput v1, v5, v6
invoke-static {v4, v7, v5}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v1
aput-object v1, v3, v2
.line 9859
invoke-virtual {v0, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
.line 9865
:goto_d6
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
new-instance v1, Lim/tpelyyftgw/ui/PhotoViewer$45$1;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/PhotoViewer$45$1;-><init>(Lim/tpelyyftgw/ui/PhotoViewer$45;)V
invoke-virtual {v0, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 9873
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
const-wide/16 v1, 0xc8
invoke-virtual {v0, v1, v2}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;
.line 9874
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
new-instance v1, Landroid/view/animation/AccelerateInterpolator;
invoke-direct {v1}, Landroid/view/animation/AccelerateInterpolator;-><init>()V
invoke-virtual {v0, v1}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V
.line 9875
iget-object v0, p0, Lim/tpelyyftgw/ui/PhotoViewer$45;->this$0:Lim/tpelyyftgw/ui/PhotoViewer;
invoke-static {v0}, Lim/tpelyyftgw/ui/PhotoViewer;->access$16500(Lim/tpelyyftgw/ui/PhotoViewer;)Landroid/animation/AnimatorSet;
move-result-object v0
invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V
.line 9876
return-void
.end method