k$2.smali

.class final Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;
.super Landroid/view/GestureDetector$SimpleOnGestureListener;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;-><init>(Landroid/widget/ImageView;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)V
    .registers 2

    .line 190
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V

    return-void
.end method


# virtual methods
.method public final onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .registers 6

    .line 203
    iget-object p3, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-static {p3}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->r(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)Lcom/imo/android/imoim/feeds/ui/widget/photoview/h;

    move-result-object p3

    const/4 p4, 0x0

    if-eqz p3, :cond_38

    .line 204
    iget-object p3, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-virtual {p3}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->b()F

    move-result p3

    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->e()F

    move-result v0

    cmpl-float p3, p3, v0

    if-lez p3, :cond_18

    return p4

    .line 207
    :cond_18
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getPointerCount()I

    move-result p1

    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->f()I

    move-result p3

    if-gt p1, p3, :cond_38

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

    move-result p1

    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->f()I

    move-result p2

    if-le p1, p2, :cond_2d

    goto :goto_38

    .line 211
    :cond_2d
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->r(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)Lcom/imo/android/imoim/feeds/ui/widget/photoview/h;

    move-result-object p1

    invoke-interface {p1}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/h;->a()Z

    move-result p1

    return p1

    :cond_38
    :goto_38
    return p4
.end method

.method public final onLongPress(Landroid/view/MotionEvent;)V
    .registers 3

    .line 195
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->q(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)Landroid/view/View$OnLongClickListener;

    move-result-object p1

    if-eqz p1, :cond_17

    .line 196
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->q(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)Landroid/view/View$OnLongClickListener;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k$2;->a:Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;->b(Lcom/imo/android/imoim/feeds/ui/widget/photoview/k;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-interface {p1, v0}, Landroid/view/View$OnLongClickListener;->onLongClick(Landroid/view/View;)Z

    :cond_17
    return-void
.end method