PhotoView$g.smali

.class final Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;
.end annotation

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


# instance fields
.field a:Z

.field b:Landroid/widget/OverScroller;

.field c:Landroid/widget/OverScroller;

.field d:Landroid/widget/Scroller;

.field e:Landroid/widget/Scroller;

.field f:Landroid/widget/Scroller;

.field g:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$a;

.field h:I

.field i:I

.field j:I

.field k:I

.field l:Landroid/graphics/RectF;

.field m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

.field final synthetic n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)V
    .registers 5

    .line 1018
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

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

    .line 1014
    new-instance v0, Landroid/graphics/RectF;

    invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    .line 1016
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;-><init>(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;B)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    .line 1019
    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->getContext()Landroid/content/Context;

    move-result-object p1

    .line 1020
    new-instance v0, Landroid/widget/OverScroller;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    invoke-direct {v0, p1, v1}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    .line 1021
    new-instance v0, Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    invoke-direct {v0, p1, v1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d:Landroid/widget/Scroller;

    .line 1022
    new-instance v0, Landroid/widget/OverScroller;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    invoke-direct {v0, p1, v1}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    .line 1023
    new-instance v0, Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    invoke-direct {v0, p1, v1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->e:Landroid/widget/Scroller;

    .line 1024
    new-instance v0, Landroid/widget/Scroller;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->m:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$c;

    invoke-direct {v0, p1, v1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->f:Landroid/widget/Scroller;

    return-void
.end method

.method private c()V
    .registers 6

    .line 1195
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V

    .line 1196
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->C(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v1

    iget v1, v1, Landroid/graphics/RectF;->left:F

    neg-float v1, v1

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->C(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v2

    iget v2, v2, Landroid/graphics/RectF;->top:F

    neg-float v2, v2

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    .line 1197
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->x(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v1

    iget v1, v1, Landroid/graphics/PointF;->x:F

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->x(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v2

    iget v2, v2, Landroid/graphics/PointF;->y:F

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    .line 1198
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->D(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)F

    move-result v1

    neg-float v1, v1

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->E(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)F

    move-result v2

    neg-float v2, v2

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    .line 1199
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->c(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)F

    move-result v1

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->x(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v2

    iget v2, v2, Landroid/graphics/PointF;->x:F

    iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->x(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v3

    iget v3, v3, Landroid/graphics/PointF;->y:F

    invoke-virtual {v0, v1, v2, v3}, Landroid/graphics/Matrix;->postRotate(FFF)Z

    .line 1200
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)F

    move-result v1

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)F

    move-result v2

    iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->w(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v3

    iget v3, v3, Landroid/graphics/PointF;->x:F

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->w(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/PointF;

    move-result-object v4

    iget v4, v4, Landroid/graphics/PointF;->y:F

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Matrix;->postScale(FFFF)Z

    .line 1201
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->r(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v1

    int-to-float v1, v1

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->v(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    .line 1202
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->g(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)V

    return-void
.end method

.method private d()V
    .registers 2

    .line 1207
    iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->a:Z

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-virtual {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->post(Ljava/lang/Runnable;)Z

    :cond_9
    return-void
.end method


# virtual methods
.method final a()V
    .registers 2

    const/4 v0, 0x1

    .line 1083
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->a:Z

    .line 1084
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d()V

    return-void
.end method

.method final a(FF)V
    .registers 9

    .line 1038
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d:Landroid/widget/Scroller;

    const v1, 0x461c4000    # 10000.0f

    mul-float v2, p1, v1

    float-to-int v2, v2

    sub-float/2addr p2, p1

    mul-float p2, p2, v1

    float-to-int v3, p2

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->G(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v5

    const/4 p1, 0x0

    const/4 v4, 0x0

    move v1, v2

    move v2, p1

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    return-void
.end method

.method final a(FFFFILcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$a;)V
    .registers 13

    .line 1042
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->e:Landroid/widget/Scroller;

    const v1, 0x461c4000    # 10000.0f

    mul-float p1, p1, v1

    float-to-int p1, p1

    mul-float p2, p2, v1

    float-to-int v2, p2

    mul-float p3, p3, v1

    float-to-int v3, p3

    mul-float p4, p4, v1

    float-to-int v4, p4

    move v1, p1

    move v5, p5

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    .line 1043
    iput-object p6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->g:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$a;

    return-void
.end method

.method final a(II)V
    .registers 10

    const/4 v0, 0x0

    .line 1032
    iput v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->j:I

    .line 1033
    iput v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->k:I

    .line 1034
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->G(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v6

    const/4 v2, 0x0

    const/4 v3, 0x0

    move v4, p1

    move v5, p2

    invoke-virtual/range {v1 .. v6}, Landroid/widget/OverScroller;->startScroll(IIIII)V

    return-void
.end method

.method final b()V
    .registers 2

    .line 1088
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-virtual {v0, p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 1089
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->abortAnimation()V

    .line 1090
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->abortAnimation()V

    .line 1091
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->abortAnimation()V

    .line 1092
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->f:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->abortAnimation()V

    const/4 v0, 0x0

    .line 1093
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->a:Z

    return-void
.end method

.method final b(II)V
    .registers 9

    .line 1047
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->f:Landroid/widget/Scroller;

    sub-int v3, p2, p1

    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->G(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v5

    const/4 v2, 0x0

    const/4 v4, 0x0

    move v1, p1

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    return-void
.end method

.method public final run()V
    .registers 9

    .line 1103
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->computeScrollOffset()Z

    move-result v0

    const v1, 0x461c4000    # 10000.0f

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v0, :cond_1c

    .line 1104
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d:Landroid/widget/Scroller;

    invoke-virtual {v4}, Landroid/widget/Scroller;->getCurrX()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v1

    invoke-static {v0, v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->c(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;F)F

    const/4 v0, 0x0

    goto :goto_1d

    :cond_1c
    const/4 v0, 0x1

    .line 1108
    :goto_1d
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v4}, Landroid/widget/OverScroller;->computeScrollOffset()Z

    move-result v4

    if-eqz v4, :cond_5c

    .line 1109
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrX()I

    move-result v0

    iget v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->j:I

    sub-int/2addr v0, v4

    .line 1110
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v4}, Landroid/widget/OverScroller;->getCurrY()I

    move-result v4

    iget v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->k:I

    sub-int/2addr v4, v5

    .line 1111
    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v5}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->r(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v6

    add-int/2addr v6, v0

    invoke-static {v5, v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    .line 1112
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->v(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v5

    add-int/2addr v5, v4

    invoke-static {v0, v5}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    .line 1113
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrX()I

    move-result v0

    iput v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->j:I

    .line 1114
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->b:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrY()I

    move-result v0

    iput v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->k:I

    const/4 v0, 0x0

    .line 1118
    :cond_5c
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v4}, Landroid/widget/OverScroller;->computeScrollOffset()Z

    move-result v4

    if-eqz v4, :cond_9b

    .line 1119
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v0}, Landroid/widget/OverScroller;->getCurrX()I

    move-result v0

    iget v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->h:I

    sub-int/2addr v0, v4

    .line 1120
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v4}, Landroid/widget/OverScroller;->getCurrY()I

    move-result v4

    iget v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->i:I

    sub-int/2addr v4, v5

    .line 1122
    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v5}, Landroid/widget/OverScroller;->getCurrX()I

    move-result v5

    iput v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->h:I

    .line 1123
    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c:Landroid/widget/OverScroller;

    invoke-virtual {v5}, Landroid/widget/OverScroller;->getCurrY()I

    move-result v5

    iput v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->i:I

    .line 1125
    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v5}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->r(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v6

    add-int/2addr v6, v0

    invoke-static {v5, v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    .line 1126
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->v(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v5

    add-int/2addr v5, v4

    invoke-static {v0, v5}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    const/4 v0, 0x0

    .line 1130
    :cond_9b
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->f:Landroid/widget/Scroller;

    invoke-virtual {v4}, Landroid/widget/Scroller;->computeScrollOffset()Z

    move-result v4

    if-eqz v4, :cond_b0

    .line 1131
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->f:Landroid/widget/Scroller;

    invoke-virtual {v4}, Landroid/widget/Scroller;->getCurrX()I

    move-result v4

    int-to-float v4, v4

    invoke-static {v0, v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;F)F

    const/4 v0, 0x0

    .line 1135
    :cond_b0
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->e:Landroid/widget/Scroller;

    invoke-virtual {v4}, Landroid/widget/Scroller;->computeScrollOffset()Z

    move-result v4

    if-nez v4, :cond_c0

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->I(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    if-eqz v4, :cond_145

    .line 1136
    :cond_c0
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->e:Landroid/widget/Scroller;

    invoke-virtual {v4}, Landroid/widget/Scroller;->getCurrX()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v1

    .line 1137
    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->e:Landroid/widget/Scroller;

    invoke-virtual {v5}, Landroid/widget/Scroller;->getCurrY()I

    move-result v5

    int-to-float v5, v5

    div-float/2addr v5, v1

    .line 1138
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->B(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v1

    iget-object v6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v6

    iget v6, v6, Landroid/graphics/RectF;->left:F

    iget-object v7, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v7}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v7

    iget v7, v7, Landroid/graphics/RectF;->right:F

    add-float/2addr v6, v7

    const/high16 v7, 0x40000000    # 2.0f

    div-float/2addr v6, v7

    iget-object v7, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->g:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$a;

    invoke-interface {v7}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$a;->a()F

    move-result v7

    invoke-virtual {v1, v4, v5, v6, v7}, Landroid/graphics/Matrix;->setScale(FFFF)V

    .line 1139
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->B(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/Matrix;

    move-result-object v1

    iget-object v6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    iget-object v7, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v7}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v7

    invoke-virtual {v1, v6, v7}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;Landroid/graphics/RectF;)Z

    const/high16 v1, 0x3f800000    # 1.0f

    cmpl-float v4, v4, v1

    if-nez v4, :cond_122

    .line 1142
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    iget-object v6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v6

    iget v6, v6, Landroid/graphics/RectF;->left:F

    iput v6, v4, Landroid/graphics/RectF;->left:F

    .line 1143
    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    iget-object v6, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v6}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v6

    iget v6, v6, Landroid/graphics/RectF;->right:F

    iput v6, v4, Landroid/graphics/RectF;->right:F

    :cond_122
    cmpl-float v1, v5, v1

    if-nez v1, :cond_13e

    .line 1147
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    iget v4, v4, Landroid/graphics/RectF;->top:F

    iput v4, v1, Landroid/graphics/RectF;->top:F

    .line 1148
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    iget v4, v4, Landroid/graphics/RectF;->bottom:F

    iput v4, v1, Landroid/graphics/RectF;->bottom:F

    .line 1151
    :cond_13e
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->l:Landroid/graphics/RectF;

    invoke-static {v1, v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;Landroid/graphics/RectF;)Landroid/graphics/RectF;

    :cond_145
    if-nez v0, :cond_14e

    .line 1155
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c()V

    .line 1156
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->d()V

    return-void

    .line 1158
    :cond_14e
    iput-boolean v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->a:Z

    .line 1163
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->m(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1af

    .line 1164
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v0

    iget v0, v0, Landroid/graphics/RectF;->left:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_17a

    .line 1165
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->r(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v3

    int-to-float v3, v3

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    iget v4, v4, Landroid/graphics/RectF;->left:F

    sub-float/2addr v3, v4

    float-to-int v3, v3

    invoke-static {v0, v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    goto :goto_1ae

    .line 1166
    :cond_17a
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v0

    iget v0, v0, Landroid/graphics/RectF;->right:F

    iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/RectF;->width()F

    move-result v3

    cmpg-float v0, v0, v3

    if-gez v0, :cond_1ae

    .line 1167
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->r(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v3

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    invoke-virtual {v4}, Landroid/graphics/RectF;->width()F

    move-result v4

    iget-object v5, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v5}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v5

    iget v5, v5, Landroid/graphics/RectF;->right:F

    sub-float/2addr v4, v5

    float-to-int v4, v4

    sub-int/2addr v3, v4

    invoke-static {v0, v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->a(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    :cond_1ae
    :goto_1ae
    const/4 v3, 0x1

    .line 1172
    :cond_1af
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->n(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Z

    move-result v0

    if-eqz v0, :cond_20d

    .line 1173
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v0

    iget v0, v0, Landroid/graphics/RectF;->top:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_1d8

    .line 1174
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->v(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v1

    int-to-float v1, v1

    iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v3

    iget v3, v3, Landroid/graphics/RectF;->top:F

    sub-float/2addr v1, v3

    float-to-int v1, v1

    invoke-static {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    goto :goto_20e

    .line 1175
    :cond_1d8
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v0

    iget v0, v0, Landroid/graphics/RectF;->bottom:F

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v1

    invoke-virtual {v1}, Landroid/graphics/RectF;->height()F

    move-result v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_20e

    .line 1176
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->v(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)I

    move-result v1

    iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v3}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->q(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/RectF;->height()F

    move-result v3

    iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v4}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->p(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Landroid/graphics/RectF;

    move-result-object v4

    iget v4, v4, Landroid/graphics/RectF;->bottom:F

    sub-float/2addr v3, v4

    float-to-int v3, v3

    sub-int/2addr v1, v3

    invoke-static {v0, v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;I)I

    goto :goto_20e

    :cond_20d
    move v2, v3

    :cond_20e
    :goto_20e
    if-eqz v2, :cond_213

    .line 1182
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->c()V

    .line 1185
    :cond_213
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->invalidate()V

    .line 1187
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->J(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Ljava/lang/Runnable;

    move-result-object v0

    if-eqz v0, :cond_22e

    .line 1188
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->J(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Ljava/lang/Runnable;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    .line 1189
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView$g;->n:Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;->K(Lcom/imo/android/imoim/feeds/ui/user/profile/picture/library/PhotoView;)Ljava/lang/Runnable;

    :cond_22e
    return-void
.end method