d$2.smali

.class final Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/detail/f/d;->j()V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/view/GestureDetector;

.field final synthetic b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/detail/f/d;Landroid/view/GestureDetector;)V
    .registers 3

    .line 132
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->a:Landroid/view/GestureDetector;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 5

    .line 135
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;

    iget-boolean p1, p1, Lcom/imo/android/imoim/feeds/ui/detail/f/d;->r:Z

    if-nez p1, :cond_8

    const/4 p1, 0x0

    return p1

    .line 138
    :cond_8
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/detail/f/d;->F()V

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

    move-result p1

    const/4 v0, 0x1

    if-nez p1, :cond_2e

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/detail/f/d;->k:Lcom/imo/android/imoim/feeds/ui/detail/utils/i;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/detail/utils/i;->b()Z

    move-result p1

    if-eqz p1, :cond_2e

    .line 140
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->b:Lcom/imo/android/imoim/feeds/ui/detail/f/d;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    float-to-int v1, v1

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

    move-result p2

    float-to-int p2, p2

    invoke-virtual {p1, v1, p2}, Lcom/imo/android/imoim/feeds/ui/detail/f/d;->b(II)V

    return v0

    .line 143
    :cond_2e
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/f/d$2;->a:Landroid/view/GestureDetector;

    invoke-virtual {p1, p2}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    return v0
.end method