apkfuckery/com.discord/smali/e/g/g$a.smali

155 lines
3.1 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public Le/g/g$a;
2019-12-06 03:29:40 +00:00
.super Landroid/view/GestureDetector$SimpleOnGestureListener;
.source "GestureLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-04-27 20:53:11 +00:00
value = Le/g/g;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
2020-04-27 20:53:11 +00:00
.field public final synthetic d:Le/g/g;
2019-12-06 03:29:40 +00:00
# direct methods
2020-04-27 20:53:11 +00:00
.method public constructor <init>(Le/g/g;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V
return-void
.end method
# virtual methods
.method public onDoubleTap(Landroid/view/MotionEvent;)Z
.locals 4
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
move-result v1
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
move-result v2
int-to-float v2, v2
div-float/2addr v1, v2
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v2
2020-04-27 20:53:11 +00:00
iget-object v3, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getHeight()I
move-result v3
int-to-float v3, v3
div-float/2addr v2, v3
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v1, v2}, Le/g/g;->d(FF)V
2019-12-06 03:29:40 +00:00
invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onDoubleTap(Landroid/view/MotionEvent;)Z
move-result p1
return p1
.end method
.method public onLongPress(Landroid/view/MotionEvent;)V
.locals 3
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
move-result v1
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
move-result v2
int-to-float v2, v2
div-float/2addr v1, v2
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result p1
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getHeight()I
move-result v2
int-to-float v2, v2
div-float/2addr p1, v2
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v1, p1}, Le/g/g;->e(FF)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
.locals 4
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
move-result v1
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroid/widget/FrameLayout;->getWidth()I
move-result v2
int-to-float v2, v2
div-float/2addr v1, v2
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v2
2020-04-27 20:53:11 +00:00
iget-object v3, p0, Le/g/g$a;->d:Le/g/g;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3}, Landroid/widget/FrameLayout;->getHeight()I
move-result v3
int-to-float v3, v3
div-float/2addr v2, v3
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v1, v2}, Le/g/g;->g(FF)V
2019-12-06 03:29:40 +00:00
invoke-super {p0, p1}, Landroid/view/GestureDetector$SimpleOnGestureListener;->onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
move-result p1
return p1
.end method