ChatAttachAlert$3.smali

.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;
.super Lim/tpelyyftgw/ui/actionbar/ActionBar;
.source "ChatAttachAlert.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ChatAttachAlert;-><init>(Landroid/content/Context;Lim/tpelyyftgw/ui/actionbar/BaseFragment;)V
.end annotation

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


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


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
    .param p2, "context"    # Landroid/content/Context;

    .line 940
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/actionbar/ActionBar;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public setAlpha(F)V
    .registers 5
    .param p1, "alpha"    # F

    .line 943
    invoke-super {p0, p1}, Lim/tpelyyftgw/ui/actionbar/ActionBar;->setAlpha(F)V

    .line 944
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->containerView:Landroid/view/ViewGroup;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/view/ViewGroup;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/ViewGroup;->invalidate()V

    .line 945
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->frameLayout2:Landroid/widget/FrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/FrameLayout;

    move-result-object v0

    if-eqz v0, :cond_95

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v0

    if-eqz v0, :cond_95

    .line 946
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->frameLayout2:Landroid/widget/FrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/FrameLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getTag()Ljava/lang/Object;

    move-result-object v0

    const/high16 v1, 0x3f800000    # 1.0f

    if-nez v0, :cond_76

    .line 947
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v0

    sub-float v2, v1, p1

    invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAlpha(F)V

    .line 948
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->shadow:Landroid/view/View;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/view/View;

    move-result-object v0

    sub-float/2addr v1, p1

    invoke-virtual {v0, v1}, Landroid/view/View;->setAlpha(F)V

    .line 949
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v0

    const/high16 v1, 0x42300000    # 44.0f

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    int-to-float v1, v1

    mul-float v1, v1, p1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V

    .line 950
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->frameLayout2:Landroid/widget/FrameLayout;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/widget/FrameLayout;

    move-result-object v0

    const/high16 v1, 0x42400000    # 48.0f

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    int-to-float v1, v1

    mul-float v1, v1, p1

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setTranslationY(F)V

    .line 951
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->shadow:Landroid/view/View;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/view/View;

    move-result-object v0

    const/high16 v1, 0x42b80000    # 92.0f

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    int-to-float v1, v1

    mul-float v1, v1, p1

    invoke-virtual {v0, v1}, Landroid/view/View;->setTranslationY(F)V

    goto :goto_95

    .line 953
    :cond_76
    const/4 v0, 0x0

    cmpl-float v2, p1, v0

    if-nez v2, :cond_7c

    goto :goto_7d

    :cond_7c
    const/4 v1, 0x0

    :goto_7d
    move v0, v1

    .line 954
    .local v0, "value":F
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v1

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAlpha()F

    move-result v1

    cmpl-float v1, v1, v0

    if-eqz v1, :cond_95

    .line 955
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$3;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    # getter for: Lim/tpelyyftgw/ui/components/ChatAttachAlert;->buttonsRecyclerView:Lim/tpelyyftgw/ui/components/RecyclerListView;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$5400(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAlpha(F)V

    .line 959
    .end local v0    # "value":F
    :cond_95
    :goto_95
    return-void
.end method