apkfuckery/com.discord/smali/com/camerakit/c$2.smali

88 lines
1.7 KiB
Smali
Raw Normal View History

2019-10-03 02:31:26 +00:00
.class final Lcom/camerakit/c$2;
.super Ljava/lang/Object;
.source "GestureLayout.java"
# interfaces
.implements Landroid/view/ScaleGestureDetector$OnScaleGestureListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/camerakit/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
2019-10-11 21:55:41 +00:00
.field final synthetic oo:Lcom/camerakit/c;
2019-10-03 02:31:26 +00:00
# direct methods
.method constructor <init>(Lcom/camerakit/c;)V
.locals 0
2019-10-11 21:55:41 +00:00
iput-object p1, p0, Lcom/camerakit/c$2;->oo:Lcom/camerakit/c;
2019-10-03 02:31:26 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onScale(Landroid/view/ScaleGestureDetector;)Z
.locals 2
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getCurrentSpanX()F
move-result v0
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getPreviousSpanX()F
move-result v1
sub-float/2addr v0, v1
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getCurrentSpanY()F
move-result v1
invoke-virtual {p1}, Landroid/view/ScaleGestureDetector;->getPreviousSpanY()F
move-result p1
sub-float/2addr v1, p1
mul-float v0, v0, v0
mul-float v1, v1, v1
add-float/2addr v0, v1
float-to-double v0, v0
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
const/4 p1, 0x1
return p1
.end method
.method public final onScaleBegin(Landroid/view/ScaleGestureDetector;)Z
.locals 0
const/4 p1, 0x1
return p1
.end method
.method public final onScaleEnd(Landroid/view/ScaleGestureDetector;)V
.locals 0
return-void
.end method