BottomSheet$6.smali

.class Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;
.super Landroid/animation/AnimatorListenerAdapter;
.source "BottomSheet.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/actionbar/BottomSheet;->dismiss()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/actionbar/BottomSheet;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    .line 1011
    iput-object p1, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public synthetic lambda$onAnimationEnd$0$BottomSheet$6()V
    .registers 2

    .line 1019
    :try_start_0
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->dismissInternal()V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_5} :catch_6

    .line 1022
    goto :goto_a

    .line 1020
    :catch_6
    move-exception v0

    .line 1021
    .local v0, "e":Ljava/lang/Exception;
    invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V

    .line 1023
    .end local v0    # "e":Ljava/lang/Exception;
    :goto_a
    return-void
.end method

.method public onAnimationCancel(Landroid/animation/Animator;)V
    .registers 4
    .param p1, "animation"    # Landroid/animation/Animator;

    .line 1030
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    iget-object v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    if-eqz v0, :cond_1a

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    iget-object v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1a

    .line 1031
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    const/4 v1, 0x0

    iput-object v1, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    .line 1032
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    const/4 v1, 0x0

    iput v1, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimationType:I

    .line 1034
    :cond_1a
    return-void
.end method

.method public onAnimationEnd(Landroid/animation/Animator;)V
    .registers 7
    .param p1, "animation"    # Landroid/animation/Animator;

    .line 1014
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    iget-object v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    const/4 v1, 0x0

    if-eqz v0, :cond_22

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    iget-object v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_22

    .line 1015
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    const/4 v2, 0x0

    iput-object v2, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimation:Landroid/animation/AnimatorSet;

    .line 1016
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    iput v1, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->currentSheetAnimationType:I

    .line 1017
    new-instance v0, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$BottomSheet$6$aVqKuXuSGOaAhLiVQkv1N2ncwwg;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/actionbar/-$$Lambda$BottomSheet$6$aVqKuXuSGOaAhLiVQkv1N2ncwwg;-><init>(Lim/tpelyyftgw/ui/actionbar/BottomSheet$6;)V

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V

    .line 1025
    :cond_22
    invoke-static {}, Lim/tpelyyftgw/messenger/NotificationCenter;->getGlobalInstance()Lim/tpelyyftgw/messenger/NotificationCenter;

    move-result-object v0

    sget v2, Lim/tpelyyftgw/messenger/NotificationCenter;->startAllHeavyOperations:I

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    const/16 v4, 0x200

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v3, v1

    invoke-virtual {v0, v2, v3}, Lim/tpelyyftgw/messenger/NotificationCenter;->postNotificationName(I[Ljava/lang/Object;)V

    .line 1026
    return-void
.end method