b$1.smali
.class final Lcom/github/chrisbanes/photoview/b$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/github/chrisbanes/photoview/b;-><init>(Landroid/content/Context;Lcom/github/chrisbanes/photoview/c;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/github/chrisbanes/photoview/b;
# direct methods
.method constructor <init>(Lcom/github/chrisbanes/photoview/b;)V
.registers 2
.line 50
iput-object p1, p0, Lcom/github/chrisbanes/photoview/b$1;->a:Lcom/github/chrisbanes/photoview/b;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onScale(Landroid/view/ScaleGestureDetector;)Z
.registers 5
.line 54
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getScaleFactor()F
move-result v0
.line 56
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
move-result v1
if-nez v1, :cond_22
invoke-static {v0}, Ljava/lang/Float;->isInfinite(F)Z
move-result v1
if-eqz v1, :cond_11
goto :goto_22
.line 59
:cond_11
iget-object v1, p0, Lcom/github/chrisbanes/photoview/b$1;->a:Lcom/github/chrisbanes/photoview/b;
.line 1027
iget-object v1, v1, Lcom/github/chrisbanes/photoview/b;->c:Lcom/github/chrisbanes/photoview/c;
.line 60
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getFocusX()F
move-result v2
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getFocusY()F
move-result p1
.line 59
invoke-interface {v1, v0, v2, p1}, Lcom/github/chrisbanes/photoview/c;->a(FFF)V
const/4 p1, 0x1
return p1
:cond_22
:goto_22
const/4 p1, 0x0
return p1
.end method
.method public final onScaleBegin(Landroid/view/ScaleGestureDetector;)Z
.registers 2
const/4 p1, 0x1
return p1
.end method
.method public final onScaleEnd(Landroid/view/ScaleGestureDetector;)V
.registers 2
return-void
.end method