CropGestureDetector$1.smali

.class Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$1;
.super Ljava/lang/Object;
.source "CropGestureDetector.java"

# interfaces
.implements Landroid/view/ScaleGestureDetector$OnScaleGestureListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;-><init>(Landroid/content/Context;)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/crop/CropGestureDetector;


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;

    .line 43
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$1;->this$0:Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;

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

    return-void
.end method


# virtual methods
.method public onScale(Landroid/view/ScaleGestureDetector;)Z
    .registers 6
    .param p1, "detector"    # Landroid/view/ScaleGestureDetector;

    .line 47
    invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getScaleFactor()F

    move-result v0

    .line 49
    .local v0, "scaleFactor":F
    invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z

    move-result v1

    if-nez v1, :cond_24

    invoke-static {v0}, Ljava/lang/Float;->isInfinite(F)Z

    move-result v1

    if-eqz v1, :cond_11

    goto :goto_24

    .line 52
    :cond_11
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$1;->this$0:Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;

    # getter for: Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;->mListener:Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$CropGestureListener;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;->access$000(Lim/tpelyyftgw/ui/components/crop/CropGestureDetector;)Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$CropGestureListener;

    move-result-object v1

    .line 53
    invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getFocusX()F

    move-result v2

    invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getFocusY()F

    move-result v3

    .line 52
    invoke-interface {v1, v0, v2, v3}, Lim/tpelyyftgw/ui/components/crop/CropGestureDetector$CropGestureListener;->onScale(FFF)V

    .line 54
    const/4 v1, 0x1

    return v1

    .line 50
    :cond_24
    :goto_24
    const/4 v1, 0x0

    return v1
.end method

.method public onScaleBegin(Landroid/view/ScaleGestureDetector;)Z
    .registers 3
    .param p1, "detector"    # Landroid/view/ScaleGestureDetector;

    .line 59
    const/4 v0, 0x1

    return v0
.end method

.method public onScaleEnd(Landroid/view/ScaleGestureDetector;)V
    .registers 2
    .param p1, "detector"    # Landroid/view/ScaleGestureDetector;

    .line 65
    return-void
.end method