BottomSheet$4.smali

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/actionbar/BottomSheet;->startOpenAnimation()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 851
    iput-object p1, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    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 875
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->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$4;->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 876
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->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 877
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    const/4 v1, 0x0

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

    .line 879
    :cond_1a
    return-void
.end method

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

    .line 854
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->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_59

    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->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_59

    .line 855
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->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 856
    iget-object v0, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

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

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

    # getter for: Lim/tpelyyftgw/ui/actionbar/BottomSheet;->delegate:Lim/tpelyyftgw/ui/actionbar/BottomSheet$BottomSheetDelegateInterface;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->access$1100(Lim/tpelyyftgw/ui/actionbar/BottomSheet;)Lim/tpelyyftgw/ui/actionbar/BottomSheet$BottomSheetDelegateInterface;

    move-result-object v0

    if-eqz v0, :cond_2b

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

    # getter for: Lim/tpelyyftgw/ui/actionbar/BottomSheet;->delegate:Lim/tpelyyftgw/ui/actionbar/BottomSheet$BottomSheetDelegateInterface;
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->access$1100(Lim/tpelyyftgw/ui/actionbar/BottomSheet;)Lim/tpelyyftgw/ui/actionbar/BottomSheet$BottomSheetDelegateInterface;

    move-result-object v0

    invoke-interface {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet$BottomSheetDelegateInterface;->onOpenAnimationEnd()V

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

    # getter for: Lim/tpelyyftgw/ui/actionbar/BottomSheet;->useHardwareLayer:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->access$1200(Lim/tpelyyftgw/ui/actionbar/BottomSheet;)Z

    move-result v0

    if-eqz v0, :cond_3a

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

    iget-object v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->container:Lim/tpelyyftgw/ui/actionbar/BottomSheet$ContainerView;

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/ui/actionbar/BottomSheet$ContainerView;->setLayerType(ILandroid/graphics/Paint;)V

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

    iget-boolean v0, v0, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->isFullscreen:Z

    if-eqz v0, :cond_59

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

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    .line 866
    .local v0, "params":Landroid/view/WindowManager$LayoutParams;
    iget v2, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    and-int/lit16 v2, v2, -0x401

    iput v2, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    .line 867
    iget-object v2, p0, Lim/tpelyyftgw/ui/actionbar/BottomSheet$4;->this$0:Lim/tpelyyftgw/ui/actionbar/BottomSheet;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->getWindow()Landroid/view/Window;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 870
    .end local v0    # "params":Landroid/view/WindowManager$LayoutParams;
    :cond_59
    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 871
    return-void
.end method