ChatAttachAlert$6.smali

.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$6;
.super Lim/tpelyyftgw/ui/components/RecyclerListView;
.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 1043
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$6;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

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

    return-void
.end method


# virtual methods
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 5
    .param p1, "e"    # Landroid/view/MotionEvent;

    .line 1060
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_1e

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v1

    const/high16 v2, 0x42300000    # 44.0f

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

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_1e

    .line 1061
    const/4 v0, 0x0

    return v0

    .line 1063
    :cond_1e
    invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 5
    .param p1, "e"    # Landroid/view/MotionEvent;

    .line 1052
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_1e

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$1800(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v1

    const/high16 v2, 0x42300000    # 44.0f

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

    move-result v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_1e

    .line 1053
    const/4 v0, 0x0

    return v0

    .line 1055
    :cond_1e
    invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public setTranslationY(F)V
    .registers 3
    .param p1, "translationY"    # F

    .line 1046
    invoke-super {p0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTranslationY(F)V

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$6500(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/view/ViewGroup;

    move-result-object v0

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

    .line 1048
    return-void
.end method